feat(trace): add safe local trace reader - #300
Draft
OnlineChef (ChefGroep) wants to merge 1 commit into
Draft
OnlineChef (ChefGroep) wants to merge 1 commit into
OnlineChef (ChefGroep) wants to merge 1 commit into
Conversation
Contributor
Author
|
CodeRabbit (@coderabbitai) review |
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
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
Adds a local read-only CLI for the trace store introduced by #298.
This PR is intentionally stacked on
feat/trace-store/ #298. It does not add a management API, remote trace access, capture coverage, or any new persistence format.Commands
The proxy does not need to be running; the reader opens the local
trace.sqlitestore directly.Privacy boundary
Payloads remain opt-in at the read boundary:
trace listis metadata-only.trace show <id>is metadata-only.--jsonchanges format only and still omits inbound/outbound/response bodies.--body.Metadata-only trace summaries that were never body-persisted remain in
usage.jsonl;ocx trace listenumerates body-backed rows present intrace.sqlite.Implementation
src/cli/trace.tscommand moduleVerification
Exact head
331a38df810a20dc77bdc4d8e03472bcc770d219:bun run typecheck✅bun run privacy:scan✅git diff --check✅The 11 skips are existing environment/capability skips, not introduced by this PR.
Dependency
Stacked on #298. Merge/rebase this only after the trace-store parent lands.