Repository navigation
Recover tracing through an event WAL and SQLite span ledger - #132
Draft
Stephen Belanger (Qard) wants to merge 16 commits into
Draft
Stephen Belanger (Qard) wants to merge 16 commits into
Stephen Belanger (Qard) wants to merge 16 commits into
Conversation
This was referenced Oct 6, 2026
Stephen Belanger (Qard)
force-pushed
the
feature/agent-event-wal-recovery
branch
from
October 8, 2026 06:50
3e46f0f to
80b564f
Compare
This branch has not been deployed
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.
Summary
Implement tracing recovery as a pipeline with two bounded recovery stores:
plugin failure: <path>marker using the same span ID; successful output has no recovery annotation. Preserve earlier successful operations within the failed revision.The design document and runtime documentation describe the complete implementation. This branch is stacked on #130 and uses checked SDK delivery from #106; #132 supersedes the plugin-specific model before release.
Validation
cargo test --manifest-path bt-daemon/Cargo.toml --all-features --locked— passed (494 tests; 5 ignored).cargo clippy --manifest-path bt-daemon/Cargo.toml --all-features --all-targets --locked -- -D warnings— passed.git diff --check— passed.Earlier remote marker verification through
bt view traceconfirmed same-ID replacement in projectcoding-agents. That verification predates this SQLite revision; the current storage changes are covered by local tests and CI.A crash after backend acceptance but before local acknowledgement can still cause a retry. Identical destination-visible projections are suppressed where possible; exactly-once external side effects require backend idempotency support.