Commit 518a61f
OB-10135: propagate automate build id on observability buildStop
Cache the automate build hashed_id at build-create time and include it
as `automate_build_id` on the observability-api buildStop payload
(`PUT /api/v1/builds/:id/stop`). Lets obs-api persist the mapping so
the synergy dashboard can call the railsApp resource-errors endpoint
in the automate id-space directly (removing the OB-9830 reverse-lookup
shim once end-to-end coverage is verified).
Only fires when `isTestObservabilitySession` is true, so non-o11y runs
are unaffected. Payload change is additive; obs-api ingest accepts the
new field via a typed `automate_build_id` on `BuildStopParams`.
Spec: https://browserstack.atlassian.net/wiki/spaces/ENG/pages/6322258049/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0dbede3 commit 518a61f
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
343 | 348 | | |
344 | 349 | | |
345 | 350 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
688 | 693 | | |
689 | 694 | | |
690 | 695 | | |
| |||
0 commit comments