Repository navigation
feat: add versioned JSONL script output - #315
Merged
Merged
Conversation
Emit structured events with schema version 1, trace metadata, value diagnostics, expression errors, and backtrace stop states. Keep readiness markers on stderr in JSONL mode. Document the contract with a JSON Schema and add CLI and e2e coverage.
Update rustls to 0.23.45 and its required rustls-webpki patch release. This resolves RUSTSEC-2026-0285 reported by both Supply Chain checks without changing the audit or dependency policies.
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.
Script consumers currently have to parse Pretty/Plain display text. Add
--script-output jsonl(or[script] output = "jsonl") to emit one compact JSON object per payload-producing event withschema_version: 1.The v1 contract retains PID/TID, nanosecond timestamps, trace metadata, static value diagnostics, runtime expression errors, and backtrace stop statuses and codes. JSONL adds no ANSI colors and sends readiness markers to stderr. Include the JSON Schema, English/Chinese configuration docs, and CLI/e2e regression coverage. Variable values remain formatted strings.
Update the existing locked
rustlsdependency from 0.23.40 to 0.23.45, along with its requiredrustls-webpkipatch update to 0.103.15, to resolve RUSTSEC-2026-0285 reported by the Supply Chain checks. This changes only the lockfile and preserves the audit and dependency policies.Local validation after the dependency update:
cargo audit --deny warnings: passed.cargo deny check advisories bans licenses sources: passed all four checks.cargo fmt --all -- --check: passed.cargo clippy --all-targets --all-features -- -D warnings -D clippy::undocumented_unsafe_blocks: passed for the workspace default members.cargo test -p ghostscope-debuginfod -p ghostscope --all-features: 129 passed.afb9dc65eace, exit code 0.af3d5304334c, exit code 0.Before replaying the feature patch onto the latest
main, the full standard host-to-host e2e suite passed all 380 tests (runner job4896f969cd1f). That full suite was not rerun locally after the replay or dependency update; current-head local e2e validation focused on debuginfod and JSONL behavior. Container topology suites were not rerun locally because this change does not alter container behavior. The PR workflows provide the full standard and container e2e coverage.