Repository navigation
test(lsp): settle save-digest wire logs at a protocol barrier (#10041) - #10239
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 14 minutes. View limit details
Comment |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the new helper waits for a dedicated barrier log rather than a fixed three-second quiet window.
- Confirm the fixture uses a serial LSP service so the custom barrier follows preceding handler work and queued notifications.
Refuted
- A nonempty result could satisfy the new collector without proving protocol settlement.; refuted because: The negative control emits a nonempty dedup log but no barrier and requires a timeout error; the positive control additionally requires the barrier to be the final log.
- The new route changes production LSP or cache behavior.; refuted because: The diff is confined to crates/ripr/src/lsp/tests.rs and adds only test fixture plumbing, a test-only custom method, and test collection helpers.
- The change broadens production LSP behavior or introduces duplicated timeout logic.; refuted because: The diff is test-only, uses a test fixture custom method, and centralizes collection through one helper; no production source path is changed.
Parked follow-ups
- The barrier oracle is qualified for a serial fixture and does not establish default-concurrency settlement behavior.
- The missing-barrier control proves timeout behavior, but it does not reproduce a full-suite load flake.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- Focused validation evidence claims red failure before the repair and green success afterward, but current cargo-test and ripr receipts are not yet complete.
- The ripr sensor failed with exit code 2, but no detailed receipt is available in the supplied packet to establish whether it reflects a source defect or tool/configuration issue.
|
Independent bounded delivery-review receipt — PR #10239 No actionable source/oracle defect found within the sequential fixture contract. Disposition: source/focused proof complete; final merge review remains REVIEW_INCOMPLETE. This receipt adds real-wire attribution/removal controls to the existing completed ordering review; it starts no qualification campaign and changes no candidate branch. Subject frozen and re-read before publication:
Observed source: Observed native execution, Linux / installed Rust 1.95.0:
Provenance: original tests source SHA256 Limits: attribution is causal under the fixture's exclusive ordered stimulus; generic log text does not authenticate arbitrary forged/replayed/wrong-document messages. Default concurrency, empirical full-suite flake elimination, Windows, broad suite, combined-tree execution and required hosted qualification remain unverified here. The advisory review reports incomplete sensor evidence; its wrapper is not exact-head qualification. Canonical next action: existing #10041 writer finishes and records the already-running check-fast/precommit outcomes and reconciles current findings. Parent continuation lead retains integration and any later authorized qualification transition. Keep Draft under the current task boundary; this receipt authorizes no Ready, dispatch or merge. No candidate repair is requested by this review. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Author synthesis of exact-candidate source/oracle review — COMMENT, not approval.
reviewed_head_sha: b1d767c
reviewed_tree: e1536570f7599f77efeee5ce013dac5e3a1804be
construction_basis: 8b3b83d
integration_basis: fetched main 9766ac5 / tree 969c2b5e7d92cb7f154a914933d20820dce02d1b
claim_boundary: sequential failed-refresh save-digest wire witness synchronization only; one test module +117/-6.
Inspected semantic owners and consumers: framed public didOpen/didSave -> awaited Backend refresh handler -> terminal client logs; test-only barrier registration; tower-lsp-server 0.23.0 buffer_unordered(1) and shared outbound Client queue; setup drain and per-save marker consumption; delayed-event and missing-marker controls. The dedicated marker is required, not a nonempty collection or ordinary dedup/publication log. The serial fixture establishes completion ordering. Production LSP/cache behavior and default-concurrency semantics are unchanged.
Independent review: the fresh internal source/oracle reviewer found no material defect. The additional independent delivery receipt reports intended real-wire failures when dedup logs are removed or B's save is redirected. It also retains contrary evidence: an outcome-only collector still passes the wire scenario, but both dedicated collector controls fail. This bounds the wire scenario's grip and supports retaining those controls. These extra experiments are reviewer-reported execution; the writer directly observed the exact-head six-test run, native exit 0, 6 passed / 14301 filtered, 1.21s.
blocking_source_or_oracle_findings: none identified within this claim.
proof_or_review_missing: complete local preflight, required exact-head hosted qualification, combined-tree execution and final merge judgment.
Correction: check-fast exited 143 when the writer stopped its owned workspace Clippy subtree at the recorded storage reserve. File-policy had completed; Clippy had not. Precommit never started. The old empty-diff base check-fast report remains historical and is not head proof. The revised PR body preserves the exact raw commands/status and measured admission decision.
Current body-template validation: already-built xtask command exited 0; its generic production-path advisory warning is explained by the sole #[cfg(test)] module change.
Current integration inspection: merge-tree exited 0, tree 675190a5c8928d84310b2e1585dcd7c569b21a76. No checkout update or combined-tree execution. Main's test source/backend/scheduler/lock/manifests/toolchain remain unchanged; its LSP delta is unrelated disabled-action wording.
Remote findings: no inline threads at inspection; bot quota limits and advisory incomplete sensor/proof-intent output are missing provider evidence, not clean qualification. Existing success/skipped/neutral wrappers do not complete required Rust checks.
disposition: REVIEW_INCOMPLETE for final merge; substantive source/focused proof complete, no candidate repair requested.
Next: retain this same Draft/head and the existing evidence; resume missing workspace Clippy/precommit only after measured storage fit under unchanged reserves, then obtain applicable public Ready authorization and required current hosted evidence before final published-head/integration judgment. No Ready, label, alternate dispatch or merge is authorized by this receipt.
|
Draft-to-Ready handoff — exact head This updates the historical pending local-preflight/authority statements in the PR body's Continuation and author synthesis, without changing their original failed-attempt evidence. The existing candidate remains Source/oracle review. Reuse the independent ordering review and additional exact-head delivery receipt. Current submitted reviews, substantive Conversation and inline threads were reconciled: no unresolved blocking source/oracle finding was identified. The fixture waits for a dedicated marker on the same outbound queue after completed handlers, with Executed detached integration and completed local preflight.
Live main was Body admission. Current unchanged body SHA-256 Disposition and qualification hold. Independent exact-head source/focused proof, affected integration and native pre-Ready prerequisites are complete. Mark Ready only. Do not apply Final merge judgment remains Non-ref integration contribution and adoption handoff — 2026-10-25 08:32 UTC The dependency named in the earlier qualification hold has now actually landed via #10258, at main Existing public contribution. Commit
Git-data readback verified that tree, both ordered parents and complete root entries. All fourteen linked remote file contents below were read back through the connected repository reader; computing each Git blob identity from the returned UTF-8 bytes matched the reviewed #10269 bytes, the actual #10258 landing and this contribution. Local composition
The #10258 landing is not a pure fourteen-file repair: complete inspection covered two output code/test paths, 245 human.txt files, 245 changelog outputs and these fourteen human-full files. It also carries missing-discriminator digest wrapping in Proof currentness. Reuse the independent candidate review, real-wire missing-log/wrong-document controls, and dedicated collector-removal discrimination already recorded above. The full LSP subtree, LSP adapter, analysis/app subtrees, scheduler, Rust lock/manifests, toolchain, policy tools and instructions match the accepted executed composition. LSP's only human-output import is the unchanged The initial per-file readback handler incorrectly parsed decoded plain text as JSON, reproducing Actual consuming-subject hold and canonical-owner action. Fresh PR reads still show Ready head Canonical branch-author custody remains unknown to this reviewer; no handoff or ownership transfer is claimed. Parent delivery coordination retains lifecycle/qualification ownership. The canonical branch author should adopt a history-preserving, expected-head integration against the accepted main, or otherwise refresh the real consuming subject; then obtain required new-head review and verify actual hosted checkout parents/tree and all fourteen accepted blobs before one qualification request. Do not merely relabel the stale subject or treat this object contribution as adoption. This is a retrievable technical handoff, not a merge, branch update, qualification request or qualification pass. Final merge judgment remains |
…041-event-driven-save-witness
There was a problem hiding this comment.
Refuted
- The change modifies production LSP or cache behavior.; refuted because: All changed lines are in the test module and add test-only fixture plumbing, a custom test method, and collection assertions.
- The barrier ordering proof extends to default-concurrency LSP execution.; refuted because: The changed fixture explicitly sets concurrency_level(1), and both the PR body and prior review state that the qualification is limited to this sequential fixture.
- The test change alters production LSP or cache behavior.; refuted because: All changed code is under the test module and adds test-only service plumbing and collection helpers; no production source path is changed.
- A nonempty log result is sufficient to establish protocol settlement.; refuted because: The collector requires the dedicated SAVE_DIGEST_BARRIER_LOG marker, and the missing-marker control rejects a dedup-only stream via the timeout guard.
- This diff changes production LSP/cache behavior or proves broad default-concurrency settlement.; refuted because: The changed surface is confined to the test module; production paths are unchanged, and the fixture explicitly serializes handlers while the PR body limits the claim to that contract.
Parked follow-ups
- The barrier oracle establishes ordering only for this intentionally serial fixture and does not prove default-concurrency settlement behavior.
- The fixture establishes barrier ordering only under serialized handler execution.
- The custom barrier is ordered after didOpen/didSave work only under the explicitly serial fixture.
- The explicit concurrency_level(1) setting is necessary for the claimed barrier ordering but narrows qualification to a sequential fixture.
- The barrier guarantees settlement only for this intentionally serial fixture; it does not establish default-concurrency behavior.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Summary
The save-digest wire witness currently decides whether logs are absent after seven fixed three-second read windows. This change collects through an observed test-only protocol barrier using the existing
read_logs_untilone-minute hang guard. The fixture serializes handler futures so the barrier log follows completed publicdidOpen/didSavehandlers and all their queued log notifications.The existing positive publication/failure assertions and negative dedup/no-refresh assertions remain. Two virtual-time controls reject a late queue event being missed and a missing settled event being accepted. No production LSP/cache behavior changes. At initial publication, main
875d1f2a30ae4ed4ea7d68dba74f76f769e08868had byte-identical test source. The integration checkpoint below preserves that test delta while incorporating the landed prerequisite from actual main.Swarm / Source Boundary
EffortlessMetrics/ripr-swarmSource-of-truth Links
Proposal: none; issue-driven synchronization repair
Spec: existing RIPR-SPEC-0124 diagnostic-delivery stability witness and traceability remain; new controls test its collector
ADR: none
Plan item: none
Governing issue or accepted claim: #10041
Acceptance delta (one sentence): the failed-refresh save-digest witness collects through completed protocol work, with a hang guard rather than fixed read windows, including before negative assertions.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): codex/10041-event-driven-save-witness
Stack parent or prerequisite PR (if any): none; #10038 is already present in the recorded base
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): this is the sole #10041 implementation found by current all-state issue/test-specific PR and custody searches; no competing candidate disposition needed
Scope
Test-only evidence package:
crates/ripr/src/lsp/tests.rs, +117/-6. Public framedtextDocument/didSaveremains the stimulus. The custom barrier method exists only in this fixture'sLspService.Changelog disposition: exempt under
docs/CHANGELOG_POLICY.md; internal test synchronization only, with no product behavior, API, public output, workflow, or public-doc change.Rollback: revert this test-only diff. No schema, dependency, workflow, or runtime state migration.
Exact source and execution evidence
8b3b83d9363523e601a026856a64be1bb72b0854, tree5104b2ab546a96a3ec82d56947ccbe1b998413bc.ccbb28efdcec1f3831a8edf23bcac52811cace5d. Its test source SHA256dddbbcfe697b5be96229ba590fe5b18a8445f165275fd88ccebdd72e9e940516matches the retained executed red source. This commit preserves both controls with the old collector.b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, treee1536570f7599f77efeee5ce013dac5e3a1804be. Current composition identity is recorded below; these execution results remain attached to this original epoch.cargo xtask check-fast: exit 0, expected empty selector, 6 gates ran / 7 skipped.cargo check --locked -p ripr --lib: exit 0. Initial--offlinecompile stopped on an uncached locked source, then the normal locked build succeeded without tool installation or dependency changes.cargo test --offline -p ripr --lib lsp::tests::save_digest_log_collection_: native exit 101, both intended behavioral failures. This was not a compile/setup failure:cargo test --offline -p ripr --lib lsp::tests::failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire -- --exact: native exit 0, 1 passed / 14306 filtered, 1.24s. These runs exercised the final source bytes immediately before committing;cargo test --offline -p ripr --lib save_digestthen passed on the committed exact head: native exit 0, 6 passed / 14301 filtered, 1.21s.Completed local preflight
Exact-head local preflight is now complete at
b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67:check-fast: native exit 0; workspace Clippy passed; 10 gates ran, 3 categories were inapplicable; the independently checked selector contained onlycrates/ripr/src/lsp/tests.rs.precommit: native exit 0; policy, whitespace, and selectedriprandxtaskClippy passed. Goldens were skipped for the test-only change; this is not full hosted qualification.Incremental compilation was disabled for these validator runs; gate subjects and options were unchanged. Earlier interrupted runs remain historical failures and are not counted as passes. This corrects the earlier pending local-preflight statements. The task retains the raw logs and operational recovery records separately.
Body-template validation exited 0. Its generic production-path advisory is explained by the sole
#[cfg(test)]module change.Review and limitations
A fresh internal reviewer inspected exact head
b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, its cumulative diff, the public backend paths,tower-lsp-server0.23.0 handler polling/outbound channel ordering, setup/save attribution, and retained red/green controls. No material source or oracle finding was returned. The source review confirms the barrier ordering for this intentionally sequential fixture; it does not qualify default-concurrency behavior.The additional independent delivery review inspected the same exact candidate and reports real-wire attribution/removal controls. Removing dedup logs or redirecting B's follow-up save failed the intended B assertion. An outcome-only collector variant still passed the wire scenario, while both dedicated collector controls failed; this contrary evidence bounds the claim and shows why the dedicated controls are required. This is independent reviewer-reported execution, separate from the writer-observed six-test run above. No repair was requested. The advisory review has incomplete sensor/proof-intent evidence; its success wrapper does not establish exact-head qualification.
The delayed-event and missing-marker experiments establish collector discrimination. They do not claim empirical reproduction/elimination of a full-suite load flake. No broad suite, Windows qualification, required hosted matrix, or merge readiness is claimed. Broad all-target baseline compilation was omitted for this one-module test change; the real library test binary was compiled and executed instead.
Coordination separately recorded its Ready handoff at the original executed head. This writer performed no Ready transition, label change, dispatch, or merge.
Integration applicability
The original source-only merge with main
9766ac5adb0e304c46c01ff8883f9b08d87a7142produced tree675190a5c8928d84310b2e1585dcd7c569b21a76with native exit 0. The coordination handoff reports executed composed-tree tests and preflight on that same tree; its execution is separate from this writer's observed exact-head runs.The golden dependency landed through #10258, commit
feea37899d17d2176a08ef43446f11f7fff9e8db. The #10269 consumer correction supersedes waiting for #10269 itself to merge. Before this checkpoint, GitHub's published preview still lacked the landed renderer/expectations. This was a material prerequisite mismatch.A normal, non-force task-branch push now publishes composition head
fa6e0edf3d81bf23ba4faa258c09bef9659c678c, tree40944b6bb3ed891139d964174d219f2203ee56e2, with ordered parentsb1d767cc538dfb32af5d4b6bccfa9c9a789b8e67and observed mainad056c83e534b67968c698f52ed662b1d1dc3f27. Remote branch and PR-head readback both confirm this head. The complete diff against that main remains onlycrates/ripr/src/lsp/tests.rs, +117/-6; its blob8014f9de3f361bcd2b78614df5da05187c4e4c1ais byte-identical to the original executed candidate. Both accepted sources are preserved.GitHub's refreshed native preview is
5ba8473709553d504b11b55bb23349b5c0516093, treecede8cea52317e9c0e48acc6c5d5e96dbeef6f96, with parents37f98a038f138cc50afe30ad41192ec045fa40c2andfa6e0edf3d81bf23ba4faa258c09bef9659c678c. Native Git object inspection verifies the landed fix is an ancestor, all fourteen repaired human-full expectations match the landed repair, and the renderer blob isdde6555524e54cf04b4130c8dc41f82590da0bb8. The preview diff against its main parent is still the same one-file test delta.Independent read-only review of the exact composition and refreshed preview found no material synchronization-specific issue. Handler ordering, transport dependencies, scheduler, barrier, collectors and test source remain unchanged. Analysis inputs are not wholly unchanged: #10203 adds Cargo graph limitation reporting and a separate repository fixture manifest. This witness writes its own valid single-package manifest. Source inspection supports continued applicability, but does not establish actual graph status or execution success on the new preview.
The original six-test, check-fast and precommit passes retain their exact
b1d767/e153657execution subject. No unchanged tests or builds were rerun locally for either composition.The one admitted required qualification run 40183361463 completed successfully for unchanged PR head
fa6e0edf3d81bf23ba4faa258c09bef9659c678c. The Rust gates producer 121139023981 terminal log confirms actual checkout5ba8473709553d504b11b55bb23349b5c0516093: 21,152 tests passed, five skipped, including the wire witness and both collector controls. Required doctests, goldens, corpora and schema checks also passed. The required Result 121147119186 succeeded with admitted exact candidate and successful producer. The separate ancillary CI run 40183361312 passed its Rust-only lane; Perl/release, VSCode and MSRV were skipped. These successful statuses supersede the earlier missing-hosted-proof statements.Final bounded source-only inspection froze actual current main at
7bf23f814c293faac6e3659154ffe512a32899ff, tree505efb1649d9d3fa6d6b76da9563f1a1ff7c90ac. Nativegit merge-tree --write-treewith published headfa6e0edfexited 0 and produced treecb927d8cb8bbb7642810dececdf45b2791115f04, still only the original test-file +117/-6 delta against that main. No branch update was needed. The PR API'smergeable: null/ unknown metadata is not a conflict finding.Independent source review of the intervening main delta found no material synchronization-specific conflict or changed acceptance. LSP handlers, scheduler, test instrumentation, fixture/collector source, manifests, lockfile and required workflows are unchanged. Analysis logic did change: #8999 withholds tests in uncompiled files, #9197/#9774 guard parameter rebinding, and #10259 distinguishes empty closure heads. This fixture keeps its test at
tests/end_to_end.rs, has no tests in unlinkedsrc/other.rs, and its analyzed source has no rebinding, destructuring, character literals or closures. The handler/barrier argument and event-log assertions remain applicable by source inspection.The earned run remains execution proof of
5ba84737, not execution of the newercb927d8ccomposition. Independent review found no synchronization-specific reason to repeat qualification solely for this main movement. This establishes settled-event collection for the intentionally sequential fixture; it does not establish broad empirical flake elimination or default-concurrency behavior. Current inline review threads are empty; later automated reviews add no substantive defect, and provider quota/proof-intent gaps are not counted as independent clean review.Continuation
Owner / governing claim: bounded #10041 writer; parent coordination retains sole merge action
Candidate: existing branch at
fa6e0edf3d81bf23ba4faa258c09bef9659c678c, tree40944b6bb3ed891139d964174d219f2203ee56e2Review: exact-candidate source/oracle review and independent current-main applicability review complete; no material source or synchronization-proof blocker found
Validation: original
b1d767focused/local-preflight epochs retained; admitted required qualification succeeded forfa6e0edfon actual5ba84737checkout; current-maincb927d8ccomposition is source-onlyDependency: landed #10258 is consumed by the published head and qualified preview; no wait for #10269 to merge
Next: parent coordination reconciles current repository protections/findings and performs its sole authorized expected-head merge action. This lane performed no push, build, qualification request, Ready transition, label change or merge in this final source-only pass.
Closes #10041