Repository navigation
Conversation
SwiftPM records the compiler's absolute path in build signatures, so a random extraction directory invalidated restored .build caches on every run. The toolchain now goes to $RUNNER_TOOL_CACHE/swift-verified/<version>/<arch>-<platform>, which is removed entirely (after validating the path) and then filled only from the archive verified in this run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XVjPg7eFxt1cU3r6wzjYTa
…ed paths The toolchain moves to $RUNNER_TEMP/setup-swift/<version>/<arch>-<platform> (stable across runs, private to one runner instance). The cached archive is copied to a private snapshot that is both GPG-verified and extracted, and no path component from RUNNER_TEMP down may be a symlink. CI covers symlinked components and out-of-tree install directories. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XVjPg7eFxt1cU3r6wzjYTa
plan-linux.sh derives swift.org's platform names from VERSION_ID instead of a fixed list, so new Ubuntu releases work once swift.org publishes them. install-linux.sh adds GCC 15 for 26.04 and falls back to the distribution's default GCC for unknown releases. CI covers ubuntu-26.04(-arm) with 6.4.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…u runners Discovers the latest swift.org release and every Ubuntu version that both swift.org and GitHub-hosted runners offer, installs and runs hello world on each, and opens or updates a tracking issue when the scheduled run fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 5 tasks
Member
Author
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.
Summary
plan-linux.shderives swift.org platform names from any UbuntuVERSION_ID(e.g.ubuntu2604/ubuntu26.04) instead of a fixed list, so new Ubuntu releases work as soon as swift.org publishes them; releases without a build still fail at download with the URL tried. Non-Ubuntu distributions still fail with an explicit error.install-linux.shadds GCC 15 for 26.04 (matching swift-docker's 26.04 Dockerfile) and falls back to the distribution's default GCC for unknown releases.ubuntu-26.04andubuntu-26.04-arm(6.4.1 only; 6.3.3 has no 26.04 build)..github/actionlint.yamlregisters these labels, which the pinned actionlint 1.7.7 does not know yet..github/workflows/watch-linux.yml(weekly + manual): reads the latest release from swift.org'sreleases.json, intersects its Ubuntu platforms with GitHub-hosted runner labels, installs and runs hello world on each, and opens or comments on a "Latest Linux check failing" issue when a scheduled run fails.This branch is stacked on
deterministic-install-dir(afd1d00, 28e70b5), which has no PR of its own, so those two commits are included here.Test plan
watch-linux.ymlcan only be dispatched after it lands on main🤖 Generated with Claude Code