Merge round 35b exceeds retained deterministic performance ratchets #1483

Open
opened 2026-10-08 21:43:16 +00:00 by kayg · 2 comments
Owner

The final exact-hash refresh changed 48 existing MailView pins only. It kept all owners, scopes, limits, expiries and ratchets. scripts/perf-lint --adopt-7c ran once, as authorized, earlier in the merge round. No new waiver was added.

The merged ledger still has 22,576 exceptions. The combined branches retain a ceiling of 22,494 (production cc1af3c12 has 22,544). This is +82 against the retained ceiling and +32 against production. The directory branch's +71 increase was not accepted as a new ceiling in its merge commit. The lower ceilings from the other branches remain.

Verbatim gate result:

perf-lint: INVALID: exception ratchet: cache.raw-read: 387 exceptions exceed the ratchet ceiling 385; fix the new violation instead; coverage.operations: 36 exceptions exceed the ratchet ceiling 31; fix the new violation instead; coverage.routers: 33 exceptions exceed the ratchet ceiling 28; fix the new violation instead; coverage.stale: 7 exceptions exceed the ratchet ceiling 6; fix the new violation instead; coverage.surfaces: 7 exceptions exceed the ratchet ceiling 5; fix the new violation instead; io.unresolved-call: 16613 exceptions exceed the ratchet ceiling 16541; fix the new violation instead; sql.limit: 89 exceptions exceed the ratchet ceiling 85; fix the new violation instead; total: ledger has 22576 exceptions; ratchet total is 22494

This fails bun run check and calternal-server --test perf_guards. These deterministic failures block READY even though the web suite passes 305 files / 2209 tests and the editor suite passes 26 files / 509 tests.

The final exact-hash refresh changed 48 existing MailView pins only. It kept all owners, scopes, limits, expiries and ratchets. `scripts/perf-lint --adopt-7c` ran once, as authorized, earlier in the merge round. No new waiver was added. The merged ledger still has 22,576 exceptions. The combined branches retain a ceiling of 22,494 (production cc1af3c12 has 22,544). This is +82 against the retained ceiling and +32 against production. The directory branch's +71 increase was not accepted as a new ceiling in its merge commit. The lower ceilings from the other branches remain. Verbatim gate result: ``` perf-lint: INVALID: exception ratchet: cache.raw-read: 387 exceptions exceed the ratchet ceiling 385; fix the new violation instead; coverage.operations: 36 exceptions exceed the ratchet ceiling 31; fix the new violation instead; coverage.routers: 33 exceptions exceed the ratchet ceiling 28; fix the new violation instead; coverage.stale: 7 exceptions exceed the ratchet ceiling 6; fix the new violation instead; coverage.surfaces: 7 exceptions exceed the ratchet ceiling 5; fix the new violation instead; io.unresolved-call: 16613 exceptions exceed the ratchet ceiling 16541; fix the new violation instead; sql.limit: 89 exceptions exceed the ratchet ceiling 85; fix the new violation instead; total: ledger has 22576 exceptions; ratchet total is 22494 ``` This fails `bun run check` and `calternal-server --test perf_guards`. These deterministic failures block READY even though the web suite passes 305 files / 2209 tests and the editor suite passes 26 files / 509 tests.
Author
Owner

Further static audit at 72e95497b: removed the obsolete Files /shares/{id} DELETE-only router record and the removed MailReaderContent each-loop record. The live discovery already reported both as coverage.stale. Removed their two ledger/checkpoint entries; added no binding or exception. The stale-rule count is now 5, so its ceiling falls from 6 to 5 and the retained total ceiling falls from 22,494 to 22,493 under the shrink rule. Current ledger: 22,540. It remains 47 above that total ceiling. Performance guard regressions remain 140/140 passing.

First alternating release Search pair: neither production nor merged lost the second User's hit. Both reported Unicode upload-marker misses. Four pairs remain. The first one-minute Quick Look run reached 30 cycles before I stopped it to keep one browser at a time. It is exploratory output only. The final Quick Look comparisons keep the original 30-minute navigation, 100-cycle target and 2,250-second runner deadline, with opt-in wait-boundary logging. Existing assertions are unchanged.

Further static audit at 72e95497b: removed the obsolete Files /shares/{id} DELETE-only router record and the removed MailReaderContent each-loop record. The live discovery already reported both as coverage.stale. Removed their two ledger/checkpoint entries; added no binding or exception. The stale-rule count is now 5, so its ceiling falls from 6 to 5 and the retained total ceiling falls from 22,494 to 22,493 under the shrink rule. Current ledger: 22,540. It remains 47 above that total ceiling. Performance guard regressions remain 140/140 passing. First alternating release Search pair: neither production nor merged lost the second User's hit. Both reported Unicode upload-marker misses. Four pairs remain. The first one-minute Quick Look run reached 30 cycles before I stopped it to keep one browser at a time. It is exploratory output only. The final Quick Look comparisons keep the original 30-minute navigation, 100-cycle target and 2,250-second runner deadline, with opt-in wait-boundary logging. Existing assertions are unchanged.
Author
Owner

Final source/pin verification has started. The full web check confirms the remaining blocker after 36 justified removals (34 unchanged-call proofs plus two obsolete records). No ceiling was raised; the stale ceiling and total ceiling shrink by one. Exact output:

perf-lint: INVALID: exception ratchet: cache.raw-read: 387 exceptions exceed the ratchet ceiling 385; fix the new violation instead; coverage.operations: 36 exceptions exceed the ratchet ceiling 31; fix the new violation instead; coverage.routers: 33 exceptions exceed the ratchet ceiling 28; fix the new violation instead; coverage.surfaces: 7 exceptions exceed the ratchet ceiling 5; fix the new violation instead; io.unresolved-call: 16579 exceptions exceed the ratchet ceiling 16541; fix the new violation instead; sql.limit: 89 exceptions exceed the ratchet ceiling 85; fix the new violation instead; total: ledger has 22540 exceptions; ratchet total is 22493
svelte-check found 0 errors and 3 warnings in 1 file
error: script "check" exited with code 1

Ledger 22,540; ceiling 22,493; excess 47. Active per-rule debt is listed in docs/perf/merge35b-triage.md. Existing Search application code is unchanged. Comparison evidence: 0/5 committed-hit losses on production and merged, Unicode misses 5/5 on both; #1482 records the bounded result. Final Rust, web tests, editor tests, XUser and other production comparisons are running.

Final source/pin verification has started. The full web check confirms the remaining blocker after 36 justified removals (34 unchanged-call proofs plus two obsolete records). No ceiling was raised; the stale ceiling and total ceiling shrink by one. Exact output: ```text perf-lint: INVALID: exception ratchet: cache.raw-read: 387 exceptions exceed the ratchet ceiling 385; fix the new violation instead; coverage.operations: 36 exceptions exceed the ratchet ceiling 31; fix the new violation instead; coverage.routers: 33 exceptions exceed the ratchet ceiling 28; fix the new violation instead; coverage.surfaces: 7 exceptions exceed the ratchet ceiling 5; fix the new violation instead; io.unresolved-call: 16579 exceptions exceed the ratchet ceiling 16541; fix the new violation instead; sql.limit: 89 exceptions exceed the ratchet ceiling 85; fix the new violation instead; total: ledger has 22540 exceptions; ratchet total is 22493 svelte-check found 0 errors and 3 warnings in 1 file error: script "check" exited with code 1 ``` Ledger 22,540; ceiling 22,493; excess 47. Active per-rule debt is listed in docs/perf/merge35b-triage.md. Existing Search application code is unchanged. Comparison evidence: 0/5 committed-hit losses on production and merged, Unicode misses 5/5 on both; #1482 records the bounded result. Final Rust, web tests, editor tests, XUser and other production comparisons are running.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1483
No description provided.