Repository navigation
perf(code-index): skip unrelated sealed evidence on sparse edits - #4789
ScriptedAlchemy wants to merge 13 commits into
Conversation
|
|
Review finding (source-level, not a completed CI result): the new serialized |
|
#4520 ownership / merge coordination: hold PR #4789; do not auto-merge it from the hourly general PR sweep. This is an issue-specific code-index performance fix, not Kev/decision-model work. It was marked ready only so the repository's normal PR workflow schedules the Bazel Linux authority (draft PRs skip that job). Correctness, canonical golden bytes, independent review, and a real 6.6k-file benchmark are not all proven yet. Leave #4520 open and this PR unmerged until those are verified. Current source commits: d009fee (strict revision 22 + rustfmt) and 52db4ab (filterless seal refusal regression). Refs #4520. |
Bind parent-evidence read assertions, cold-derived chunk deltas, and incoming-edge repoint checks to the same sparse successor. Require actual dependent reads, unchanged caller occurrences, positive chunk changes and reuse, and exact nonzero fan-in/fan-out. Refs #4520
|
Published c54dc47, preserving the concurrent formatting repair f1c9564 as its sole parent. Branch update used expected-head, force=false; no duplicate PR or rewritten history. The new parser-backed Validation is still pending, not a claimed pass. Hosted CI for this exact head is https://github.com/ScriptedAlchemy/tracedecay/actions/runs/42435823939. The previous head passed repository formatting/gates and Clippy, but those results do not validate this new test. No local Rust/Bazel execution was possible, and Cargo was not invoked. Keep the merge hold. The canonical manifest state-digest golden must still be obtained from actual Bazel output and reviewed, not guessed or loosened. The real 6.6k-file before/after workload and independent review remain outstanding. The existing native test workflow requires manual Refs #4520 |
Convert SHA-256 bytes to a stable file-occurrence hex prefix instead of requiring LowerHex on GenericArray; addresses hosted Rust E0277 in the sparse publication integration test. Refs #4520
|
Refs #4520 — CI repair published as |
A cold build starts with generation sequence one while a sparse successor advances its parent. Compare every canonical chunk-change partition and validate the actual sealed generation identities, not the two different manifest addresses. Refs #4520
|
Refs #4520 — Additional source-level test correction published in |
Refs #4520 Use actually resolvable module-level `new` calls in both sparse regressions; retain same-name unrelated candidates, real evidence reads, and strict positive repoint and chunk-delta assertions. Pin the revision-22 canonical state digest measured by hosted Bazel code_index_suite (run 42437748915, Linux fleet). Apply rustfmt's exact requested line wrap without changing validation.
|
Refs #4520 — guarded source repair published: Hosted Bazel on the previous head found: (1) canonical manifest payload digest MERGE HOLD REMAINS. Do not merge or close until exact-head Bazel reports nonzero passing regressions and associated suites, 6.6k-file measured workload, independent review, and native verification. CI on the newly published head is unverified as of this comment. No native or benchmark result claimed. No Kev or release work. |
Preserve the concurrent fixture, formatting, and revision-22 golden repair. Require four actual unrelated call edges before taking read baselines and after restoring the measured successor, using qualified symbol identity. Add a falsifiable corruption regression: zero a nonempty target filter, recompute the outer manifest digest, and require the exact semantic evidence-descriptor refusal while the intact original still restores. Refs #4520
|
Refs #4520 — published This commit strengthens the existing integration module without changing production semantics or weakening checks:
Exact-head CI: https://github.com/ScriptedAlchemy/tracedecay/actions/runs/42443667141 (queued when observed; NOT a pass). I inspected the actual prior-head Bazel artifact: code_index_suite 220 passed/2 failed, unit_test 363 passed/1 failed, resident_accounting 4 passed. Those are failure diagnostics, not proof of this new head. No local Rust execution or Cargo invocation occurred. Keep the merge hold. Require nonzero current-head Bazel regressions/full applicable checks, the actual 6.6k-file time/memory/read/reseal benchmark, independent review, and native evidence. No merge, issue closure, release, Kev/decision-model, infrastructure or production changes. |
|
Refs #4520 — hosted verification scheduling blocker, not a test result (observed 2026-11-08 around 05:22 UTC): the exact-head PR #4789 workflow 42443667141, for commit Fresh source review found no confirmed new defect to justify cancelling this costly run with another speculative push. Revision-22 golden was already measured from hosted Bazel and corrected by |
|
Refs #4520 — confirmed exact-head CI failure, merge hold unchanged. On - CodeIndexProductionOwnerV1, CodeIndexPublishedGenerationV1,
- MemorySealedPublicationStoreV1,
+ CodeIndexProductionOwnerV1, CodeIndexPublishedGenerationV1, MemorySealedPublicationStoreV1,All eight completed repository-policy Bazel test targets passed; the formatting genrule prevented the overall gate. Change scope and benchmark harness self-tests passed, but the latter is not the 6.6k-file issue workload. At observation Clippy and Linux Bazel were still building/running on this exact head; native macOS skipped. Intentionally preserving that expensive verification before any next nonforce, expected-head format repair, so additional compiler or behavioral failures can be repaired in one narrow commit. No tests weakened, no benchmark/native pass claimed, no merge/closure. Keep PR #4789 held; PR #4791 and the other issues remain separate. |
Apply the exact Rust 2024 rustfmt change from the hosted Repository gates job for the sparse successor regression. Refs #4520
|
Refs #4520 — new exact-head CI infrastructure blocker; no code regression inferred. PR #4789 workflow 42458746991 on
The prior verified revision-22 golden and all strict sparse/chunk/graph tests remain intact. HOLD MERGE and leave #4520 open until nonzero exact-head Bazel regression passes, real before/after benchmark (reads, graph reseals, changed chunks, time, peak RSS), independent review, and native coverage are proven. No branch commit, workflow/infrastructure modification, or scope-excluded action in this check. |
|
Refs #4520 — new executed Bazel regression failures, not the previous external-fetch 504. Exact-head CI attempt 2 on Source review points to the fixture's ambiguous The broad Linux |
Repair three hosted automation_runner_test failures by supplying the configured executable identity required by the production prefilter. Use the same identity for the prefilter and retained runner, preserving manual-schedule, exact-ledger, live-lock and lock-race assertions. Add a production-prefilter regression for unconfigured refusal, deduplication and same-occurrence recovery after binding, with zero backend calls and no effectful terminal. Do not relax backend admission, change timeouts, or alter the graph publication changes. Refs #4532
|
Refs #4520 — nonzero hosted Bazel regression evidence, on a superseded head only. I downloaded and inspected the actual
The PR subsequently advanced through two unrelated test-file commits to Keep PR #4789 unmerged and issue #4520 open. No merge/auto-merge from the general sweep. |
Refs #4520
Root cause
Merged #4537 fixed the spurious changed-name set comparison, but a comment-only edit still decoded the sealed file-evidence segments of every file mentioning a carried name. Most of those sealed edges did not land in the edited file. The issue's isolated 6.6k-file profile recorded thousands of unrelated reads.
Fix
Regression and verification
sha256:08e91a89b2dd82615897c5df08b74740fc483551f8f8cef1ef57cf96a93c837f. The existing strict golden assertion remains enabled.7b7e179eshowed the stale digest, non-resolvingOther::new()fixture edges in both sparse regressions, and a rustfmt wrap. Commit1c63f1cafixes all three: verified golden, unambiguous cross-filecrate::other::new()function calls, and exact rustfmt formatting. These test fixtures still require a new nonzero executed pass on this head, not merely compilation.Safety
Do not merge or close #4520 until the golden, exact-head Bazel tests, independent review, changed-chunk and real-workload performance evidence are satisfied. No Kev/decision-model or release changes.