Skip to content

ci: add the two repaired tests to the Windows lane - #178

Merged
github-actions[bot] merged 1 commit into
mainfrom
claude/daily-repo-scan-v8fvqs
Aug 11, 2026
Merged

ci: add the two repaired tests to the Windows lane#178
github-actions[bot] merged 1 commit into
mainfrom
claude/daily-repo-scan-v8fvqs

Conversation

@dizhaky

@dizhaky dizhaky commented Aug 11, 2026

Copy link
Copy Markdown
Owner

The one-line follow-up I deliberately held back from #177. Both files are cross-platform and on main now, so the lane can actually run them. Four files → six.

The check I owe

These are whole files — 16 and 22 tests — not just the two assertions repaired in #177. Over-including files is what caused both earlier rounds on this lane (#174, #175), so the standard is observed evidence, not reasoning.

From the first full-suite Windows run (job 93652696640), the complete failure list was:

ssh-connection.test.ts      :309 :334 :349 :413 :436 :728 :825 :841   ← stays excluded
update-relaunch.test.ts     :54                                        ← fixed in #177
windows-hermes-path.test.ts :177                                       ← fixed in #177

So every other test in these two files was observed passing on a Windows runner. Nothing here rests on my judgement about what "should" work.

The one gap observation couldn't cover

vitest stops at the first failing assertion within a test, so the second assertion of the test at :53 was never reached on Windows. The win32 simulation covers it explicitly as "unpacked itself":

BEFORE:  11 passed, 3 failed   (exec under unpacked / unpacked itself / venv POSIX layout)
AFTER:   14 passed, 0 failed   (posix and win32)

Selection

Re-verified: six of the project's 80 test files, with before-pack, stage-native-deps and ssh-connection still excluded.

electron/desktop-electron-pin.test.ts
electron/update-relaunch.test.ts          ← new
electron/windows-hermes-path.test.ts      ← new
scripts/assert-dist-built.test.mjs
scripts/assert-win-vcruntime.test.mjs
scripts/write-build-stamp.test.mjs

The lane is a required check as of #176, so if either file has a Windows problem I haven't found, this PR is where it surfaces rather than on someone else's later change.

Follow-ups, unchanged

  • electron-builder can't be imported under vitest on Windows (likely upstream).
  • Windows' no-mux SSH path has no coverage — the well-covered mux path is the one Windows never takes.

Generated by Claude Code

Held back from #177 deliberately — over-including files caused both earlier
rounds on this lane, so the fix landed first and the widening comes now that
both files are cross-platform on main. Four files to six.

The check I owe, since these are whole files (16 and 22 tests) rather than
just the two assertions repaired in #177: in the first full-suite Windows run,
job 93652696640, the only failures from these two files were
update-relaunch.test.ts:54 and windows-hermes-path.test.ts:177. Every other
test in them was observed passing on a Windows runner. The ssh-connection
failures from that run are in a file that stays excluded.

One gap observation could not cover: vitest stops at the first failing
assertion in a test, so the second assertion of the test at :53 was never
reached on Windows. The win32 simulation covers it explicitly and it passes
after the repair — 14 passed, 0 failed across posix and win32.

Selection re-verified: six of the project's 80 test files, with before-pack,
stage-native-deps and ssh-connection still excluded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012689txgT12g2hjRczcUZi8
@github-actions
github-actions Bot merged commit a02a57c into main Aug 11, 2026
12 checks passed
@github-actions
github-actions Bot deleted the claude/daily-repo-scan-v8fvqs branch August 11, 2026 02:13
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.

2 participants