Skip to content

ci: typecheck the desktop frontend (tsc --noEmit)#3420

Merged
esengine merged 1 commit into
main-v2from
ci/frontend-typecheck
Jun 7, 2026
Merged

ci: typecheck the desktop frontend (tsc --noEmit)#3420
esengine merged 1 commit into
main-v2from
ci/frontend-typecheck

Conversation

@esengine

@esengine esengine commented Jun 7, 2026

Copy link
Copy Markdown
Owner

What

Adds a frontend CI job that runs tsc --noEmit (pnpm run typecheck) on the desktop frontend.

Why

The desktop job stubs frontend/dist for the Go build and never runs tsc, so frontend-only TypeScript errors pass CI and only break at wails build. This already bit us twice:

How

New job mirrors release-desktop.yml: node 22 / pnpm 10, pnpm install --frozen-lockfile, then pnpm run typecheck.

This PR's own CI exercises the new job — a green frontend check confirms both that the job works and that main-v2's frontend is currently clean.

@esengine esengine requested a review from SivanCola as a code owner June 7, 2026 04:20
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 7, 2026
The desktop CI job stubs frontend/dist for the Go build and never runs
tsc, so frontend-only TypeScript errors pass CI and only break at
`wails build` — e.g. #3410, where duplicate locale keys from a clean
text-merge broke the dev build while every check stayed green.

After the Go build/test, install the wails CLI, run `wails generate
module` to produce the (gitignored) wailsjs bindings tsc needs, then
`pnpm run typecheck`. Rides the desktop job to reuse its Go + webkit
toolchain rather than standing up a separate Node-only job.
@esengine esengine force-pushed the ci/frontend-typecheck branch from 2287571 to a2b4c6b Compare June 7, 2026 04:27
@esengine esengine merged commit e4c762c into main-v2 Jun 7, 2026
16 of 17 checks passed
@esengine esengine deleted the ci/frontend-typecheck branch June 7, 2026 04:36
CVEngineer66 pushed a commit to CVEngineer66/DeepSeek-Reasonix that referenced this pull request Jun 7, 2026
A second merged conflict artefact from esengine#2752 (onboarding) and esengine#3129
(InlineDiff) left an unclosed block at line 7082. Same root cause as
PR esengine#3418 but at a different offset. The check-css-syntax.mjs script
(PR esengine#3420) now catches this, but upstream itself is affected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant