[prime-time] Saga engine telemetry spans#76
Conversation
|
[PHASE: IMPL] [SLICE: S1] Implemented S1 — seam shape extension + engine instrumentation field. Commit
Scope
Gates
Next: S2 engine |
|
[PHASE: IMPL] [SLICE: S2] Implemented S2 — engine Commit
Scope
Gates
Next: S3 instrumentation threading through |
|
[PHASE: IMPL] [SLICE: S3] Implemented S3 — instrumentation threading through native runtime and bridge composition. Commit
Scope
Gates
Next: S4 OTel-backed saga tracer adapter and |
|
[PHASE: IMPL] [SLICE: S4] Implemented S4 — OTel-backed saga telemetry adapter and composition-root injection. Commit
Scope
Gates
Next: S5 API publish trace-linkage integration and failure-path test, then final gate set. |
Implementation progress: S5 publish linkage + evidence closeoutPushed final slice commits to
Final gate evidence is recorded under |
Slice complete:
|
| Gate | Result |
|---|---|
deno run --allow-read --allow-run .llm/tools/run-deno-check.ts --root packages/plugin-sagas-core --root plugins/sagas --ext ts |
PASS, 148 files, 0 findings |
deno run --allow-read --allow-run .llm/tools/run-deno-lint.ts --root packages/plugin-sagas-core --root plugins/sagas --ext ts |
PASS, 148 files, 0 findings |
deno run --allow-read --allow-run .llm/tools/run-deno-fmt.ts --root packages/plugin-sagas-core --root plugins/sagas --ext ts |
PASS, 148 files, 0 findings |
deno test --unstable-kv --allow-all packages/plugin-sagas-core/tests/telemetry packages/plugin-sagas-core/tests/runtime plugins/sagas/tests/telemetry |
PASS, 21 passed, 0 failed |
(cd packages/plugin-sagas-core && deno task publish:dry-run) |
PASS |
(cd packages/plugin-sagas-core && deno doc --lint src/telemetry/mod.ts) |
PASS |
deno run --allow-read --allow-run --allow-env .llm/tools/fitness/audit-jsr-package.ts --root packages/plugin-sagas-core --text |
PASS, exit 0, warnings only |
deno run --allow-read .llm/tools/fitness/check-doctrine.ts --root packages/plugin-sagas-core --text |
PASS, 0 FAIL, warnings only |
deno run --allow-read .llm/tools/fitness/check-doctrine.ts --root plugins/sagas --text |
PASS, 0 FAIL, warnings only |
Raw root deno task arch:check still reports pre-existing repo-wide doctrine debt outside this slice. I recorded that drift in .llm/tmp/run/feat-prime-time-sagas-telemetry-spans--impl/drift.md; scoped doctrine checks for the touched sagas roots are zero-FAIL.
No lock churn is retained. The expensive deno task e2e:cli gate was not run because this slice plan did not request it for implementation.
…s; hold #75/#76 for post-#74 rebase Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018fq9V7ujx7e1rWXi57qkPG
Durable KvSagaStore over Deno.Kv + createDurableSagaRuntime default wiring; store-less warn seam. IMPL-EVAL PASS (42 tests). Foundation slice — unblocks #75/#76 rebase + Track-3 Prisma store. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018fq9V7ujx7e1rWXi57qkPG
|
Supervisor update — rebasing onto the merged umbrella
|
e0ce950 to
8ec18cc
Compare
|
@openhands-agent model=openrouter/qwen/qwen3.7-max output=pr-comment Act as the IMPL-EVAL evaluator (separate session from the generator) for harness run Read first, in order:
This slice was just rebased onto the merged umbrella
Re-run the slice gate set yourself and record verdict evidence: scoped check/lint/fmt for the touched roots ( Emit one verdict — Lock hygiene: do NOT commit |
OpenHands Agent — CompletedModel: openrouter/qwen/qwen3.7-max Run SummarySummaryEvaluator session for harness run ChangesNo code changes were made in this session. The following artifacts were read:
ValidationRan the following verification gates: Tests (23 passed, 0 failed):
Static checks:
Manual inspection:
Remaining RisksTask is incomplete:
Work remaining:
Run: https://github.com/rickylabs/netscript/actions/runs/27859225769 |
Author the Prisma durable SagaStorePort backend-parity slice plan grounded on the merged #74 seam: formal research (post-#74 contract/seam/schema/db-client reads), plan.md (ARCHETYPE-2+5, dedicated durable tables, backward-compatible backend-select + dispose() seam refactor, env/appsettings/CLI selection, e2e-cli-gate), and plan-meta.json. Also record main-red root cause (stale nativeRetrial assertion), #75/#76 rebase+IMPL-EVAL dispatch, and e2e gate green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018fq9V7ujx7e1rWXi57qkPG
8614dba to
8084084
Compare
|
@openhands-agent model=openrouter/qwen/qwen3.7-max output=pr-comment iterations=400 use harness — run IMPL-EVAL for the This branch was just rebased onto the live umbrella Your prior IMPL-EVAL produced no |
OpenHands Agent — CompletedModel: openrouter/qwen/qwen3.7-max IMPL-EVAL Run Summary: sagas-telemetry-spansSummaryPerformed IMPL-EVAL evaluation of the Verdict: PASS ChangesFiles Examined
Files Written
ValidationStatic Gates Executed
Integration VerificationExamined the critical integration between the applied-key idempotency guard (#75) and the telemetry spans (this slice) in Verified ordering (lines 213-333):
Correctness guarantees verified:
Remaining RisksNone material. All mitigations from plan-meta.json held:
All architecture decisions honored, no new debt introduced, all gates pass. Run: https://github.com/rickylabs/netscript/actions/runs/27860143991 |
…ed+re-eval, Track-3 PLAN-EVAL PASS - #75 merged into umbrella at 9b3bde4 (IMPL-EVAL PASS, 46 tests, clean lock) - #76 telemetry re-rebased onto live umbrella (tip 8084084, idempotency+spans integrated); IMPL-EVAL re-dispatched - #77 auth re-rebased onto live umbrella (tip 2e90fa5, +#78 graceful-shutdown); IMPL-EVAL re-dispatched (prior PASS was stale base) - Track-3 sagas-prisma-store PLAN-EVAL PASS (run 27859602970); generator HELD until blocker batch closes - recorded full codex thread->worktree map + steer-launch landmine Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018fq9V7ujx7e1rWXi57qkPG
…d; Track-3 brief All 7 Wave-A blocker slices merged into the umbrella. #76 telemetry (47e6cd4) + #77 auth-seam (79f5840), both IMPL-EVAL PASS (committed evaluate.md), clean merges, no lock churn, combined umbrella type-checks clean. Track-3 sagas-prisma-store generator brief committed; launch now unblocked. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018fq9V7ujx7e1rWXi57qkPG
|
Supervisor — IMPL-EVAL PASS, merged into umbrella ✅ IMPL-EVAL (OpenHands qwen3.7-max, run |
Blocker slice
sagas-telemetry-spansFramework prime-time blocker batch — sub-PR into the umbrella
feat/framework-prime-time(#73)..llm/tmp/run/feat-framework-prime-time--supervisor/slices/sagas-telemetry-spans/(research.md,plan.md,plan-meta.json)..llm/tmp/run/feat-framework-prime-time--supervisor/slices/sagas-telemetry-spans/implement-brief.md.Draft until the implementation agent reports complete and gates are green.