Repository navigation
perf(discover): reuse permission attestation in coverage estimates - #4637
Open
ZXLyyds100 wants to merge 1 commit into
Open
ZXLyyds100 wants to merge 1 commit into
ZXLyyds100 wants to merge 1 commit into
Conversation
📊 Automated PR Analysis
SummaryRefactors Review Checklist
Linked issues: #3650 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
9 tasks done
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
Test plan
cfg(test)only.cargo fmt --all --check, proxy formatting,cargo clippy --workspace --all-targets --locked -- -D warnings: clean.cargo test --workspace --locked: 4,965 passed, 0 failed, 8 ignored; all 8 ignored tests also passed separately.cargo test --no-default-features --locked: 4,505 passed, 0 failed, 8 ignored.GIT_DIR/German locale: 11 coverage tests passed. NestedTMPDIR: both result-contract tests passed.Before / after
This removes duplicate predicate work, not 50% of total discover runtime. The included debug-build timing samples are noisy local observations, not a production speedup claim.
Actual native CLI comparison, 14.36-second recording, and replay
The image is a local evidence harness, not product UI. It runs actual RTK binaries over isolated synthetic stored transcripts; transcript commands are never executed. No hosted CI or real agent session is claimed.
Recording · Twenty-scenario results · Original failing test · Fixed passing test · Negative control · Validation and replay instructions
Media and the optional harness remain on a fork-only evidence branch, outside this four-file code PR. Native verification was on macOS; other platforms remain subject to repository CI.
Review scope
Read merged #3206 and its approved review as precedent. The prior issue volunteer explicitly stepped back while that dependency was unmerged; it has since landed. This PR is independently based on current
develop, not a stack on the unrelated open lexer/gain work.Implemented with coding-agent assistance and two self-review passes. Permission/hook code remains subject to maintainer security review; local test results do not claim human or hosted-CI approval.