Repository navigation
CI and releases run on GitHub-hosted runners, never our own machines - #3
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preparing to make the repository public.
ci.ymlruns 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.ymlandrelease.yml:macos-latestandwindows-latest; clean steps removed (fresh machines); npm cache on; CI gets read-only permissions.docs/RUNNERS.mdrewritten to say why; machine names removed.docs/DISTRIBUTION.mdandscripts/clean.mjscomments to match.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