fix(telemetry): name the deliberate hold before a reply lands #656
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!656
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/name-the-deliberate-hold-claude"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #652
The nine seconds are not missing work. They are a sleep.
turnProgressEveryis 10 seconds, andsettleDelayreturnsbeat - (elapsed % beat). The 9.02s in your trace is that remainder. The constant states the reason:So the gap was a decision, and nothing in the trace said so. That is the whole defect — three investigations this week read that region and inferred what was in it.
A span, not an event
The point is the duration, and an event carries no bar in a timeline.
turn.progress.settlewraps the wait withhold_msandbeat_ms, so a reader sees both what was waited and what grid it was waiting for.It is skipped when the hold is zero, so a turn that lands on the beat gains nothing to read rather than a zero-width span.
I predicted the wrong cause
I recorded on the issue that I expected slow Discord REST calls with no spans around them, and named
reactandsettleFromContextas the suspects. It is neither. Worth stating because that prior would have produced a fix instrumenting three functions that are fast, and left the gap exactly where it was — a plausible change with a green gate and no effect, which is the shape #343 taught me to check for.Tests cover the hold, the zero-hold skip, that the span context still carries the turn's progress handle, and that a turn with no progress reports no hold rather than panicking.
ward exec gategreen.