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

Closed
kayg wants to merge 0 commits from fix/ci-web-green-swipe-window 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, #715 and #718. 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 one-open-row fixture uses its own real tag list containing the pair and seven newer notes. Unrelated updates can otherwise evict the pair from the global virtual window after the initial count check. The list helper checks the count again after readiness; the same two swipes, close/open states, transforms and no-scroll assertions remain. The rest of the suite still exercises All notes.
  • 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 matrix, 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.2m)
browsers:
  45 skipped
  171 passed (9.3m)
throttled:
  4 passed (29.7s)

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. Forty real unrelated note updates evict the old fixture from the global virtual list in both mobile browsers. The same arrivals are verified in the app index while the isolated crowded pair remains; the complete two-swipe and no-scroll assertions pass. The four dependent layout-shift cases also pass as a targeted local selection. 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: ca7aad37c2

Restores the web CI checks for #697 and #689, with the agreed 300 KB total JavaScript budget unchanged. Supersedes #696, #707, #709, #713, #714, #715 and #718. 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 one-open-row fixture uses its own real tag list containing the pair and seven newer notes. Unrelated updates can otherwise evict the pair from the global virtual window after the initial count check. The list helper checks the count again after readiness; the same two swipes, close/open states, transforms and no-scroll assertions remain. The rest of the suite still exercises All notes. - 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 matrix, 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.2m) browsers: 45 skipped 171 passed (9.3m) throttled: 4 passed (29.7s) ``` 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. Forty real unrelated note updates evict the old fixture from the global virtual list in both mobile browsers. The same arrivals are verified in the app index while the isolated crowded pair remains; the complete two-swipe and no-scroll assertions pass. The four dependent layout-shift cases also pass as a targeted local selection. 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: ca7aad37c2e8510df20375b4b4d3747b791f41f1
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
Keep the one-open-row fixture inside its own crowded list
All checks were successful
CI / server (pull_request) Successful in 1m7s
CI / rust (pull_request) Successful in 12m41s
CI / web (pull_request) Successful in 2h43m33s
ca7aad37c2
Author
Owner

Closing: head ca7aad37 is already in dev (reached via 5ffd5dd7); nothing left to merge. Branch kept.

Closing: head ca7aad37 is already in dev (reached via 5ffd5dd7); nothing left to merge. Branch kept.
kayg closed this pull request 2026-11-04 13:04:30 +00:00
All checks were successful
CI / server (pull_request) Successful in 1m7s
CI / rust (pull_request) Successful in 12m41s
CI / web (pull_request) Successful in 2h43m33s

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!719
No description provided.