Skip to content

CI and releases run on GitHub-hosted runners, never our own machines - #3

Merged
jeffcrouse merged 4 commits into
mainfrom
ci/github-hosted-runners
Nov 20, 2026
Merged

jeffcrouse merged 4 commits into
mainfrom
ci/github-hosted-runners

Conversation

@jeffcrouse

Copy link
Copy Markdown
Member

Preparing to make the repository public. ci.yml runs on pull requests, and on a public repo a pull request from a fork runs its own code, so it must never run on a studio computer. GitHub's guidance is never to use self-hosted runners with a public repo.

  • ci.yml and release.yml: macos-latest and windows-latest; clean steps removed (fresh machines); npm cache on; CI gets read-only permissions.
  • docs/RUNNERS.md rewritten to say why; machine names removed. docs/DISTRIBUTION.md and scripts/clean.mjs comments to match.
  • Release signing is ad-hoc (no secrets), so nothing else changes.

To verify on this PR: both CI jobs pass on hosted runners, including npm run smoke (it opens a real window). The repo is still private, so these runs use paid minutes until it goes public.

🤖 Generated with Claude Code

jeffcrouse and others added 4 commits November 20, 2026 16:10
Preparing to make the repository public: a pull request from a fork runs its
own code in ci.yml, so it must never land on a studio computer. Hosted
runners are free for public repos and start clean, so the clean steps go.
docs/RUNNERS.md is rewritten to say why; machine names are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub's Windows runners check out with core.autocrlf, and format:check then
flags every file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hosted Windows runners deliver file events slower than the 6s the check
allowed; the reload itself happens (the next check passes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub's hosted Windows runner hands out a temp folder with an 8.3 short
name (C:\Users\RUNNER~1\...). Recursive fs.watch on such a path never
reported edits as changes inside the app's folder, so the iframe never
reloaded. Resolving the path with realpathSync.native first fixes it,
for designers with long Windows user names as well as for CI.

Reverts the 20s wait from 5cd9ee6, which was chasing the wrong cause.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeffcrouse
jeffcrouse merged commit d82c0cc into main Nov 20, 2026
2 checks passed
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