Skip to content

[synthetics] Add batch ID to BatchTimeoutRunawayError (SYNTH-25024)#2136

Merged
AntoineDona merged 1 commit intomasterfrom
antoine.donascimento/SYNTH-25024/add-batch-id-to-timeout-runaway-error
Mar 2, 2026
Merged

[synthetics] Add batch ID to BatchTimeoutRunawayError (SYNTH-25024)#2136
AntoineDona merged 1 commit intomasterfrom
antoine.donascimento/SYNTH-25024/add-batch-id-to-timeout-runaway-error

Conversation

@AntoineDona
Copy link
Contributor

@AntoineDona AntoineDona commented Mar 2, 2026

What and why?

When a synthetics batch hits a timeout runaway error, the BatchTimeoutRunawayError didn't include the batch ID, making it difficult to debug in the synthetics-batch-smoke-tester.

How?

  • Added an optional batchId property to BatchTimeoutRunawayError and appended it to the error message
  • Passed the batchId when throwing the error from the polling loop

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AntoineDona AntoineDona force-pushed the antoine.donascimento/SYNTH-25024/add-batch-id-to-timeout-runaway-error branch from bd003c4 to 98e3235 Compare March 2, 2026 10:24
@AntoineDona AntoineDona added the synthetics Related to [synthetics] label Mar 2, 2026
@AntoineDona AntoineDona marked this pull request as ready for review March 2, 2026 10:31
@AntoineDona AntoineDona requested review from a team as code owners March 2, 2026 10:31
@AntoineDona AntoineDona merged commit 265c6eb into master Mar 2, 2026
26 of 27 checks passed
@AntoineDona AntoineDona deleted the antoine.donascimento/SYNTH-25024/add-batch-id-to-timeout-runaway-error branch March 2, 2026 13:34
@vishal-joshi-datadog vishal-joshi-datadog mentioned this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

synthetics Related to [synthetics]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants