Skip to content

Fix CI typecheck (add tsconfig + typescript) + document docker-image matrix#2

Merged
v-kessler merged 2 commits into
mainfrom
fix/ci-typecheck
Jul 3, 2026
Merged

Fix CI typecheck (add tsconfig + typescript) + document docker-image matrix#2
v-kessler merged 2 commits into
mainfrom
fix/ci-typecheck

Conversation

@v-kessler

Copy link
Copy Markdown
Contributor

Why

The main CI has been red on every commit — the Typecheck step
(npx tsc --noEmit -p tsconfig.json) never worked:

  • there was no tsconfig.json in the repo, and
  • typescript wasn't a dependency, so npx tsc pulled an unrelated impostor
    package
    (tsc@2.0.4"This is not the tsc command you are looking for").

What

CI fix (fa26ef6)

  • Add tsconfig.json for the specs + playwright.config (noEmit, skipLibCheck).
  • Add typescript + @types/node devDeps and a typecheck npm script; lockfile
    updated so npm ci stays in sync.
  • Fix the one real type error tsc then surfaced: the monocart coverage reporter
    array wasn't typed as a ReporterDescription tuple.

Docs (04d4975)

  • Document the new test-matrix-docker / test-docker (embedded-UI image testing,
    seaweed STS deep flows, LAN-IP split-horizon, no AWS) and test-matrix-chrome /
    test-chrome recipes; correct the dashboard doc (runs now reset to the last run
    with an archived-run dropdown, instead of accumulating).

Verification

All four CI steps pass locally: npm ci, tsc --noEmit, node --check on the
orchestration scripts, and playwright test --list for both the authn (dual
webServer) and cedar (premium) config paths.

🤖 Generated with Claude Code

v-kessler and others added 2 commits July 3, 2026 09:31
The Typecheck CI step (`npx tsc --noEmit -p tsconfig.json`) never worked: there
was no tsconfig.json in the repo, and `typescript` wasn't a dependency so
`npx tsc` pulled an unrelated impostor package ("This is not the tsc command you
are looking for"). The step failed on every commit.

- Add tsconfig.json for the specs + playwright.config (noEmit, skipLibCheck).
- Add typescript + @types/node devDeps (+ a `typecheck` npm script); lockfile
  updated so `npm ci` stays in sync.
- Fix the one real type error tsc then surfaced: the monocart coverage reporter
  array wasn't typed as a ReporterDescription tuple.

All four CI steps (install, typecheck, syntax-check, config-load) pass locally.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the new recipes (test-matrix-docker/test-docker, test-matrix-chrome/test-chrome) to the commands table, a 'Testing the shipped Docker image' section (served-UI, seaweed STS deep flows, LAN-IP split-horizon, no AWS), and correct the dashboard doc: runs now reset to the last run (archived-run dropdown for history) instead of accumulating.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@v-kessler
v-kessler merged commit 64053a0 into main Jul 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant