Skip to content

ci: package the Windows exe in its own job; Windows runs the gate without coverage (#256) - #258

Merged
mindaugaskasp merged 4 commits into
mainfrom
ci/windows-packaged-split
Nov 17, 2026
Merged

mindaugaskasp merged 4 commits into
mainfrom
ci/windows-packaged-split

Conversation

@mindaugaskasp

Copy link
Copy Markdown
Owner

Follow-up to #257 (merged before this commit was pushed). Refs #256.

The Windows check job was the slowest in CI at 9 minutes, because it ran everything in sequence: lint, the guards and unit tests with coverage, a build (twice), then packaging and both smokes.

  • New packaged job (Windows): builds the real exe and runs mcp-smoke and packaged-smoke, in parallel with check instead of after it.
  • check (windows): runs check:static, npm test and the build. That's every guard and test, without coverage instrumentation. Coverage is a measurement, not a test; its floors stay enforced on ubuntu, which still runs the full npm run check.
  • npm run check is unchanged. It now composes check:static, which quick and Windows reuse, so the guard list lives in one place.
  • The duplicate build step is gone.
  • The release gate requires packaged too, so a broken package is never reused. The test was seen failing against the old rule first.

Expected: the slowest job drops from about 9 minutes to about 4–5.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PJaGuL4V5ghYxXSGoyYU8n

Mindaugas and others added 4 commits November 17, 2026 21:31
…hout coverage (#256)

The Windows check job ran lint, the guards and the unit tests with coverage,
built twice, then packaged and ran both smokes, all in sequence: 9 minutes,
the slowest job in CI. Now:
- packaged (windows) builds the exe and runs mcp-smoke and packaged-smoke, in
  parallel with check.
- check (windows) runs check:static, npm test and the build: every guard and
  test, without coverage instrumentation. Coverage floors stay enforced on
  ubuntu. npm run check is unchanged; it now composes check:static, which quick
  and Windows reuse, so the guard list exists in one place.
- The duplicate build step is gone.
- The release gate requires the packaged job too, so a broken package is never
  reused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJaGuL4V5ghYxXSGoyYU8n
actions/cache v4 -> v6, actions/download-artifact v6 -> v8 (release.yml
already used v8) and actions/create-github-app-token v2 -> v3 each declared
node20, which GitHub now forces onto Node 24 with a deprecation warning. Their
breaking changes concern self-hosted runners and HTTP proxies, neither of which
these workflows use. Every action in use now declares node24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJaGuL4V5ghYxXSGoyYU8n
… window

Moving or resizing schedules a bounds save 500 ms later. Closing saved at once
but left that timer running, and it then called getNormalBounds() on a
destroyed window: 'Object has been destroyed'. The new main-process check in
e2e caught it in CI, with the stack pointing at Timeout.save. The saver is now
its own module, closing cancels the pending save, and a save never reaches a
window that is gone. Seen failing first against the old behaviour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PJaGuL4V5ghYxXSGoyYU8n
@mindaugaskasp
mindaugaskasp merged commit 7d46e06 into main Nov 17, 2026
17 checks passed
@mindaugaskasp
mindaugaskasp deleted the ci/windows-packaged-split branch November 17, 2026 19:50
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