Nightly: nothing an unreviewed build leaves reaches a release
Orchestrator's review of #2859: a nightly can hold pull requests nobody reviewed yet, and their build scripts run in `build`. game-build.yml gets a `trusted` input, true only from release.yml: - the Rust cache (GitHub-hosted Linux and Windows): its own key for an untrusted build (`nightly-<name>`), never saved; a release restores only what a release saved; - macOS: an untrusted build's exporters and build jobs run on the runner that already runs pull requests' parity jobs (macOS + horizon-game), never the release runner (MAC_RUNNER) nor parity-main's; - a trusted build doesn't read the machine's shared sccache, which pull requests' jobs write (runner-env.sh: HORIZON_NO_SCCACHE). tests/test_nightly.py pins all three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -474,7 +474,11 @@ comment on any issue or pull request (`.github/workflows/nightly-command.yml`, `
|
||||
merge with a read-only token that isn't kept in the checkout and no secrets; the runner's Developer ID keychain
|
||||
stays locked. `sign` is the only job with the key, and checks out only main's `tools/ci/sign_release.sh`, which
|
||||
hashes the archives with the runner's `sha256sum` and signs with its OpenSSL: it never runs what `build` made.
|
||||
`publish` runs main's `horizon-release-sign`, never the archives.
|
||||
`publish` runs main's `horizon-release-sign`, never the archives. Nothing a nightly's build leaves reaches a
|
||||
release either: `game-build.yml`'s `trusted` input is true only for `release.yml`. An untrusted build runs its
|
||||
macOS jobs on the runner that runs pull requests' parity jobs (`horizon-game`), never the release runner
|
||||
(`MAC_RUNNER`), and its Rust cache has its own key and is never saved. A trusted build doesn't use the machine's
|
||||
shared sccache, which pull requests' jobs write (`HORIZON_NO_SCCACHE`, `tools/ci/runner-env.sh`).
|
||||
- **Players.** Releases stay the default and the only channel any launcher follows unless its player turns Nightly
|
||||
on. `release_train.py`, `horizon-server update`, `install.sh` and the launcher's release list skip the tags: none
|
||||
of them is `vX.Y.Z`.
|
||||
|
||||
Reference in New Issue
Block a user