Daily train 2026-11-06: RED (D 935fdcacd) — blocker #990 #989

Closed
opened 2026-11-06 17:01:42 +00:00 by kayg · 4 comments
Owner

Daily train 2026-11-06: RED on 935fdcacd9cf2837d313817d6786d8a810b3bdaa (D)

D = origin/dev head pinned at 22:30 IST (17:00 UTC), includes #832. Prod = hotfix 71827028. One blocker: #990 (from #981). Stability: #991, #992. Not deployed. Full gate table in the comments.

# Daily train 2026-11-06: **RED** on `935fdcacd9cf2837d313817d6786d8a810b3bdaa` (D) D = origin/dev head pinned at 22:30 IST (17:00 UTC), includes #832. Prod = hotfix `71827028`. One blocker: **#990** (from #981). Stability: #991, #992. Not deployed. Full gate table in the comments.
Author
Owner

Interim (01:45 IST 11-07): RED so far on D 935fdcacd — one blocker, from #981

Playwright (CI=1, workers=1, retries=0, first run): Chromium dev-01 1527 passed, 846 skipped, 5 failed; WebKit dev-02 1521 passed, 858 skipped, 4 failed; throttled 8 passed.

Blocker: composer-tasks.spec.ts (:51 and :82). --repeat-each=10, same spec on D and on prod 71827028:

  • D: chromium-1440 fails 10/20 (every run after the first), chromium-390 10/20, webkit-1440 19/30, webkit-390 fails too. Prod: 0 failures (webkit-1440 120 passed, chromium 120/30 passed).
  • Bisect (webkit-1440, spec alone, x10): 7b1f90b2f (just before #981) 30/30 pass; db15794ac (merge of #981) 19/30 fail. Owning PR: #981 (fix/journal-trash-fresh: "today's note in Trash makes a fresh note").
  • What happens: the first task of a day makes the day note, Undo moves it to Trash; the next tasks.create answers "Couldn't add it. Try again." (toast), nothing is written. #981 stopped restoring a trashed day note and gives the day a successor id instead. My reading (not yet proven): capture_task / the bulk Step::Create still assume the stable day-YYYY-MM-DD id (reusable_daily, empty_daily keyed on the day- prefix), so a successor-id day note placed by daily.open is not handled. It touches bulk-job/undo history, so I did not patch it in a train.

Related, same root: shortcuts.spec.ts:151 (both Mac and Ctrl variants): T lands on #/note/<uuid> where the spec expects day-… (the successor id after a trashed day). D: 20/20 fail in chromium-1440 and webkit-1440. Prod also fails it (10/20 in both), so it is not D-only, but D is worse (it passes on a fresh vault, fails once any earlier test trashed the day).

Not blocking (does not reproduce on D alone):

  • journal-trash.spec.ts:10 chromium-390: failed once in the full run, 30/30 pass in x10 on D (flaky → stability issue).
  • cargo test --workspace: 1597 passed, 1 failed: -p calternal --test notes_crash_typing (kill_nine_while_people_type…, not_saved_yet). x10: D 3/10 fail, prod 6/10 fail → pre-existing flake (stability issue).

Green so far: bun run check (0 errors, 16 warnings), bun run lint, web unit 166, editor unit 526, cargo fmt --check, cargo clippy --workspace --all-targets --locked -D warnings.
First paint (perf/web.sh --bundle-only --gate, brotli): D first JS 225.675 KB vs prod 233.040 (-7.4 KB), first CSS 17.984 vs 18.376 (-0.4 KB), plugins 37.938 vs 37.860 (+78 B); total JS 472.0 vs 363.9 (Tasks + Contacts, under the 488.3 budget). Gate ok.

Still running: backend perf ABAB on perf-01/02 and the Mac WebKit boot/typing runs. Final table follows.

## Interim (01:45 IST 11-07): **RED so far** on D `935fdcacd` — one blocker, from #981 Playwright (CI=1, workers=1, retries=0, first run): Chromium dev-01 **1527 passed, 846 skipped, 5 failed**; WebKit dev-02 **1521 passed, 858 skipped, 4 failed**; throttled 8 passed. **Blocker: `composer-tasks.spec.ts` (:51 and :82).** `--repeat-each=10`, same spec on D and on prod `71827028`: - D: chromium-1440 fails 10/20 (every run after the first), chromium-390 10/20, webkit-1440 19/30, webkit-390 fails too. Prod: **0 failures** (webkit-1440 120 passed, chromium 120/30 passed). - Bisect (webkit-1440, spec alone, x10): `7b1f90b2f` (just before #981) **30/30 pass**; `db15794ac` (merge of #981) **19/30 fail**. Owning PR: **#981** (`fix/journal-trash-fresh`: "today's note in Trash makes a fresh note"). - What happens: the first task of a day makes the day note, Undo moves it to Trash; the next `tasks.create` answers "Couldn't add it. Try again." (toast), nothing is written. #981 stopped restoring a trashed day note and gives the day a successor id instead. My reading (not yet proven): `capture_task` / the bulk `Step::Create` still assume the stable `day-YYYY-MM-DD` id (`reusable_daily`, `empty_daily` keyed on the `day-` prefix), so a successor-id day note placed by `daily.open` is not handled. It touches bulk-job/undo history, so I did **not** patch it in a train. Related, same root: `shortcuts.spec.ts:151` (both Mac and Ctrl variants): `T` lands on `#/note/<uuid>` where the spec expects `day-…` (the successor id after a trashed day). D: 20/20 fail in chromium-1440 and webkit-1440. Prod also fails it (10/20 in both), so it is not D-only, but D is worse (it passes on a fresh vault, fails once any earlier test trashed the day). Not blocking (does not reproduce on D alone): - `journal-trash.spec.ts:10` chromium-390: failed once in the full run, **30/30 pass in x10** on D (flaky → stability issue). - `cargo test --workspace`: 1597 passed, 1 failed: `-p calternal --test notes_crash_typing` (`kill_nine_while_people_type…`, `not_saved_yet`). x10: D 3/10 fail, prod 6/10 fail → pre-existing flake (stability issue). Green so far: `bun run check` (0 errors, 16 warnings), `bun run lint`, web unit 166, editor unit 526, `cargo fmt --check`, `cargo clippy --workspace --all-targets --locked -D warnings`. First paint (`perf/web.sh --bundle-only --gate`, brotli): D first JS **225.675 KB** vs prod 233.040 (-7.4 KB), first CSS 17.984 vs 18.376 (-0.4 KB), plugins 37.938 vs 37.860 (+78 B); total JS 472.0 vs 363.9 (Tasks + Contacts, under the 488.3 budget). Gate ok. Still running: backend perf ABAB on perf-01/02 and the Mac WebKit boot/typing runs. Final table follows.
Author
Owner

Final: RED on D 935fdcacd9cf2837d313817d6786d8a810b3bdaa. Not deployable as is. Nothing deployed.

One blocker: #990 (composer-tasks.spec.ts, from #981: tasks.create fails after Undo trashed the day note). Stability issues opened: #991 (notes_crash_typing), #992 (journal-trash.spec). Everything else is green or within noise. Train locks (dev-01, dev-02, perf-01, perf-02, Mac) released.

Prod = 71827028 (ad1b89e2 + #982 + #983). D includes #832 (merge d41e40f79). Worktrees train-1106 (D) and train-1106-prod on dev-01 and dev-02; CI=1, --workers=1 --retries=0, SLOT_TRAIN=1, train lock train-1106; debug calternal built with cargo build -j4 -p calternal --locked, web with bun run build.

Gate table

gate command result
Playwright Chromium (dev-01) playwright test --project=chromium-1440 --project=chromium-390 --project=flow --project=passkeys --project=admin-setup --project=admin-chromium-1440 --project=admin-chromium-390 --project=prefs-chromium --project=look-chromium-1440 --project=look-chromium-390 --project=contrast --project=sidebar-band-chromium 1527 passed, 846 skipped, 5 failed: composer-tasks :82 (1440), composer-tasks :51 (390), shortcuts :151 x2 (1440), journal-trash :10 (390)
Playwright throttled (dev-01) --project=throttled-1440 --project=throttled-390 --no-deps 8 passed, 2 skipped
Playwright WebKit (dev-02) --project=webkit-1440 --project=webkit-390 --project=admin-webkit-1440 --project=admin-webkit-390 --project=prefs-webkit --project=look-webkit-1440 --project=look-webkit-390 --project=sidebar-band-webkit 1521 passed, 858 skipped, 4 failed: composer-tasks :82 (1440), composer-tasks :51 (390), shortcuts :151 x2 (1440)
repeat-each=10, composer-tasks playwright test e2e/composer-tasks.spec.ts [e2e/shortcuts.spec.ts e2e/journal-trash.spec.ts] --project=<p> --repeat-each=10 on D and on prod D fails in all 4 projects (chromium-1440 10/20, chromium-390 10/50, webkit-1440 19/30, webkit-390 yes); prod 0 failures. Bisect: 7b1f90b2f 30/30 pass, db15794ac (#981) 19/30 fail → BLOCKS (#990)
repeat-each=10, shortcuts :151 same D 20/20 fail (chromium-1440, webkit-1440); prod 10/20 fail in both → not D-only, same trashed-day state; in #990
repeat-each=10, journal-trash :10 same 0 of 20 fail on D (chromium-1440 and 390) → does not block; stability #992
bun run check (apps/web) svelte-check included pass: 0 errors, 16 warnings, actions.gen.ts current
lint bun run lint (apps/web) pass
web unit bun run test (apps/web) 166 passed
editor unit cd packages/editor && bun run test 526 passed
cargo fmt cargo fmt --all --check pass
cargo clippy cargo clippy -j4 --workspace --all-targets --locked -- -D warnings pass
cargo test cargo test -j4 --workspace --locked --no-fail-fast (dev-02, aarch64) 1597 passed, 1 failed: notes_crash_typing kill_nine. x10: D 3/10, prod 6/10 fail → flaky on both, does not block; stability #991
first paint perf/web.sh --bundle-only --gate on D and on prod gate ok, smaller than prod: first JS brotli D 225.675 KB vs prod 233.040 (-7.365 KB); first CSS 17.984 vs 18.376 (-0.392); plugins JS 37.938 vs 37.860 (+0.078, budget 45); total JS 472.039 vs 363.918 (Tasks+Contacts; budget 488.3 ok)
backend perf (perf-01 lock, then perf-02 lock, held together) calternal-perf --sizes 100k --runs 1 --cold-runs 0 --idle-secs 300, D's harness for all, only --bin differs; 3 rounds, order varied (prod D Dctl / Dctl D prod / D prod Dctl); binaries sha256-checked; session started after the 14:16 IST epoch no regression; 9 runs, all rc=0, 0 failures (table below)
WebKit cold first row + typing (Mac VM) `PERF_COLD_RUNS=5 perf/web.sh --sizes 10k --browsers webkit -- --grep "boot keystroke"`, 3 rounds, order varied, own release binary and dist per variant, memory precheck (free+inactive ≥ 2 GB), swap 0

Backend perf (100k notes, perf-02), median of the 3 per-round p50 (D vs prod; Dctl = D again, the control)

metric prod p50 D p50 Dctl p50
home.first_page [ms] 3.4 2.672 4.437
home.page_big [ms] 18.34 18.69 18.43
home.page_tag [ms] 52.09 52.06 52.48
idle.cpu_pct [%] 0.52 0.52 0.52
idle.rss [MB] 73.3 74.36 72.98
idle.wakeups_per_s [/s] 0.06667 0.06333 0.05667
journal.catch_up [ms] 271 273.1 269.6
journal.page [ms] 2.393 2.408 2.376
load.typing_cpu_pct [%] 1.117 1.117 1.133
mem.peak [MB] 129.2 124.8 125.2
open.api_get [ms] 4.657 4.648 4.681
open.long_note [ms] 54.12 55.02 56.68
open.note [ms] 0.7767 0.7967 0.8018
search.first_query [ms] 17.69 18.35 17.55
search.query [ms] 1.759 3.27 4.741
shutdown [ms] 106.5 106.7 106.6
startup.healthz [ms] 4.882 5.845 5.164
storm.converge [ms] 174.6 171.4 173
storm.save_ack [ms] 4.749 4.789 4.712
sync.durable_write [ms] 15.5 16.02 15.54
sync.round_trip [ms] 0.2137 0.2083 0.2262
sync.save_ack [ms] 2.729 2.725 2.712
trash.delete [ms] 82 77.94 78.14
trash.restore [ms] 62.92 65.62 65.15
uploads.response [ms] 98.98 99.82 100.6
uploads.save_ack [ms] 3.19 3.349 3.384

All other metrics (45 in all) are within noise of prod. The only visible spread is search.query (prod 7.2/1.76/1.69 ms across rounds, D 7.7/3.27/1.70, Dctl 5.4/4.74/1.87): round 1 is slow for every variant and rounds 2-3 are equal, so it is the slot, not the binary. home.first_page D 2.67 vs prod 3.40 (faster), Dctl 4.44 (the control is the noisy one). Idle CPU 0.52 % for all three (3 x 300 s), wakeups 0.06 /s, rss 73-74 MB, typing CPU 1.12 %, storm/sync/uploads/trash equal.

Mac VM, WebKit, 10k notes (median over 3 rounds of the per-round p50, ms; 5 cold runs per round)

metric prod D Dctl
boot.cold_list (first row) 154 163 157
boot.cold_note 151 163 157
boot.warm_list 96 93 102
boot.warm_note 101 97 105
type.long_note p50 / p95 10 / 19 10 / 19 10 / 19
type.nested_list p50 / p95 / max 12 / 20 / 115 12 / 20 / 104 12 / 21 / 90

D is +9 ms on cold first row against prod, and +6 ms against its own control (same binary), inside the noise (prod's own rounds ranged 146-190 ms). Typing equal; no hitch above the ~100 ms nested-list outlier, which prod shows too (115). type.code_block and type.code_note_prose only exist on D (11 ms p50, 19 p95).

Notes

  • This run found the blocker only because the trashed-day state builds up in the shared vault; on a fresh vault each spec passes. The fix needs the repeat gate above.
  • 71827028 is not an ancestor of dev (release branch), so "prod vs D" is by commit, not by range.
  • Nothing was merged or deployed. No code changed.
# Final: **RED** on D `935fdcacd9cf2837d313817d6786d8a810b3bdaa`. Not deployable as is. Nothing deployed. **One blocker: #990** (`composer-tasks.spec.ts`, from #981: `tasks.create` fails after Undo trashed the day note). Stability issues opened: #991 (`notes_crash_typing`), #992 (`journal-trash.spec`). Everything else is green or within noise. Train locks (dev-01, dev-02, perf-01, perf-02, Mac) released. Prod = `71827028` (`ad1b89e2` + #982 + #983). D includes #832 (merge `d41e40f79`). Worktrees `train-1106` (D) and `train-1106-prod` on dev-01 and dev-02; `CI=1`, `--workers=1 --retries=0`, `SLOT_TRAIN=1`, train lock `train-1106`; debug `calternal` built with `cargo build -j4 -p calternal --locked`, web with `bun run build`. ## Gate table | gate | command | result | |---|---|---| | Playwright Chromium (dev-01) | `playwright test --project=chromium-1440 --project=chromium-390 --project=flow --project=passkeys --project=admin-setup --project=admin-chromium-1440 --project=admin-chromium-390 --project=prefs-chromium --project=look-chromium-1440 --project=look-chromium-390 --project=contrast --project=sidebar-band-chromium` | 1527 passed, 846 skipped, **5 failed**: composer-tasks :82 (1440), composer-tasks :51 (390), shortcuts :151 x2 (1440), journal-trash :10 (390) | | Playwright throttled (dev-01) | `--project=throttled-1440 --project=throttled-390 --no-deps` | 8 passed, 2 skipped | | Playwright WebKit (dev-02) | `--project=webkit-1440 --project=webkit-390 --project=admin-webkit-1440 --project=admin-webkit-390 --project=prefs-webkit --project=look-webkit-1440 --project=look-webkit-390 --project=sidebar-band-webkit` | 1521 passed, 858 skipped, **4 failed**: composer-tasks :82 (1440), composer-tasks :51 (390), shortcuts :151 x2 (1440) | | repeat-each=10, composer-tasks | `playwright test e2e/composer-tasks.spec.ts [e2e/shortcuts.spec.ts e2e/journal-trash.spec.ts] --project=<p> --repeat-each=10` on D and on prod | **D fails in all 4 projects** (chromium-1440 10/20, chromium-390 10/50, webkit-1440 19/30, webkit-390 yes); **prod 0 failures**. Bisect: `7b1f90b2f` 30/30 pass, `db15794ac` (#981) 19/30 fail → **BLOCKS** (#990) | | repeat-each=10, shortcuts :151 | same | D 20/20 fail (chromium-1440, webkit-1440); prod 10/20 fail in both → not D-only, same trashed-day state; in #990 | | repeat-each=10, journal-trash :10 | same | 0 of 20 fail on D (chromium-1440 and 390) → does not block; stability #992 | | `bun run check` (apps/web) | svelte-check included | pass: 0 errors, 16 warnings, `actions.gen.ts` current | | lint | `bun run lint` (apps/web) | pass | | web unit | `bun run test` (apps/web) | 166 passed | | editor unit | `cd packages/editor && bun run test` | 526 passed | | cargo fmt | `cargo fmt --all --check` | pass | | cargo clippy | `cargo clippy -j4 --workspace --all-targets --locked -- -D warnings` | pass | | cargo test | `cargo test -j4 --workspace --locked --no-fail-fast` (dev-02, aarch64) | 1597 passed, 1 failed: `notes_crash_typing` kill_nine. x10: D 3/10, prod 6/10 fail → flaky on both, does not block; stability #991 | | first paint | `perf/web.sh --bundle-only --gate` on D and on prod | **gate ok, smaller than prod**: first JS brotli D 225.675 KB vs prod 233.040 (-7.365 KB); first CSS 17.984 vs 18.376 (-0.392); plugins JS 37.938 vs 37.860 (+0.078, budget 45); total JS 472.039 vs 363.918 (Tasks+Contacts; budget 488.3 ok) | | backend perf (perf-01 lock, then perf-02 lock, held together) | `calternal-perf --sizes 100k --runs 1 --cold-runs 0 --idle-secs 300`, D's harness for all, only `--bin` differs; 3 rounds, order varied (prod D Dctl / Dctl D prod / D prod Dctl); binaries sha256-checked; session started after the 14:16 IST epoch | **no regression**; 9 runs, all rc=0, 0 failures (table below) | | WebKit cold first row + typing (Mac VM) | `PERF_COLD_RUNS=5 perf/web.sh --sizes 10k --browsers webkit -- --grep "boot|keystroke"`, 3 rounds, order varied, own release binary and dist per variant, memory precheck (free+inactive ≥ 2 GB), swap 0 | **no regression**: see below | ## Backend perf (100k notes, perf-02), median of the 3 per-round p50 (D vs prod; Dctl = D again, the control) | metric | prod p50 | D p50 | Dctl p50 | |---|---|---|---| | home.first_page [ms] | 3.4 | 2.672 | 4.437 | | home.page_big [ms] | 18.34 | 18.69 | 18.43 | | home.page_tag [ms] | 52.09 | 52.06 | 52.48 | | idle.cpu_pct [%] | 0.52 | 0.52 | 0.52 | | idle.rss [MB] | 73.3 | 74.36 | 72.98 | | idle.wakeups_per_s [/s] | 0.06667 | 0.06333 | 0.05667 | | journal.catch_up [ms] | 271 | 273.1 | 269.6 | | journal.page [ms] | 2.393 | 2.408 | 2.376 | | load.typing_cpu_pct [%] | 1.117 | 1.117 | 1.133 | | mem.peak [MB] | 129.2 | 124.8 | 125.2 | | open.api_get [ms] | 4.657 | 4.648 | 4.681 | | open.long_note [ms] | 54.12 | 55.02 | 56.68 | | open.note [ms] | 0.7767 | 0.7967 | 0.8018 | | search.first_query [ms] | 17.69 | 18.35 | 17.55 | | search.query [ms] | 1.759 | 3.27 | 4.741 | | shutdown [ms] | 106.5 | 106.7 | 106.6 | | startup.healthz [ms] | 4.882 | 5.845 | 5.164 | | storm.converge [ms] | 174.6 | 171.4 | 173 | | storm.save_ack [ms] | 4.749 | 4.789 | 4.712 | | sync.durable_write [ms] | 15.5 | 16.02 | 15.54 | | sync.round_trip [ms] | 0.2137 | 0.2083 | 0.2262 | | sync.save_ack [ms] | 2.729 | 2.725 | 2.712 | | trash.delete [ms] | 82 | 77.94 | 78.14 | | trash.restore [ms] | 62.92 | 65.62 | 65.15 | | uploads.response [ms] | 98.98 | 99.82 | 100.6 | | uploads.save_ack [ms] | 3.19 | 3.349 | 3.384 | All other metrics (45 in all) are within noise of prod. The only visible spread is `search.query` (prod 7.2/1.76/1.69 ms across rounds, D 7.7/3.27/1.70, Dctl 5.4/4.74/1.87): round 1 is slow for every variant and rounds 2-3 are equal, so it is the slot, not the binary. `home.first_page` D 2.67 vs prod 3.40 (faster), Dctl 4.44 (the control is the noisy one). Idle CPU 0.52 % for all three (3 x 300 s), wakeups 0.06 /s, rss 73-74 MB, typing CPU 1.12 %, storm/sync/uploads/trash equal. ## Mac VM, WebKit, 10k notes (median over 3 rounds of the per-round p50, ms; 5 cold runs per round) | metric | prod | D | Dctl | |---|---|---|---| | boot.cold_list (first row) | 154 | 163 | 157 | | boot.cold_note | 151 | 163 | 157 | | boot.warm_list | 96 | 93 | 102 | | boot.warm_note | 101 | 97 | 105 | | type.long_note p50 / p95 | 10 / 19 | 10 / 19 | 10 / 19 | | type.nested_list p50 / p95 / max | 12 / 20 / 115 | 12 / 20 / 104 | 12 / 21 / 90 | D is +9 ms on cold first row against prod, and +6 ms against its own control (same binary), inside the noise (prod's own rounds ranged 146-190 ms). Typing equal; no hitch above the ~100 ms nested-list outlier, which prod shows too (115). `type.code_block` and `type.code_note_prose` only exist on D (11 ms p50, 19 p95). ## Notes - This run found the blocker only because the trashed-day state builds up in the shared vault; on a fresh vault each spec passes. The fix needs the repeat gate above. - `71827028` is not an ancestor of dev (release branch), so "prod vs D" is by commit, not by range. - Nothing was merged or deployed. No code changed.
kayg changed title from Daily train 2026-11-06 to Daily train 2026-11-06: RED (D 935fdcacd) — blocker #990 2026-11-06 20:45:00 +00:00
Author
Owner

Re-run on 1e903a13a: RED. One blocker, new (#998 below); #990 is fixed.

Candidate 1e903a13ae43321d52a4256d3a1b1739db93bd93 = D 935fdcacd + #993. Prod = 71827028. Nothing deployed or merged, no code changed. Hosts: dev-01 (claude@calternal-dev-01-compute02) and dev-02 (cua@calternal-dev-02-std), worktrees train-1107 (candidate) and train-1107-prod, CI=1, --workers=1 --retries=0, SLOT_TRAIN=1, train lock train-1107; binary cargo build -j4 -p calternal --locked, web bun run build.

Gate table

gate command result
Playwright Chromium (dev-01) playwright test --project=chromium-1440 --project=chromium-390 --project=flow --project=passkeys --project=admin-setup --project=admin-chromium-1440 --project=admin-chromium-390 --project=prefs-chromium --project=look-chromium-1440 --project=look-chromium-390 --project=contrast --project=sidebar-band-chromium 1531 passed, 846 skipped, 1 failed: composer-tasks.spec.ts:51 (chromium-390)
Playwright throttled (dev-01) --project=throttled-1440 --project=throttled-390 --no-deps 8 passed, 2 skipped
Playwright WebKit (dev-02) --project=webkit-1440 --project=webkit-390 --project=admin-webkit-1440 --project=admin-webkit-390 --project=prefs-webkit --project=look-webkit-1440 --project=look-webkit-390 --project=sidebar-band-webkit 1524 passed, 858 skipped, 1 failed: composer-tasks.spec.ts:51 (webkit-390)
composer-tasks, spec alone playwright test e2e/composer-tasks.spec.ts --project=<p> --repeat-each=10, p = chromium-1440, chromium-390, webkit-1440, webkit-390 candidate 30/30 pass in all four; prod 30/30 pass in all four
composer-tasks after journal-trash (the full-run failure, reduced) playwright test e2e/journal-trash.spec.ts e2e/composer-tasks.spec.ts --project=<b>-1440 --project=<b>-390 [--repeat-each=3], b = chromium, webkit candidate fails: x1: 1 failed (<b>-390 :51); x3: 5 failed of 33, both browsers. Prod: 6 passed, 18 passed (prod has no journal-trash.spec.ts). Control: candidate webkit with --grep-invert 'restore keeps two real notes': 21 passed, 0 failed → BLOCKS, #998
shortcuts "the app: palette, new note, log…" (was :151; the line moved with #993's test edit, so run by name) playwright test e2e/shortcuts.spec.ts --grep 'the app: palette, new note, log' --project=<b>-1440 --repeat-each=10 candidate 20/20 pass (chromium-1440 and webkit-1440), and passed in both full runs. Prod shortcuts.spec.ts:151 fails 10/20 in each → candidate is better than prod
journal-trash :10 (#992), notes_crash_typing (#991) in the full runs journal-trash passed in both full runs; notes_crash_typing passed (see cargo test) → no flake seen this time
bun run check (apps/web) svelte-check included pass: 0 errors, 16 warnings
lint bun run lint (apps/web) pass
web unit bun run test (apps/web) pass
editor unit cd packages/editor && bun run test pass
cargo fmt cargo fmt --all --check pass
cargo clippy cargo clippy -j4 --workspace --all-targets --locked -- -D warnings pass
cargo test cargo test -j4 --workspace --locked --no-fail-fast (dev-02, aarch64) 1600 passed, 0 failed
first paint perf/web.sh --bundle-only --gate on candidate and on prod gate ok, smaller than prod: first JS brotli 225.675 KB vs prod 233.040 (-7.365); first CSS 17.984 vs 18.376 (-0.392); plugins JS 37.938 vs 37.860 (+0.078, budget 45); total JS 472.039 vs 363.918 (Tasks + Contacts, budget 488.3 ok)
backend perf, Mac WebKit perf not re-run 11-06 numbers stand (the delta D → candidate is #993, which posted its own perf, flat vs control)

Blocker: #998

composer-tasks.spec.ts:51 fails whenever journal-trash.spec.ts ran earlier in the same vault. It is a test-order problem, not a product bug: the list snippet is the first line of writing (crates/notes/src/meta.rs:1096), journal-trash's fresh-words test leaves fresh-words-… as the day's first line, and the spec expects its own call plumber… there. At 1440 the specs run in the other order, so only the -390 projects fail. The task line itself is in the day note. Owning PR: #981 (spec edit f9bf80a8c). Not patched.

#990 (tasks.create toast after Undo) is gone: composer-tasks alone passes 30/30 in all four projects, and :82 passed everywhere.

Cleanup: train lock released, worktrees, target dirs, logs and my nix-shell dirs removed on dev-01 and dev-02.

# Re-run on 1e903a13a: **RED**. One blocker, new (#998 below); #990 is fixed. Candidate `1e903a13ae43321d52a4256d3a1b1739db93bd93` = D `935fdcacd` + #993. Prod = `71827028`. Nothing deployed or merged, no code changed. Hosts: dev-01 (`claude@calternal-dev-01-compute02`) and dev-02 (`cua@calternal-dev-02-std`), worktrees `train-1107` (candidate) and `train-1107-prod`, `CI=1`, `--workers=1 --retries=0`, `SLOT_TRAIN=1`, train lock `train-1107`; binary `cargo build -j4 -p calternal --locked`, web `bun run build`. ## Gate table | gate | command | result | |---|---|---| | Playwright Chromium (dev-01) | `playwright test --project=chromium-1440 --project=chromium-390 --project=flow --project=passkeys --project=admin-setup --project=admin-chromium-1440 --project=admin-chromium-390 --project=prefs-chromium --project=look-chromium-1440 --project=look-chromium-390 --project=contrast --project=sidebar-band-chromium` | 1531 passed, 846 skipped, **1 failed**: `composer-tasks.spec.ts:51` (chromium-390) | | Playwright throttled (dev-01) | `--project=throttled-1440 --project=throttled-390 --no-deps` | 8 passed, 2 skipped | | Playwright WebKit (dev-02) | `--project=webkit-1440 --project=webkit-390 --project=admin-webkit-1440 --project=admin-webkit-390 --project=prefs-webkit --project=look-webkit-1440 --project=look-webkit-390 --project=sidebar-band-webkit` | 1524 passed, 858 skipped, **1 failed**: `composer-tasks.spec.ts:51` (webkit-390) | | composer-tasks, spec alone | `playwright test e2e/composer-tasks.spec.ts --project=<p> --repeat-each=10`, p = chromium-1440, chromium-390, webkit-1440, webkit-390 | candidate **30/30 pass in all four**; prod 30/30 pass in all four | | composer-tasks after journal-trash (the full-run failure, reduced) | `playwright test e2e/journal-trash.spec.ts e2e/composer-tasks.spec.ts --project=<b>-1440 --project=<b>-390 [--repeat-each=3]`, b = chromium, webkit | candidate **fails**: x1: 1 failed (`<b>-390` :51); x3: 5 failed of 33, both browsers. Prod: 6 passed, 18 passed (prod has no `journal-trash.spec.ts`). Control: candidate webkit with `--grep-invert 'restore keeps two real notes'`: 21 passed, 0 failed → **BLOCKS, #998** | | shortcuts "the app: palette, new note, log…" (was `:151`; the line moved with #993's test edit, so run by name) | `playwright test e2e/shortcuts.spec.ts --grep 'the app: palette, new note, log' --project=<b>-1440 --repeat-each=10` | candidate **20/20 pass** (chromium-1440 and webkit-1440), and passed in both full runs. Prod `shortcuts.spec.ts:151` fails 10/20 in each → candidate is better than prod | | journal-trash :10 (#992), notes_crash_typing (#991) | in the full runs | `journal-trash` passed in both full runs; `notes_crash_typing` passed (see cargo test) → no flake seen this time | | `bun run check` (apps/web) | svelte-check included | pass: 0 errors, 16 warnings | | lint | `bun run lint` (apps/web) | pass | | web unit | `bun run test` (apps/web) | pass | | editor unit | `cd packages/editor && bun run test` | pass | | cargo fmt | `cargo fmt --all --check` | pass | | cargo clippy | `cargo clippy -j4 --workspace --all-targets --locked -- -D warnings` | pass | | cargo test | `cargo test -j4 --workspace --locked --no-fail-fast` (dev-02, aarch64) | **1600 passed, 0 failed** | | first paint | `perf/web.sh --bundle-only --gate` on candidate and on prod | **gate ok, smaller than prod**: first JS brotli 225.675 KB vs prod 233.040 (-7.365); first CSS 17.984 vs 18.376 (-0.392); plugins JS 37.938 vs 37.860 (+0.078, budget 45); total JS 472.039 vs 363.918 (Tasks + Contacts, budget 488.3 ok) | | backend perf, Mac WebKit perf | not re-run | 11-06 numbers stand (the delta D → candidate is #993, which posted its own perf, flat vs control) | ## Blocker: #998 `composer-tasks.spec.ts:51` fails whenever `journal-trash.spec.ts` ran earlier in the same vault. **It is a test-order problem, not a product bug**: the list snippet is the first line of writing (`crates/notes/src/meta.rs:1096`), `journal-trash`'s fresh-words test leaves `fresh-words-…` as the day's first line, and the spec expects its own `call plumber…` there. At 1440 the specs run in the other order, so only the `-390` projects fail. The task line itself is in the day note. Owning PR: **#981** (spec edit `f9bf80a8c`). Not patched. #990 (`tasks.create` toast after Undo) is gone: composer-tasks alone passes 30/30 in all four projects, and `:82` passed everywhere. Cleanup: train lock released, worktrees, target dirs, logs and my nix-shell dirs removed on dev-01 and dev-02.
Author
Owner

Deployed to prod 98f14a3d1 at 12:24:49–12:25:18 IST on 11-07 (HTTP 200, version 0.1.0, podman healthy). Product code = train-tested 1e903a13a (D 935fdcacd + #993 for #990); #999 (#998) and #1001 (#1000) are test-only. #1000 is flaky on prod too (19/20 vs 17/20). Backup backup-pre-98f14a3d1…-20261107T065453498936408Z.tgz.

**Deployed to prod** `98f14a3d1` at 12:24:49–12:25:18 IST on 11-07 (HTTP 200, version 0.1.0, podman healthy). Product code = train-tested `1e903a13a` (D `935fdcacd` + #993 for #990); #999 (#998) and #1001 (#1000) are test-only. #1000 is flaky on prod too (19/20 vs 17/20). Backup `backup-pre-98f14a3d1…-20261107T065453498936408Z.tgz`.
kayg closed this issue 2026-11-07 06:55:38 +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#989
No description provided.