Skip to content

ci: build what we ship, not just what type-checks - #311

Merged
chiliec merged 1 commit into
mainfrom
ci/build-all
Sep 9, 2026
Merged

ci: build what we ship, not just what type-checks#311
chiliec merged 1 commit into
mainfrom
ci/build-all

Conversation

@chiliec

@chiliec chiliec commented Sep 9, 2026

Copy link
Copy Markdown
Member

Follow-up to the CI check after #309/#310: the pipeline never built the backend or the landing.

npm run typecheck is tsc with noEmit: true — it checks types but produces nothing. The command that actually ships, build:bot, is tsc --noEmit false. Emit can fail where checking passes: output collisions ("would overwrite input file"), rootDir violations, decorator metadata problems. build:landing wasn't run at all — only its unit tests in scripts/landing/*.test.ts were.

build:all covers backend emit + landing + frontend. Since it already includes the frontend build that step was doing, it replaces that line in the existing quality job rather than adding a separate one — a new job would pay another npm ci cold start for no extra coverage.

Costs ~7s locally (build:all runs in 6.9s wall).

No new untrusted input in the workflow; it's a static run: line.

typecheck runs tsc with noEmit:true, so the emit that build:bot actually
ships was never exercised — emit can fail where checking passes (output
collisions, rootDir violations, decorator metadata). build:landing was not
run at all; only its unit tests were.

build:all covers backend emit + landing + frontend, and the frontend build
this step already did, so it folds into the existing quality job rather
than paying another npm ci for a separate one. Adds ~7s.
@chiliec
chiliec merged commit 6867331 into main Sep 9, 2026
3 checks passed
@chiliec
chiliec deleted the ci/build-all branch September 9, 2026 04:33
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