CI: restore web gates and correct browser fixture assertions #713

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

The web job lacked ripgrep for sign-out disk assertions and hit its 60-minute deadline before the full matrix reported failures. Supply the tool in the image and cached-image workflow, use Ubuntu's public mirror, report assertions immediately, and run the shared app fixtures serially with a three-hour job deadline.

Two browser fixture errors also surfaced during CI. The selector test compared the correctly placed capsule with its option during press scaling. It now records the resting target and checks both capsule edges at first show, keeping the original tolerance and exercising press feedback deterministically. The shortcut test searched for "on" in the entire note and sometimes selected the generated metadata ID instead of "- one". Its fixture ID now deliberately contains the caret words, while its body-specific anchors preserve every existing duplication, caret, and selection assertion.

Supersedes #696, #707 and #709. The requested dev base already contains #696's bundle work through 01505c2a. Product code and budgets are unchanged: total JavaScript remains 300 KB, first-screen JavaScript 240 KB and CSS 22.1 KB.

Corrected CI image builds. Lint passes all 15 checker tests and checks 414 source files. Editor and app typechecks pass (0 errors, 14 existing warnings); unit tests pass (299 editor, 38 UI), the two Rust durability tests and all nine real-server SyncClient tests pass. Bundle gate passes: 239.54 KB first JS, 20.66 KB first CSS, 299.71 KB total JS, 37.90 KB opt-in JS.

Verbatim browser totals:

primitives:
  84 passed (2.3m)
browsers:
  15 skipped
  137 passed (18.8m)
supplemental:
  23 skipped
  61 passed (4.0m)
shortcuts:
  20 passed (1.1m)

Full PR CI is pending. Local app selections target historical failures at all four browser/width combinations, honoring the job's rule against full local projects; Forgejo runs the complete matrix. The unchanged selected app specs retain their checks from 102e8418. The changed selector and shortcuts specs are verified separately in full on the corrected fixtures.

The original selector comparator fails under a held press in both browsers; the corrected first-state assertion passes 20 repeats. The colliding shortcut ID makes the old setup fail all four browser/platform combinations; the corrected whole shortcuts spec passes 20 cases across Chromium/WebKit and Meta/Control. No assertion, test timeout, test selection, skip, retry, or bundle limit was weakened.

Issues: #697 and #689.

Head: 72c990db1a

The web job lacked ripgrep for sign-out disk assertions and hit its 60-minute deadline before the full matrix reported failures. Supply the tool in the image and cached-image workflow, use Ubuntu's public mirror, report assertions immediately, and run the shared app fixtures serially with a three-hour job deadline. Two browser fixture errors also surfaced during CI. The selector test compared the correctly placed capsule with its option during press scaling. It now records the resting target and checks both capsule edges at first show, keeping the original tolerance and exercising press feedback deterministically. The shortcut test searched for "on" in the entire note and sometimes selected the generated metadata ID instead of "- one". Its fixture ID now deliberately contains the caret words, while its body-specific anchors preserve every existing duplication, caret, and selection assertion. Supersedes #696, #707 and #709. The requested dev base already contains #696's bundle work through 01505c2a. Product code and budgets are unchanged: total JavaScript remains 300 KB, first-screen JavaScript 240 KB and CSS 22.1 KB. Corrected CI image builds. Lint passes all 15 checker tests and checks 414 source files. Editor and app typechecks pass (0 errors, 14 existing warnings); unit tests pass (299 editor, 38 UI), the two Rust durability tests and all nine real-server SyncClient tests pass. Bundle gate passes: 239.54 KB first JS, 20.66 KB first CSS, 299.71 KB total JS, 37.90 KB opt-in JS. Verbatim browser totals: ```text primitives: 84 passed (2.3m) browsers: 15 skipped 137 passed (18.8m) supplemental: 23 skipped 61 passed (4.0m) shortcuts: 20 passed (1.1m) ``` Full PR CI is pending. Local app selections target historical failures at all four browser/width combinations, honoring the job's rule against full local projects; Forgejo runs the complete matrix. The unchanged selected app specs retain their checks from 102e8418. The changed selector and shortcuts specs are verified separately in full on the corrected fixtures. The original selector comparator fails under a held press in both browsers; the corrected first-state assertion passes 20 repeats. The colliding shortcut ID makes the old setup fail all four browser/platform combinations; the corrected whole shortcuts spec passes 20 cases across Chromium/WebKit and Meta/Control. No assertion, test timeout, test selection, skip, retry, or bundle limit was weakened. Issues: #697 and #689. Head: 72c990db1ac4f993b7078da168c11412d6cfe020
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
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:33 +00:00
Some checks failed
CI / server (pull_request) Successful in 1m8s
CI / rust (pull_request) Successful in 20m43s
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!713
No description provided.