Skip to content

Add monitor IDs to deployment rules - #4285

Open
api-clients-generation-pipeline[bot] wants to merge 1 commit into
masterfrom
datadog-api-spec/generated/6522
Open

Add monitor IDs to deployment rules#4285
api-clients-generation-pipeline[bot] wants to merge 1 commit into
masterfrom
datadog-api-spec/generated/6522

Conversation

@api-clients-generation-pipeline

Copy link
Copy Markdown
Contributor

@api-clients-generation-pipeline api-clients-generation-pipeline Bot added the changelog/Added Added features results into a minor version bump label Sep 4, 2026
@dd-prapprover-prod-77c48c

dd-prapprover-prod-77c48c Bot commented Sep 4, 2026

Copy link
Copy Markdown

PRApprover will approve and merge this PR, FAQ, #dx-source-code-management

🛠️ PRApproval Status

  • ✅ PR is eligible for auto-approval by rule datadog-api-spec-generated-clients - 2026-09-04T12:11:26Z
  • ⬜ CI tests passed
  • ⬜ Approved
  • Manual merge required: this rule does not auto-merge.

➡️ Current phase: CI tests failed. Please fix the failing tests and rerun the workflow, click Workflow Link -> Workflow Starter Link -> Start Workflow

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Sep 4, 2026

Copy link
Copy Markdown

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 1 Pipeline job failed

Run Tests | test / test (16, ubuntu-latest) — 🔧 Needs a code fix, caused by this PR

View more details · View in GitHub Actions

15 failed tests. Error: 404 Recording not found for monitor deployment rule requests.

📋 Copy fix prompt
CI on my pull request is failing. Help me find and fix the root cause of each failing job below — they were flagged as caused by changes in this PR, so focus on the diff. For each job, explain the failure and propose a fix.

Before you start, set up the Datadog software-delivery tooling so you can
query the CI data yourself:

1. Check whether you already have the Datadog software-delivery MCP tools
   (e.g. a `search_datadog_ci_pipeline_events` tool) and the `unblock-pr` skill.
2. If either is missing, STOP and ask me for permission before installing
   anything. Do not install or run anything until I have said yes.
3. Only with my explicit approval, set up the Datadog software-delivery MCP
   server and skills by following:
     https://docs.datadoghq.com/getting_started/software_delivery_mcp_tools/
   then restart so the skill is picked up.
4. If I decline, skip all of the above and work from the context below alone.

Then run /unblock-pr — it will pull the CI data itself. The job context below is what we already know.

If /unblock-pr is not available — because I declined the setup above, or it did not install — work from the context below instead.

Datadog has already classified this failure as caused by changes in this PR.
Take that as given and work the fix:

1. Locate the change. Diff this branch against its base and find the change
   that produces this error. Explain the mechanism, don't just name a file:
     git fetch origin && git diff $(git merge-base origin/master HEAD)...HEAD
2. Reproduce it locally. Run the failing job's command or test before
   proposing anything.
3. Propose the smallest fix that addresses the root cause — not a workaround,
   not a broadened assertion, not a disabled or skipped test.
4. Re-run the same command to confirm, and say exactly what you ran.
5. If the failure turns out to be intermittent rather than deterministic, say
   so plainly instead of "fixing" it — that is a flaky test, and patching it
   hides the problem.

If the right move is to re-run the job rather than change code, use the job
link in the context below. For GitHub Actions: `gh run rerun <run-id> --failed`,
where the run ID is the number after `/runs/` in that URL (not the trailing
number, which is the job ID).

Branch: datadog-api-spec/generated/6522

Run Tests | test / test (16, ubuntu-latest)
Commit: c608f6cb21ec591250554e38bce9e781ea95755a
Error (code / test):
15 failed tests. Error: 404 Recording not found for monitor deployment rule requests.
CI job: https://github.com/DataDog/datadog-api-client-java/actions/runs/33871494939/job/101018298601

🧪 3 Tests failed in 1 job

Run Tests | test — ❌ 3 tests failed

View more details · View in GitHub Actions

↳ ❌ Create monitor deployment rule with monitor IDs returns "OK" response from classpath:com/datadog/api/client/v2/api/deployment_gates.feature:Deployment Gates   View in Datadog

↳ ❌ Create monitor deployment rule with query and monitor IDs returns "Bad Request" response from classpath:com/datadog/api/client/v2/api/deployment_gates.feature:Deployment Gates   View in Datadog

↳ ❌ Create monitor deployment rule with query returns "OK" response from classpath:com/datadog/api/client/v2/api/deployment_gates.feature:Deployment Gates   View in Datadog

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🔄 Datadog retried 3 tests - 0 passed on retry View in Datadog

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 0badd2e | Docs | View more details | Give us feedback!

@api-clients-generation-pipeline
api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/6522 branch from d963ba7 to 0badd2e Compare September 4, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/Added Added features results into a minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants