feat(observer): expose typed workflow events - #1111
Conversation
0ba1e9d to
78254c2
Compare
78254c2 to
5fdd552
Compare
|
Review follow-up: the dependency contract now emits durable-mutation evidence after the schema/table cutover becomes externally visible, independent of copied-row totals. Terminal observer callbacks are also panic-isolated so caller-owned terminal accounting can still run. The focused race suites, affected package tests, lint, build, and all repository checks pass at eff242d. Strata #324 consumes this contract and remains ordered behind this PR. |
|
🤖 Adversarial correctness review, requested by Armand and performed by his agent. Reviewed at head Verdict: no fix-before-merge findings. I tried to break stage balance, event ordering, the durable-mutation emission point, and the move runner's terminal-ownership flags, and couldn't. Focused suites ( Small, worth doing here
1. Say which runner emits which terminal evidence. A consumer reading 2. Best-effort outcome classification under concurrent cancellation. The Follow-up, not blockingThree smaller items
Verified solid
This review was generated by Claude Code (claude-fable-5). |
Superseded
Do not merge this monolithic PR. Review the smaller dependency-ordered replacement stack instead:
The sequence preserves the original exporter-neutral workflow evidence goal while separating prerequisite correctness fixes from the lifecycle API and runner integration. Each PR is independently reviewed and verified, and each PR after #1112 is based on its predecessor.
Original scope
Typed workflow stage, outcome, completed-work, durable-mutation, and terminal-ownership events for migration and move consumers such as Strata. No OpenTelemetry dependency is introduced in Spirit.