Skip to content

ci - poc to use ddci on-demand for end-to-end test in feature branch - #54946

Draft
NielkSalocin wants to merge 1 commit into
mainfrom
nklein/test-dynamicbuild-ddci-ondemand
Draft

ci - poc to use ddci on-demand for end-to-end test in feature branch#54946
NielkSalocin wants to merge 1 commit into
mainfrom
nklein/test-dynamicbuild-ddci-ondemand

Conversation

@NielkSalocin

Copy link
Copy Markdown
Contributor

What does this PR do?

Motivation

Describe how you validated your changes

Additional Notes

@github-actions

Copy link
Copy Markdown
Contributor

@codex review

@dd-octo-sts dd-octo-sts Bot added internal Identify a non-fork PR team/agent-devx labels Aug 17, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label Aug 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 40acef6b29

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,8 @@
trigger:
stage: .pre
include: .gitlab-ci.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Nest the downstream trigger configuration

GitLab treats the top-level trigger as the job name, so include is currently parsed as an unsupported job keyword and every on-demand invocation fails CI configuration validation before any E2E test starts. Nest include under a second trigger: key, following the working child-pipeline shape in .gitlab/deploy/trigger_distribution.yml:8-12.

Useful? React with 👍 / 👎.

@@ -0,0 +1,8 @@
trigger:
stage: .pre
include: .gitlab-ci.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Propagate downstream E2E failures

After nesting this as a valid downstream trigger, omitting strategy: depend or strategy: mirror makes the on-demand job succeed as soon as the child pipeline is created, so DDCI can report a green result while the requested E2E suite later fails. Add a waiting strategy to the nested trigger; the repository documents this exact default behavior in .gitlab/test/functional_test/regression_detector.yml:216-220 and uses strategy: depend where the parent must reflect the child result.

Useful? React with 👍 / 👎.

@dd-octo-sts

dd-octo-sts Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Files inventory check summary

File checks results against ancestor fec92d8c:

Results for datadog-agent_7.84.0~devel.git.219.40acef6.pipeline.131263260-1_amd64.deb:

No change detected

Results for datadog-iot-agent_7.84.0~devel.git.219.40acef6.pipeline.131263260-1_amd64.deb:

No change detected

@NielkSalocin

Copy link
Copy Markdown
Contributor Author

/gitlab trigger-ci -v DYNAMIC_BUILD_RENDER_RULES=end-to-end

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Aug 17, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-08-17 08:59:06 UTC ℹ️ Start processing command /gitlab trigger-ci -v DYNAMIC_BUILD_RENDER_RULES=end-to-end


2026-08-17 09:00:23 UTC ℹ️ Gitlab pipeline started

Started pipeline #131276560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes:datadog-agent-ci internal Identify a non-fork PR short review PR is simple enough to be reviewed quickly team/agent-devx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant