Repository navigation
feat(tracing): the host leaves the records a Java or Rust callee leaves, so a span lineage is continuous into the pack - #120
Merged
Conversation
…es, so a span lineage is continuous into the pack The twin of mercury-python #53. A live drive of the engines' agent loop through both packs found the pack legs absent from the trace. Now a traced call at /api/event leaves http.request (the edge's round trip, under the caller's span), event.api.service and the function's round-trip record with the responder's span; a reply carries the responder's span and the PostOffice records a local RPC round trip as an engine inbox does. Re-driven: 20 records per run, every parent owned by a record. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
acn-ericlaw
added a commit
that referenced
this pull request
Nov 14, 2026
…ller, recorded as landed Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
What
The twin of mercury-python #53. A traced call arriving at
/api/eventnow leaves the records a Java or Rust calleeleaves for the same call:
http.request(POST /api/event, the edge's round trip, parented onto the caller's span - theenvelope's span, else the
traceparentheader's; the backend's SERVER span),event.api.service(the ingress, parentedonto the edge) and, for an RPC, the function's round-trip record with the responder's span and
round_trip, parented ontothe service. The relayed envelope carries the service's span, so a drop-n-forget or streaming function parents onto it; a
refusal (403, 404), a timeout (408) and an in-band stream failure leave the edge record with that status; an untraced call
records nothing. A reply carries the responder's span (
WorkerHandlerparity), and thePostOfficerecords a traced localRPC round trip the way an engine inbox does. The two tests that pinned "RPC legs emit no dataset" now pin the engines' rule,
and a new test pins the wire RPC's three records, the span on the reply, the refusal's edge record and the silence of an
untraced call. The guide states who emits which record; CHANGELOG Unreleased Changed 4; the MCP binding's README gains a
Tracing paragraph.
npm test: 457 tests, 393 passed, 64 skipped.Why
Eric's criterion for an OpenTelemetry certification: the span lineage must be continuous end to end. The live drive of the
agent loop through this pack's helper and MCP binding found every engine record chained and the pack legs absent: the
engine's HTTP client leg is in
skip.rpc.tracingby default and this host suppressed its own record for every RPC-servedexecution. Re-driven with this change: 20 records per run, every parent owned by a record. The record is the engines'
docs/test-reports/agent-loop-trace-lineage.md.🤖 Generated with Claude Code
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com