Daily train 2026-11-07 (cd7f84432) #1012

Closed
opened 2026-11-07 19:37:35 +00:00 by kayg · 3 comments
Owner

Daily full-suite train on dev pinned at cd7f84432 (prod is 98f14a3d1). Gates tonight's prod deploy. Results in the comments.

Daily full-suite train on dev pinned at `cd7f84432` (prod is `98f14a3d1`). Gates tonight's prod deploy. Results in the comments.
Author
Owner

Train 2026-11-07, part 1: functional gates, first paint (pin cd7f84432, prod is 98f14a3d1)

Pin: cd7f84432 ("plan: Whiteboard" #1007). New since prod: #1003 (pinch/swipe), #1002 (title/pill), #994 and #1007 (plan docs). The diff touches no Rust (git diff 98f14a3d1 cd7f84432 -- crates Cargo.toml Cargo.lock is empty).

Hosts: dev-01 (compute02, x86_64) and dev-02 (std, aarch64), train locks held on both, SLOT_TRAIN=1, CI=1 (one app worker, WebKit one test at a time, as in CI). df before start: dev-01 63 GB free, dev-02 69 GB free, /tmp inodes 20% / 11% used.

Playwright, every project, full (no subsets)

Host split: dev-01 = chromium-1440, chromium-390, admin-chromium x2 + flow + passkeys, prefs/look/contrast/sidebar-band chain, throttled (alone, --no-deps, after the quiet gates). dev-02 = webkit-1440, webkit-390, admin-webkit x2.

Skipped = tests the specs skip themselves for this viewport/browser. I did not run the full suite at 98f14a3d1, so I have no base skip counts to compare; only failures were compared against the base (none needed it except the one below).

project host pass fail flaky skipped at 98f14a3d1
chromium-1440 dev-01 513 0 0 646 not needed (no failure)
chromium-390 dev-01 975 1 (first run) 0 183 that 1 test passes 10/10 at the base and 10/10 at the pin: see below
webkit-1440 dev-02 508 0 0 651 not needed
webkit-390 dev-02 969 0 0 190 not needed
admin-setup (dependency) dev-01 / dev-02 1 / 1 0 0 0 not needed
admin-chromium-1440 dev-01 13 0 0 12 not needed
admin-chromium-390 dev-01 13 0 0 12 not needed
admin-webkit-1440 dev-02 10 0 0 12 not needed
admin-webkit-390 dev-02 10 0 0 12 not needed
flow dev-01 1 0 0 0 not needed
passkeys dev-01 1 0 0 0 not needed
prefs-chromium dev-01 7 0 0 0 not needed
prefs-webkit dev-01 3 0 0 4 not needed
look-chromium-1440 dev-01 5 0 0 0 not needed
look-chromium-390 dev-01 5 0 0 0 not needed
look-webkit-1440 dev-01 4 0 0 1 not needed
look-webkit-390 dev-01 4 0 0 1 not needed
contrast dev-01 10 0 0 0 not needed
sidebar-band-chromium dev-01 3 0 0 0 not needed
sidebar-band-webkit dev-01 3 0 0 0 not needed
throttled-1440 dev-01 3 0 0 2 not needed
throttled-390 dev-01 5 0 0 0 not needed

Counts come from each job's Playwright JSON report (retries 0, so no run can be "flaky" inside Playwright; the flaky call below is mine, from reruns).

The one failure: chromium-390 › review4-signout.spec.ts:405 "signing in again in the signed-out document restores editing"

First run: expect.poll(... probe.get(origin/healthz) ...).toBe(200) at signout-fixture.ts:262 got 0 until the 180 s test timeout. That is the fixture's own TLS proxy (a node e2e/tls-proxy.mjs process on a port from freePort()) never answering its health probe. It happened before any app code ran. At that moment dev-01 was also running cargo test --workspace, the dist builds and chromium-390 together.

Reruns in isolation (same worktree, same debug binary):

run result
that test, --repeat-each=3 3 / 3 pass
whole review4-signout.spec.ts, chromium-390 11 / 11 pass
that test at the pin, --repeat-each=10 10 / 10 pass
that test at 98f14a3d1, --repeat-each=10 (same Rust binary, the Rust source is identical) 10 / 10 pass

It does not reproduce, and signout-fixture.ts and review4-signout.spec.ts are unchanged between 98f14a3d1 and the pin. Root cause (most likely, not proven): the fixture's TLS-proxy start-up was starved on a host that was doing a Rust test run at the same time. Per the 11-04 flaky rule it does not block. Follow-up suggestion: the fixture's wait should fail with the proxy's stderr instead of polling for 180 s (it spawns the proxy with stdio: 'ignore').

Process notes (all mine, not product)

  • My first attempt at the Playwright runs was invalid and thrown away: I started four Playwright runs in one worktree on dev-01, and they shared apps/web/test-results/, so each run's cleanup deleted the others' trace files (ENOENT .playwright-artifacts-N/..., 8 + 8 + 1 + 1 false failures). I stopped my own units, gave every job its own --output, and re-ran everything from zero. Those first logs are in the attachment under t1107-first-attempt/ for the record. webkit-390 also lost one launch to a freePort() collision when jobs started in the same second (... is already used); relaunched alone.
  • Nothing was run outside ~/bin/slot. The train locks (~/.train.lock, owner = my t1107-owner unit) are removed at the end.

Other gates (all at cd7f84432)

gate command host result
svelte-check + action types bun run check (apps/web) dev-02 pass (exit 0)
lint bun run lint (apps/web) dev-02 pass (exit 0)
web unit tests bun run test (apps/web, vitest) dev-02 pass (exit 0)
editor typecheck bun run check (packages/editor) dev-02 pass (exit 0)
editor unit tests bun run test (packages/editor) dev-02 pass (exit 0)
clippy cargo clippy --workspace --all-targets -j4 -- -D warnings (stricter than CI, which has no -D warnings) dev-01 pass, 0 warnings
cargo tests cargo test --workspace -j4 dev-01 pass, every test result ok, 0 failed
rustfmt cargo fmt --all --check dev-01 pass

First paint (brotli q11, apps/web/scripts/bundle-size.mjs, same build as production, both dists built on dev-01)

JS (brotli) CSS (brotli) JS raw CSS raw
98f14a3d1 (prod) 231,091 B 18,416 B 814,403 102,844
pin cd7f84432 230,777 B 18,386 B 812,633 102,703
delta -314 B -30 B -1,770 -141

The base numbers reproduce the figures in the brief exactly. Pin is <= base on both. Pass.

Attachments: dev01.tgz and dev02.tgz (all logs: per-project Playwright run logs, isolation reruns, clippy/cargo test output, bundle tables), summaries.txt (per-project counts from the JSON reports).

## Train 2026-11-07, part 1: functional gates, first paint (pin `cd7f84432`, prod is `98f14a3d1`) Pin: `cd7f84432` ("plan: Whiteboard" #1007). New since prod: #1003 (pinch/swipe), #1002 (title/pill), #994 and #1007 (plan docs). The diff touches **no Rust** (`git diff 98f14a3d1 cd7f84432 -- crates Cargo.toml Cargo.lock` is empty). Hosts: dev-01 (`compute02`, x86_64) and dev-02 (`std`, aarch64), train locks held on both, `SLOT_TRAIN=1`, `CI=1` (one app worker, WebKit one test at a time, as in CI). `df` before start: dev-01 63 GB free, dev-02 69 GB free, /tmp inodes 20% / 11% used. ### Playwright, every project, full (no subsets) Host split: dev-01 = chromium-1440, chromium-390, admin-chromium x2 + flow + passkeys, prefs/look/contrast/sidebar-band chain, throttled (alone, `--no-deps`, after the quiet gates). dev-02 = webkit-1440, webkit-390, admin-webkit x2. Skipped = tests the specs skip themselves for this viewport/browser. I did not run the full suite at 98f14a3d1, so I have no base skip counts to compare; only failures were compared against the base (none needed it except the one below). | project | host | pass | fail | flaky | skipped | at 98f14a3d1 | |---|---|---:|---:|---:|---:|---| | chromium-1440 | dev-01 | 513 | 0 | 0 | 646 | not needed (no failure) | | chromium-390 | dev-01 | 975 | **1** (first run) | 0 | 183 | that 1 test passes 10/10 at the base and 10/10 at the pin: see below | | webkit-1440 | dev-02 | 508 | 0 | 0 | 651 | not needed | | webkit-390 | dev-02 | 969 | 0 | 0 | 190 | not needed | | admin-setup (dependency) | dev-01 / dev-02 | 1 / 1 | 0 | 0 | 0 | not needed | | admin-chromium-1440 | dev-01 | 13 | 0 | 0 | 12 | not needed | | admin-chromium-390 | dev-01 | 13 | 0 | 0 | 12 | not needed | | admin-webkit-1440 | dev-02 | 10 | 0 | 0 | 12 | not needed | | admin-webkit-390 | dev-02 | 10 | 0 | 0 | 12 | not needed | | flow | dev-01 | 1 | 0 | 0 | 0 | not needed | | passkeys | dev-01 | 1 | 0 | 0 | 0 | not needed | | prefs-chromium | dev-01 | 7 | 0 | 0 | 0 | not needed | | prefs-webkit | dev-01 | 3 | 0 | 0 | 4 | not needed | | look-chromium-1440 | dev-01 | 5 | 0 | 0 | 0 | not needed | | look-chromium-390 | dev-01 | 5 | 0 | 0 | 0 | not needed | | look-webkit-1440 | dev-01 | 4 | 0 | 0 | 1 | not needed | | look-webkit-390 | dev-01 | 4 | 0 | 0 | 1 | not needed | | contrast | dev-01 | 10 | 0 | 0 | 0 | not needed | | sidebar-band-chromium | dev-01 | 3 | 0 | 0 | 0 | not needed | | sidebar-band-webkit | dev-01 | 3 | 0 | 0 | 0 | not needed | | throttled-1440 | dev-01 | 3 | 0 | 0 | 2 | not needed | | throttled-390 | dev-01 | 5 | 0 | 0 | 0 | not needed | Counts come from each job's Playwright JSON report (retries 0, so no run can be "flaky" inside Playwright; the flaky call below is mine, from reruns). ### The one failure: `chromium-390 › review4-signout.spec.ts:405` "signing in again in the signed-out document restores editing" First run: `expect.poll(... probe.get(origin/healthz) ...).toBe(200)` at `signout-fixture.ts:262` got `0` until the 180 s test timeout. That is the fixture's own TLS proxy (a `node e2e/tls-proxy.mjs` process on a port from `freePort()`) never answering its health probe. It happened before any app code ran. At that moment dev-01 was also running `cargo test --workspace`, the dist builds and `chromium-390` together. Reruns in isolation (same worktree, same debug binary): | run | result | |---|---| | that test, `--repeat-each=3` | 3 / 3 pass | | whole `review4-signout.spec.ts`, chromium-390 | 11 / 11 pass | | that test at the **pin**, `--repeat-each=10` | 10 / 10 pass | | that test at **98f14a3d1**, `--repeat-each=10` (same Rust binary, the Rust source is identical) | 10 / 10 pass | It does not reproduce, and `signout-fixture.ts` and `review4-signout.spec.ts` are unchanged between 98f14a3d1 and the pin. Root cause (most likely, not proven): the fixture's TLS-proxy start-up was starved on a host that was doing a Rust test run at the same time. Per the 11-04 flaky rule it does not block. Follow-up suggestion: the fixture's wait should fail with the proxy's stderr instead of polling for 180 s (it spawns the proxy with `stdio: 'ignore'`). ### Process notes (all mine, not product) - My **first attempt** at the Playwright runs was invalid and thrown away: I started four Playwright runs in one worktree on dev-01, and they shared `apps/web/test-results/`, so each run's cleanup deleted the others' trace files (`ENOENT .playwright-artifacts-N/...`, 8 + 8 + 1 + 1 false failures). I stopped my own units, gave every job its own `--output`, and re-ran everything from zero. Those first logs are in the attachment under `t1107-first-attempt/` for the record. `webkit-390` also lost one launch to a `freePort()` collision when jobs started in the same second (`... is already used`); relaunched alone. - Nothing was run outside `~/bin/slot`. The train locks (`~/.train.lock`, owner = my `t1107-owner` unit) are removed at the end. ### Other gates (all at `cd7f84432`) | gate | command | host | result | |---|---|---|---| | svelte-check + action types | `bun run check` (apps/web) | dev-02 | pass (exit 0) | | lint | `bun run lint` (apps/web) | dev-02 | pass (exit 0) | | web unit tests | `bun run test` (apps/web, vitest) | dev-02 | pass (exit 0) | | editor typecheck | `bun run check` (packages/editor) | dev-02 | pass (exit 0) | | editor unit tests | `bun run test` (packages/editor) | dev-02 | pass (exit 0) | | clippy | `cargo clippy --workspace --all-targets -j4 -- -D warnings` (stricter than CI, which has no `-D warnings`) | dev-01 | pass, 0 warnings | | cargo tests | `cargo test --workspace -j4` | dev-01 | pass, every `test result` ok, 0 failed | | rustfmt | `cargo fmt --all --check` | dev-01 | pass | ### First paint (brotli q11, `apps/web/scripts/bundle-size.mjs`, same build as production, both dists built on dev-01) | | JS (brotli) | CSS (brotli) | JS raw | CSS raw | |---|---:|---:|---:|---:| | 98f14a3d1 (prod) | 231,091 B | 18,416 B | 814,403 | 102,844 | | pin cd7f84432 | **230,777 B** | **18,386 B** | 812,633 | 102,703 | | delta | **-314 B** | **-30 B** | -1,770 | -141 | The base numbers reproduce the figures in the brief exactly. Pin is <= base on both. **Pass.** Attachments: `dev01.tgz` and `dev02.tgz` (all logs: per-project Playwright run logs, isolation reruns, clippy/cargo test output, bundle tables), `summaries.txt` (per-project counts from the JSON reports).
Author
Owner

Train 2026-11-07, part 2: perf sanity (#1002 title/pill, #1003 pinch/swipe), pin cd7f84432 vs prod 98f14a3d1

Setup

  • perf-02 (4 vCPU), holding perf-lock on perf-01 first, then perf-02, both held for the whole run. Run on perf-02. Locks released right after (my units stopped, checked inactive).
  • One release binary for both arms (cargo build --release --locked -p calternal -p calternal-fixtures at the pin, sha256 85d52e66…8793, copied to perf-02 and verified). Valid for both because the diff has no Rust (git diff 98f14a3d1 cd7f84432 -- crates Cargo.toml Cargo.lock is empty). The arms differ only in the built web app: dist-base and dist-pin, both built on dev-01 with vite build.
  • 10k-note fixture Home (calternal-fixtures --notes 10000 --seed 1, 60 MB), fresh copy for every run. Chromium (Playwright 1.63 from the Nix browsers profile), CPU slowed 4x via CDP, as in perf/web.sh.
  • ABAB x 5: each of 5 rounds ran base (A1), pin (B1), base (A2), pin (B2). So there are 10 runs per side, a base-vs-base control inside the same session (A1 vs A2) and a pin-vs-pin repeat (B1 vs B2). 20 runs, 40 Playwright invocations, all exit 0. One session, so one perf epoch (the brief's current epoch starts 14:16 IST 11-06; I saw no later pinning or reboot notice).
  • What ran, per run:
    • phone note scroll: a throwaway probe phone-scroll.perf.ts (attached; not in the repo). Pixel 7 profile at 390x844, real touch flings through CDP (Input.synthesizeScrollGesture, 8 rounds of -900/+900 px) in the 50,000-word note. Records frame times (rAF deltas) and the main thread's CPU time (trace, the repo's cpuDuring).
    • phone list scroll: the same, in All notes (10,003 rows, opened at #/list/all).
    • desktop wheel scroll: the repo's own perf/scroll.perf.ts (1440 wide, wheel flings) in Chromium, long note and All notes.
  • CPU time is the number to compare (frame times in headless Linux are locked to 60 Hz buckets, so p95 barely moves; per the repo docs and the brief, Linux frame numbers show that a gesture ran and are not a frame-rate claim).

Result (median over 10 runs per side; "control" = A2 - A1, both base)

path metric base A1 base A2 control pin B1 pin B2 base (10) pin (10) delta delta % Mann-Whitney p
phone note scroll main-thread CPU, ms 882.7 958.3 +75.6 940.6 847.0 890.3 910.6 +20.3 +2.3 % 0.76
phone note scroll frames > 50 ms 0 1 +1 1 0 1 0 -1 n/a 0.55
phone note scroll p95 frame, ms 16.7 16.8 +0.1 16.8 16.8 16.8 16.8 +0.1 +0.3 % n/a
phone list scroll main-thread CPU, ms 806.2 807.6 +1.4 830.8 779.9 806.9 791.6 -15.4 -1.9 % 0.29
phone list scroll frames > 50 ms 0 0 0 0 0 0 0 0 n/a n/a
phone list scroll p95 frame, ms 16.8 16.8 0.0 16.7 16.8 16.8 16.8 -0.1 -0.3 % n/a
desktop long note (wheel) frames > 50 ms 124 129 +5 132 128 124 128.5 +4.5 +3.6 % 0.31
desktop long note (wheel) p95 frame, ms 83.4 83.4 0.0 83.4 83.4 83.4 83.4 0.0 0.0 % n/a
desktop All notes (wheel) frames > 50 ms 0 0 0 0 0 0 0 0 n/a n/a
desktop All notes (wheel) p95 frame, ms 16.8 16.7 -0.1 16.8 16.7 16.8 16.8 0.0 0.0 % n/a

Per-run CPU (ms), rounds 1 to 5:

metric A1 (base) B1 (pin) A2 (base) B2 (pin)
phone note CPU 843 859 971 898 883 938 878 941 1054 991 830 958 827 1058 1067 810 847 940 883 511
phone list CPU 772 791 861 862 806 849 780 735 831 930 780 808 769 880 856 780 845 758 803 450

Reading it, honestly

  • No regression is detectable on any of the three paths. Every pin-vs-base delta is smaller than, or the same size as, the base-vs-base control in the same session (note CPU: pin +20 ms vs control +76 ms; desktop janky frames: +4.5 vs control +5; list CPU: pin is lower). No difference is significant (p 0.29 to 0.76). Dropping each side's min and max gives note CPU -1.0 %, list CPU -2.4 %, desktop janky +2.8 %.
  • The probe is noisy: standard deviation is 40 to 140 ms on 800 to 900 ms (about 5 to 15 %). The last pin run of the last round (r5 B2) dropped to 511 and 450 ms in both phone tests, which I did not chase. So this run can rule out a large regression (about 10 % or more) but cannot prove "exactly flat". If you need tighter, it needs more rounds or the Mac VM.
  • Frame times are quantised at 16.7 ms and identical across arms. Real frame-rate for touch scroll and the swipe gestures was not measured here (the brief says that belongs on the Mac VM); no Mac frame run was part of this task.
  • The desktop long-note wheel scroll under 4x slowdown is janky on both arms (about 125 frames over 50 ms of about 226); that is a pre-existing number, gate: false in perf/budgets.json, unchanged by the pin.

What went wrong on the way (so nobody repeats it)

  • Lost 3 hours queueing, my fault. My first lock holder (t1107-hold on perf-01) was stopped at 20:39 on the VM clock, 7 minutes after I started it (journal: Stopping/Stopped t1107-hold.service; linger is on; I do not know what stopped it, most likely another agent's cleanup matching *hold*). I only watched for the "lock acquired" marker, not for the unit, so I waited about 3 hours without being in the queue. I re-queued at 23:36 under another name, checked the unit on every wait cycle, and got perf-01 at 00:36 and perf-02 at 01:13 (by the process paths, a mail-p1b run, run-matrix-v5, held perf-01, and a flock … sleep 7200 hold held perf-02 until it ended). Nobody's lock was broken.
  • First ABAB attempt failed at once (no data): the shared ~/perf/pickers-ab/fc/fonts.conf points at a dejavu store path that has since been garbage-collected (SkFontMgr_FontConfigInterface: Not implemented, Chromium aborts). I did not touch the shared file; I made ~/perf/t1107/fc/fonts.conf with a dejavu path that still exists, the same for both arms, and re-ran from zero. Someone should fix pickers-ab/fc (the earlier perf scripts that use it will fail the same way).
  • The phone probe took 3 smoke iterations on dev-01 first (list route is #/list/all on a phone; the scroller is taller than the screen, so the gesture point must be clamped to the viewport). Smoke run only, never used for the comparison.

Cleaned up: train locks and owner units, pw-out, smoke Home, test copies and target/ dirs on dev-01/dev-02, ~/perf/t1107 on perf-02, my perf locks on both VMs.

Attachments: perf-out.tgz (every run's metrics.jsonl and logs, env.log with load per run), analysis.txt, probe-scripts.tgz (analyze.py, abab.sh, phone-scroll.perf.ts, playwright.phone.config.ts: the throwaway probe and runner, attached here, not committed).

Verdict: GREEN (deployable) at cd7f84432

  • Every Playwright project passed in full; the one first-run failure (review4-signout:405, fixture TLS-proxy start-up under load) passed 3/3, 10/10 at the pin and 10/10 at 98f14a3d1, so it does not block (11-04 flaky rule). Suggest a stability issue for that fixture.
  • Unit tests, bun run check, bun run lint, cargo test --workspace, clippy (with -D warnings) and cargo fmt --check all pass.
  • First paint 230,777 B JS / 18,386 B CSS brotli, both below 231,091 / 18,416.
  • Perf: no regression detectable on phone note scroll, phone list scroll or desktop scroll; the caveats above (noisy probe, no Mac frame run) stand.
## Train 2026-11-07, part 2: perf sanity (#1002 title/pill, #1003 pinch/swipe), pin `cd7f84432` vs prod `98f14a3d1` ### Setup - perf-02 (4 vCPU), holding `perf-lock` on **perf-01 first, then perf-02**, both held for the whole run. Run on perf-02. Locks released right after (my units stopped, checked inactive). - One **release binary** for both arms (`cargo build --release --locked -p calternal -p calternal-fixtures` at the pin, sha256 `85d52e66…8793`, copied to perf-02 and verified). Valid for both because the diff has **no Rust** (`git diff 98f14a3d1 cd7f84432 -- crates Cargo.toml Cargo.lock` is empty). The arms differ only in the built web app: `dist-base` and `dist-pin`, both built on dev-01 with `vite build`. - 10k-note fixture Home (`calternal-fixtures --notes 10000 --seed 1`, 60 MB), fresh copy for every run. Chromium (Playwright 1.63 from the Nix browsers profile), CPU slowed 4x via CDP, as in `perf/web.sh`. - **ABAB x 5**: each of 5 rounds ran base (A1), pin (B1), base (A2), pin (B2). So there are 10 runs per side, a base-vs-base **control** inside the same session (A1 vs A2) and a pin-vs-pin repeat (B1 vs B2). 20 runs, 40 Playwright invocations, all exit 0. One session, so one perf epoch (the brief's current epoch starts 14:16 IST 11-06; I saw no later pinning or reboot notice). - What ran, per run: - **phone note scroll**: a throwaway probe `phone-scroll.perf.ts` (attached; not in the repo). Pixel 7 profile at 390x844, real touch flings through CDP (`Input.synthesizeScrollGesture`, 8 rounds of -900/+900 px) in the 50,000-word note. Records frame times (rAF deltas) and the main thread's CPU time (trace, the repo's `cpuDuring`). - **phone list scroll**: the same, in All notes (10,003 rows, opened at `#/list/all`). - **desktop wheel scroll**: the repo's own `perf/scroll.perf.ts` (1440 wide, wheel flings) in Chromium, long note and All notes. - CPU time is the number to compare (frame times in headless Linux are locked to 60 Hz buckets, so p95 barely moves; per the repo docs and the brief, Linux frame numbers show that a gesture ran and are not a frame-rate claim). ### Result (median over 10 runs per side; "control" = A2 - A1, both base) | path | metric | base A1 | base A2 | control | pin B1 | pin B2 | base (10) | pin (10) | delta | delta % | Mann-Whitney p | |---|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:| | phone note scroll | main-thread CPU, ms | 882.7 | 958.3 | +75.6 | 940.6 | 847.0 | 890.3 | 910.6 | +20.3 | +2.3 % | 0.76 | | phone note scroll | frames > 50 ms | 0 | 1 | +1 | 1 | 0 | 1 | 0 | -1 | n/a | 0.55 | | phone note scroll | p95 frame, ms | 16.7 | 16.8 | +0.1 | 16.8 | 16.8 | 16.8 | 16.8 | +0.1 | +0.3 % | n/a | | phone list scroll | main-thread CPU, ms | 806.2 | 807.6 | +1.4 | 830.8 | 779.9 | 806.9 | 791.6 | -15.4 | -1.9 % | 0.29 | | phone list scroll | frames > 50 ms | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | n/a | n/a | | phone list scroll | p95 frame, ms | 16.8 | 16.8 | 0.0 | 16.7 | 16.8 | 16.8 | 16.8 | -0.1 | -0.3 % | n/a | | desktop long note (wheel) | frames > 50 ms | 124 | 129 | +5 | 132 | 128 | 124 | 128.5 | +4.5 | +3.6 % | 0.31 | | desktop long note (wheel) | p95 frame, ms | 83.4 | 83.4 | 0.0 | 83.4 | 83.4 | 83.4 | 83.4 | 0.0 | 0.0 % | n/a | | desktop All notes (wheel) | frames > 50 ms | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | n/a | n/a | | desktop All notes (wheel) | p95 frame, ms | 16.8 | 16.7 | -0.1 | 16.8 | 16.7 | 16.8 | 16.8 | 0.0 | 0.0 % | n/a | Per-run CPU (ms), rounds 1 to 5: | metric | A1 (base) | B1 (pin) | A2 (base) | B2 (pin) | |---|---|---|---|---| | phone note CPU | 843 859 971 898 883 | 938 878 941 1054 991 | 830 958 827 1058 1067 | 810 847 940 883 511 | | phone list CPU | 772 791 861 862 806 | 849 780 735 831 930 | 780 808 769 880 856 | 780 845 758 803 450 | ### Reading it, honestly - **No regression is detectable on any of the three paths.** Every pin-vs-base delta is smaller than, or the same size as, the base-vs-base control in the same session (note CPU: pin +20 ms vs control +76 ms; desktop janky frames: +4.5 vs control +5; list CPU: pin is lower). No difference is significant (p 0.29 to 0.76). Dropping each side's min and max gives note CPU -1.0 %, list CPU -2.4 %, desktop janky +2.8 %. - **The probe is noisy**: standard deviation is 40 to 140 ms on 800 to 900 ms (about 5 to 15 %). The last pin run of the last round (r5 B2) dropped to 511 and 450 ms in both phone tests, which I did not chase. So this run can rule out a large regression (about 10 % or more) but cannot prove "exactly flat". If you need tighter, it needs more rounds or the Mac VM. - **Frame times** are quantised at 16.7 ms and identical across arms. Real frame-rate for touch scroll and the swipe gestures was not measured here (the brief says that belongs on the Mac VM); no Mac frame run was part of this task. - The desktop long-note wheel scroll under 4x slowdown is janky on **both** arms (about 125 frames over 50 ms of about 226); that is a pre-existing number, gate: false in `perf/budgets.json`, unchanged by the pin. ### What went wrong on the way (so nobody repeats it) - **Lost 3 hours queueing, my fault.** My first lock holder (`t1107-hold` on perf-01) was stopped at 20:39 on the VM clock, 7 minutes after I started it (journal: `Stopping/Stopped t1107-hold.service`; linger is on; I do not know what stopped it, most likely another agent's cleanup matching `*hold*`). I only watched for the "lock acquired" marker, not for the unit, so I waited about 3 hours without being in the queue. I re-queued at 23:36 under another name, checked the unit on every wait cycle, and got perf-01 at 00:36 and perf-02 at 01:13 (by the process paths, a `mail-p1b` run, `run-matrix-v5`, held perf-01, and a `flock … sleep 7200` hold held perf-02 until it ended). Nobody's lock was broken. - **First ABAB attempt failed at once (no data):** the shared `~/perf/pickers-ab/fc/fonts.conf` points at a dejavu store path that has since been garbage-collected (`SkFontMgr_FontConfigInterface: Not implemented`, Chromium aborts). I did not touch the shared file; I made `~/perf/t1107/fc/fonts.conf` with a dejavu path that still exists, the same for both arms, and re-ran from zero. Someone should fix `pickers-ab/fc` (the earlier perf scripts that use it will fail the same way). - The phone probe took 3 smoke iterations on dev-01 first (list route is `#/list/all` on a phone; the scroller is taller than the screen, so the gesture point must be clamped to the viewport). Smoke run only, never used for the comparison. Cleaned up: train locks and owner units, `pw-out`, smoke Home, test copies and `target/` dirs on dev-01/dev-02, `~/perf/t1107` on perf-02, my perf locks on both VMs. Attachments: `perf-out.tgz` (every run's metrics.jsonl and logs, env.log with load per run), `analysis.txt`, `probe-scripts.tgz` (analyze.py, abab.sh, phone-scroll.perf.ts, playwright.phone.config.ts: the throwaway probe and runner, attached here, not committed). ## Verdict: GREEN (deployable) at `cd7f84432` - Every Playwright project passed in full; the one first-run failure (`review4-signout:405`, fixture TLS-proxy start-up under load) passed 3/3, 10/10 at the pin and 10/10 at 98f14a3d1, so it does not block (11-04 flaky rule). Suggest a stability issue for that fixture. - Unit tests, `bun run check`, `bun run lint`, `cargo test --workspace`, clippy (with `-D warnings`) and `cargo fmt --check` all pass. - First paint 230,777 B JS / 18,386 B CSS brotli, both below 231,091 / 18,416. - Perf: no regression detectable on phone note scroll, phone list scroll or desktop scroll; the caveats above (noisy probe, no Mac frame run) stand.
Author
Owner

Housekeeping: linked PR #1007 is merged into dev. The final report explicitly gives the completed train a GREEN (deployable) verdict at cd7f84432, including full gates and perf. Closing the completed issue.

Housekeeping: linked PR #1007 is merged into dev. The final report explicitly gives the completed train a GREEN (deployable) verdict at cd7f84432, including full gates and perf. Closing the completed issue.
kayg closed this issue 2026-11-10 16:07:17 +00:00
Sign in to join this conversation.
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#1012
No description provided.