Repository navigation
Add endpoint tracing primitives and immutable creation-context helpers - #94
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
@codex review |
|
Review of PR 94 (tracing primitives) The design follows D15/D25 well: one ActivitySource named Relayer, a startup-precomputed span name and constant tags, and a no-op when no listener is attached. I checked the diff against AGENTS.md. My concerns are below. Blocking
Should fix (per-message cost with a listener)
Minor
Tests and benchmark are present, and the WriteCreationContext refactor keeps the existing envelope behavior. Please address item 1, and fix items 2 and 3 or record them as follow-up issues in the PR, per AGENTS.md. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Review of PR 94 at head e44ba4c (tracing primitives) Earlier findings are partly addressed. The argument checks in Blocking: allocations that AGENTS.md forbids (still unaddressed from the prior review)
Non-blocking
Per AGENTS.md, a benchmark with |
|
Disposition of Claude's review, addressed in e44ba4c:
Validation: Release build passed with zero warnings; 332 tests passed, including 36 tracing cases; win-x64 Native AOT publish and smoke execution passed. Nine of the 12 new regression cases failed before the fixes. Per-message cost of this revision: constant-time batch validation, 0 B; fallback/error isolation adds no successful-path allocation. The no-listener allocation regression still reports 0 B. Current evidence and SHA-256 inventory are linked in the PR body. The draft stays in review for this new head. |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Review of PR 94 (tracing primitives) I read the tracing code against AGENTS.md and found nothing that should block merge.
Non-blocking suggestions:
|
|
Disposition of Claude's current-head review, addressed in 0856989:
Release build: 0 warnings/errors. Tests: 339 passed, including 43 tracing cases. Native AOT publish and smoke passed. Final benchmark comparisons, raw evidence, provenance and the verified 809-file SHA-256 inventory are linked in the PR body. #96 is now included in this draft and will close on merge. Fresh reviews are required for this head; the draft remains in review. |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Disposition of the optional suggestions in Claude's CLEAR review for 0856989:
The PR remains a draft while the requested Codex review completes for this head. |
|
Both required reviewers approve head 0856989: Claude's CLEAR verdict is in #94 (comment) and Codex's completed summary is in #94 (comment). All review surfaces have been checked; there are no review threads, and the optional suggestions already have dispositions. Before promotion, I reverified all 809 files in Promoting and arming this reviewed head with |
Adds the shared tracing foundation for #13: a provider-owned
RelayerActivitySource with schema 1.37.0, precomputed endpoint operations, parent/link rules, recorded-only enrichment, and immutable W3C creation-context helpers. Reuses the existing envelope formatter. Includes listener tests, MemoryDiagnoser benchmarks, documentation, and Native AOT smoke coverage.Batch validation runs independently of listeners and existing creation contexts. Missing error types use
_OTHER. Enricher failures cannot interrupt delivery or leave an undisposed current activity; later enrichers still run.Telemetry()documents provider ownership and recommends one production provider.Sampling receives the design §8.3 attributes, partition ID, and all creation links. Constant tags are passed directly; per-operation scratch storage reuses partition tags and links, with references cleared after
StartActivityconsumes them. Other message attributes are added only when all activity data is requested. UTF-8 traceparent parsing uses stack storage and immutable SearchValues validation while preserving the framework parser's version, flag, validation and remote-context behavior. Headers remain unchanged. The small no-listener entry point stays separate from enabled tracing.Automatic send instrumentation remains in #92; process and settlement integration remains in #93. Outbox integration remains in #36. The parent issue stays open. The allocation follow-up from #96 is included here.
Validation for
085698951b5461e09f4f3b2b102cb12fe236f95a:Validation evidence is outside removable worktrees at
C:/git/Relayer-evidence/pr-94/085698951b5461e09f4f3b2b102cb12fe236f95a/(local 7-day retention). Its 809 inventoried files were SHA-256 verified against originals and rechecked againstsha256-inventory.json. It includes raw build/test/AOT logs, test reports and loaded test binaries, Native AOT binaries, baseline/candidate benchmark sources, reports and binaries, framework inspection evidence, and the committed source archive.comparison/PROVENANCE.mddistinguishes the rejected intermediate scalar parser from final measurements and records the pre-commit build metadata.Closes #91
Closes #96