CI: restore web checks and fix startup and fixture races #718

Closed
kayg wants to merge 0 commits from fix/ci-web-green-list-open into dev
Owner

Restores the web CI checks for #697 and #689, with the agreed 300 KB total JavaScript budget unchanged. Supersedes #696, #707, #709, #713, #714 and #715. The bundle work from #696 is already in dev at 26388703; no budget is raised here.

The cached web image lacked ripgrep, which sign-out tests use to inspect their fixture disk. Install it in the image and support older cached images in the workflow; use the public Ubuntu mirror because the inherited Azure mirror stalled. Run app cases with one CI worker because they share a vault and a served shell that update tests rewrite. Allow the complete matrix three hours and report failures immediately; previous runs died at the 60-minute job deadline before printing assertions.

Fix the failures that the complete run exposed:

  • Idle warming waits for the existing session startup promise before building the notes tab. Opening today's editor earlier could join a day before it existed or omit its date heading. The daily-note test holds the startup list until warming runs, then keeps its existing sync, date-heading, disk-write and log assertions.
  • Swipe fixtures are placed clear of the fixed phone dock before either row opens. A row inside the viewport could still sit behind the New note button. The crowded-list regression checks that opening the second row closes the first without any scroll; input waits report their actual obstruction and still send each gesture once. Swipe state and content assertions remain.
  • Horizontal-scroll fixtures wait for daily startup, the complete list and existing animation readiness before measuring or clicking. A controlled held-request probe shows startup inserting a real row under a pressed pointer and losing the click; the fixture keeps native clicks and now checks the exact seeded note URL. This overlap explains the remaining timeout plausibly; the failed CI trace was unavailable, so its exact event sequence is unconfirmed.
  • The selector checks both capsule edges at first appearance against the resting target. A pressed option is scaled and is the wrong reference; the original 1.5 px tolerance remains.
  • Duplicate-line shortcuts use complete body anchors. The fixture ID deliberately contains the old short search words, proving that the caret stays out of metadata.

No format rules, test selection, retries, skips or performance budgets are changed. No evidence or artifacts are committed. Reproduction details, first error lines and verbatim gate output are in #697 and #689.

All local gates refreshed in the corrected CI image; wrapper exit 0. Lint includes the filter-motion check. Typecheck and unit tests pass, as do both Rust durability tests and the nine real-server SyncClient tests. Bundle gate passes with unchanged limits: 239.375000 KB first JS, 20.662109 KB first CSS, 299.531250 KB total JS, 37.944336 KB opt-in JS.

Verbatim browser totals:

primitives:
  84 passed (2.4m)
browsers:
  45 skipped
  171 passed (9.5m)

The existing daily-note startup case failed in both desktop browsers before the fix and passes in all four combinations afterward. A crowded-list probe found the New note dock button covering the intended finger point at (334, 815). The old actionability helper failed one of six crowded-case repeats; placing both rows clear of the dock passed ten repeats and preserves a new assertion that no scroll closes the first row. The complete swipe and horizontal-scroll specs are included in the refreshed browser selection. A controlled held-request startup overlap lost the native click in both Chromium and WebKit; waiting for startup and list motion before input passes the same controlled setup. This is an inferred explanation of the failed CI event sequence, whose trace was unavailable. The selector first-state check passed 20 repeats. The old ambiguous shortcut anchors failed all four browser/platform combinations with a colliding metadata ID; the complete corrected shortcut spec passes. No fixed sleeps were added. Per the job hard rule, app selections were targeted locally; Forgejo runs the complete matrix. Full local gate output and reproduction evidence are in #697 and #689.

Full PR CI is pending.

Head: 52cc654d73

Restores the web CI checks for #697 and #689, with the agreed 300 KB total JavaScript budget unchanged. Supersedes #696, #707, #709, #713, #714 and #715. The bundle work from #696 is already in dev at 26388703; no budget is raised here. The cached web image lacked ripgrep, which sign-out tests use to inspect their fixture disk. Install it in the image and support older cached images in the workflow; use the public Ubuntu mirror because the inherited Azure mirror stalled. Run app cases with one CI worker because they share a vault and a served shell that update tests rewrite. Allow the complete matrix three hours and report failures immediately; previous runs died at the 60-minute job deadline before printing assertions. Fix the failures that the complete run exposed: - Idle warming waits for the existing session startup promise before building the notes tab. Opening today's editor earlier could join a day before it existed or omit its date heading. The daily-note test holds the startup list until warming runs, then keeps its existing sync, date-heading, disk-write and log assertions. - Swipe fixtures are placed clear of the fixed phone dock before either row opens. A row inside the viewport could still sit behind the New note button. The crowded-list regression checks that opening the second row closes the first without any scroll; input waits report their actual obstruction and still send each gesture once. Swipe state and content assertions remain. - Horizontal-scroll fixtures wait for daily startup, the complete list and existing animation readiness before measuring or clicking. A controlled held-request probe shows startup inserting a real row under a pressed pointer and losing the click; the fixture keeps native clicks and now checks the exact seeded note URL. This overlap explains the remaining timeout plausibly; the failed CI trace was unavailable, so its exact event sequence is unconfirmed. - The selector checks both capsule edges at first appearance against the resting target. A pressed option is scaled and is the wrong reference; the original 1.5 px tolerance remains. - Duplicate-line shortcuts use complete body anchors. The fixture ID deliberately contains the old short search words, proving that the caret stays out of metadata. No format rules, test selection, retries, skips or performance budgets are changed. No evidence or artifacts are committed. Reproduction details, first error lines and verbatim gate output are in #697 and #689. All local gates refreshed in the corrected CI image; wrapper exit 0. Lint includes the filter-motion check. Typecheck and unit tests pass, as do both Rust durability tests and the nine real-server SyncClient tests. Bundle gate passes with unchanged limits: 239.375000 KB first JS, 20.662109 KB first CSS, 299.531250 KB total JS, 37.944336 KB opt-in JS. Verbatim browser totals: ```text primitives: 84 passed (2.4m) browsers: 45 skipped 171 passed (9.5m) ``` The existing daily-note startup case failed in both desktop browsers before the fix and passes in all four combinations afterward. A crowded-list probe found the New note dock button covering the intended finger point at (334, 815). The old actionability helper failed one of six crowded-case repeats; placing both rows clear of the dock passed ten repeats and preserves a new assertion that no scroll closes the first row. The complete swipe and horizontal-scroll specs are included in the refreshed browser selection. A controlled held-request startup overlap lost the native click in both Chromium and WebKit; waiting for startup and list motion before input passes the same controlled setup. This is an inferred explanation of the failed CI event sequence, whose trace was unavailable. The selector first-state check passed 20 repeats. The old ambiguous shortcut anchors failed all four browser/platform combinations with a colliding metadata ID; the complete corrected shortcut spec passes. No fixed sleeps were added. Per the job hard rule, app selections were targeted locally; Forgejo runs the complete matrix. Full local gate output and reproduction evidence are in #697 and #689. Full PR CI is pending. Head: 52cc654d731dd83d60f65823a37732841736efc2
CI: supply browser test tools and run shared fixtures serially
Some checks failed
CI / server (pull_request) Successful in 1m16s
CI / web (pull_request) Failing after 3m2s
CI / rust (pull_request) Successful in 13m49s
102e841889
Test selector first placement against resting option bounds
Some checks failed
CI / server (pull_request) Successful in 1m36s
CI / rust (pull_request) Successful in 24m25s
CI / web (pull_request) Has been cancelled
c8daee13cc
Anchor shortcut fixture carets to body blocks despite matching metadata
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 20m43s
CI / web (pull_request) Has been cancelled
72c990db1a
Wait for startup before warming the editor and target swipe gestures
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 13m50s
CI / web (pull_request) Has been cancelled
66898152f1
Keep swipe fixtures clear of the fixed phone dock
Some checks failed
CI / server (pull_request) Successful in 1m25s
CI / rust (pull_request) Failing after 16m52s
CI / web (pull_request) Failing after 2h48m23s
1ddde156b7
Wait for daily startup before list geometry input
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 12m36s
CI / web (pull_request) Has been cancelled
52cc654d73
Author
Owner

Superseded by #719, which landed on dev.

Superseded by #719, which landed on dev.
kayg closed this pull request 2026-10-28 07:52:35 +00:00
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 12m36s
CI / web (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
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!718
No description provided.