Repository navigation
Commit 5f782e8
fix(observability): mark BuildUpdate as sent so it emits once per run, not per test/hook [SDK-6574]
The one-shot guard `if(!this.haveSentBuildUpdate && ...)` never flipped
`haveSentBuildUpdate`, so the BuildUpdate event (a byte-identical, build-level
`observability_version` payload) re-fired on every test/hook event — hundreds to
thousands of identical events per build. Set the flag right after the event is
sent so it is emitted once per reporter instance. Complements consumer-side
dedupe TRAP-4033.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0ff7157 commit 5f782e8
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
0 commit comments