Skip to content

ci(coil): desktop tests no longer race Electron's download - #195

Merged
radroid merged 1 commit into
mainfrom
coil/ci-ensure-electron
Oct 22, 2026
Merged

radroid merged 1 commit into
mainfrom
coil/ci-ensure-electron

Conversation

@radroid

@radroid radroid commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

main's CI no longer fails at random on desktop tests.

Electron downloads its binary the first time something imports it, and the fork's Test job never fetched it up front. Two desktop test files can start that download together and collide ("File exists"); the loser fails with "Electron failed to install correctly". That failed main's CI for 238aed8c8f on DesktopUpdates.test.ts, after the same tree passed twice on #193.

The Test job and the daily sync's test step now run ensure:electron first, as upstream's ci.yml, coil-release.yml and coil-weekly-verify.yml already do.

Tests

  • CI on this PR: the new step ran (2s), and the Test job then logged no "Downloading Electron binary", where main's failed run logged it twice. All 9 checks pass.
  • bash -n scripts/coil/sync-upstream.sh passes, and coil-ci.yml parses as YAML.
  • Not checked: the sync script's new step only runs in the daily sync, so tomorrow's run is its first.

Merge danger

Low, two-way door. If the step fails, the Test job fails before running tests.
Merge only after the release for 238aed8c8f publishes, so that release stays marked latest.

Made by Claude Opus 5.5 in Claude Code, driven from T3 Code.

🤖 Generated with Claude Code

Electron downloads its binary the first time something imports it. The
fork's Test job never fetched it up front, so two desktop test files could
start that download at once and collide ("File exists"); the loser failed
with "Electron failed to install correctly". It failed main's CI run for
238aed8 on DesktopUpdates.test.ts after passing twice on the PR.

Run ensure:electron before the tests, as upstream's ci.yml, the release and
the weekly verify already do, and in the daily sync's test verify too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@radroid
radroid merged commit 5b57b1e into main Oct 22, 2026
9 checks passed
@radroid
radroid deleted the coil/ci-ensure-electron branch October 22, 2026 20:48
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