fix(telemetry,workers): canonical netscript.* correlation/outcome floor on Flow-B product spans#626
Merged
Merged
Conversation
4 tasks
rickylabs
marked this pull request as ready for review
July 11, 2026 12:38
This was referenced Jul 11, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #599
Summary
Implements the four #599 acceptance boxes (product gaps found by the T8 Flow-B merge gate, PR #598):
traceJobExecution()now emits canonicalnetscript.outcomeat running/completed/failed transitions (legacyjob.statusretained).netscript.correlation.id(event id) +netscript.outcome; queue enqueue/dequeue spans emit the pair from the message envelope'scorrelationId(TC-6/TC-7 floor).processWorkerJob()→executeWorkerJob()→executeDenoJob()threadcorrelationIdinto the rebuilt in-processJobMessage, so the callback handler inherits the product span's correlation value.validate-flow-b-traces.tscorrelatedSpansnow covers ingress/process/enqueue/dequeue/execute/callback-boundary/fan-in, with the canonical outcome asserted on the full set and single-correlation-id equality across all seven.No new public API; values added to existing attribute maps only. No
deno.lockchurn.Lane + evidence
WSL Codex slice (thread
019f5117-bcd2…, worktreens-wt-599) under the beta-7 orchestrator (df71d36c); worklog committed at.llm/runs/fix-599-flowb-attribute-floor--codex/worklog.md. Scoped check/lint 335 files 0 findings; telemetry 50/0, workers 24/0 tests. Standalonebehavior.otel.tracescannot run without a live prepared runtime (worklog drift D2) — this PR's CI scaffold-runtime job is the live T8 verdict.