Repository navigation
Deepen Scoring's confirmed Bug-origin reads - #1314
Merged
Merged
Conversation
Merged
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
Scoring now owns confirmed Bug-origin reads and shares ordered checkpoint storage with full sample reads. Metrics joins the resulting PR URLs and optional exact local Ticket run identities to its captured Commands.
Closes #1313
Test seams
Evidence
After:
cargo test --bin thirdshift scoring::storepasses all 11 tests, including seven tests through the confirmed-origin operation and the four existing storage regressions.cargo test --test metrics bug_origin: 6 passed; covers Continuations, dispatched names, correction/rejection, weekly accounting and unchanged Command records.cargo test --test console metrics::: 3 passed; CLI/Console details refresh from minimal retained records through proposed, confirmed, rejected and unknown states.cargo check --bin thirdshift,cargo fmt --check, andcargo clippy --all-targets -- -D warnings: passed./usr/bin/time -p scripts/affected-tests main: failed after 728 passed becauseotlp_endpoint::a_stalled_receiver_cannot_delay_a_session_by_its_span_countexceeded its baseline-plus-two-seconds timing bound (3.93s baseline; 7.65s stalled). Wall time 1067.99s, including compilation and an initial build-lock wait; 2,282 tests were not reached.cargo test --test otlp_endpoint a_stalled_receiver_cannot_delay_a_session_by_its_span_count -- --exact --nocaptureandcargo nextest run --test otlp_endpoint -E 'test(=a_stalled_receiver_cannot_delay_a_session_by_its_span_count)'in isolation.cc392243: the full Linux Rust suite, macOS gate, Console browser tests and site checks. Release builds and smoke checks also passed. Reused that successful full-suite evidence asdocs/testing.mddirects, and stopped the redundant two-worker local rerun after 508 passing tests; its remaining tests were interrupted deliberately.Merge Danger
Door: two-way
Blast Radius: metrics
The shared reader serves retained sample writers and the read-time counts in metrics,
show --jsonand Console Command details.Unaddressed findings
Standards
None. Independent review found 0 findings.
Spec
None. Independent review found 0 findings.
Security
None. Guidance-mode security review of the issue-1313 diff against merge base
bd4b3e72found 0 introduced findings. The change moves confirmed Bug-origin reads into Scoring behind one read-only operation over shared ordered checkpoint storage; metrics keeps its existing retained pull-request attribution join. Verified: no new file, network, process or lock sinks in the changed modules (only pre-existing writer paths remain), stored local record paths are compared lexically and never opened, stable chronological ordering and issue normalization are byte-identical to the removed metrics reader, and malformed data still fails visibly.cargo test --bin thirdshift scoring::store(11 passed) andcargo test --test metrics bug_origin(6 passed) confirm preserved behavior.Security review outcome
No unaddressed introduced findings.
Review coverage
Both independent reviewers inspected all seven changed files against
mainpinned atcff9109e6ba567ee720c823fc4598e283a0d94e2(merge-basebd4b3e72460f16f33cc365798fe9cca1f0b409b5). No changed files were left unread by either axis; no generated-output exclusions. Reports and each axis's final supporting-file list are saved alongside the Session trace as.thirdshift-review-6OztlO/standards.mdand.thirdshift-review-6OztlO/spec.md.Standards: 0 findings; Spec: 0 findings; no worst issue on either axis.
Built with codex · gpt-6.1-sol · xhigh