dev: bun run check fails at once, actions.gen.ts is out of date with contracts/actions.json #958

Closed
opened 2026-11-05 10:56:49 +00:00 by kayg · 1 comment
Owner

Found by the BM15 train (#947), on dev ca7dead1 itself (not on the train only).

cd apps/web && bun run check stops at its first step:

src/lib/actions.gen.ts is out of date with contracts/actions.json: run `node scripts/action-types.mjs`.

svelte-check after it never runs, so a check gate on dev is red before it looks at any Svelte file. The cause is the commit 72561347 (fix(sharing): keep actions unregistered until UI), which changed contracts/actions.json (8 insertions, 72 deletions since BM13) without regenerating apps/web/src/lib/actions.gen.ts.

Fix: run node scripts/action-types.mjs in apps/web and commit the generated file (on dev, so every PR's check goes back to measuring only itself).

Found on: dev-01 (~/bin/slot, Nix shell), bun run check, worktree at origin/dev ca7dead1. The train ran bunx svelte-check --tsconfig ./tsconfig.json directly, on both dev and the train, so the svelte-check numbers are still compared.

Found by the BM15 train (#947), on dev `ca7dead1` itself (not on the train only). `cd apps/web && bun run check` stops at its first step: ``` src/lib/actions.gen.ts is out of date with contracts/actions.json: run `node scripts/action-types.mjs`. ``` `svelte-check` after it never runs, so a `check` gate on dev is red before it looks at any Svelte file. The cause is the commit `72561347` (fix(sharing): keep actions unregistered until UI), which changed `contracts/actions.json` (8 insertions, 72 deletions since BM13) without regenerating `apps/web/src/lib/actions.gen.ts`. Fix: run `node scripts/action-types.mjs` in `apps/web` and commit the generated file (on dev, so every PR's `check` goes back to measuring only itself). Found on: dev-01 (`~/bin/slot`, Nix shell), `bun run check`, worktree at `origin/dev` `ca7dead1`. The train ran `bunx svelte-check --tsconfig ./tsconfig.json` directly, on both dev and the train, so the svelte-check numbers are still compared.
Author
Owner

housekeeping: closing because PR #971 regenerated actions.gen.ts and restored the typecheck gate. Its head 116dc5cabfb277c8b2a7f5d6763a7c280c64cc6c is an ancestor of dev 20eab8d3a212761ef881b48d34a5f78edb4c8e33. This closes the generated-types mismatch; the separate Style-sheet flake #974 stays open.

This pass and the full keep-list are recorded on #1009.

housekeeping: closing because [PR #971](https://git.kayg.org/kayg/calternal/pulls/971) regenerated `actions.gen.ts` and restored the typecheck gate. Its head `116dc5cabfb277c8b2a7f5d6763a7c280c64cc6c` is an ancestor of dev `20eab8d3a212761ef881b48d34a5f78edb4c8e33`. This closes the generated-types mismatch; the separate Style-sheet flake #974 stays open. This pass and the full keep-list are recorded on [#1009](https://git.kayg.org/kayg/calternal/issues/1009).
kayg closed this issue 2026-11-08 18:55:58 +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#958
No description provided.