Repository navigation
ci(wsl): an issue for each new WSL release, to update it on your PC - #74
Merged
Merged
Conversation
WSL runs the Linux half of the local verify, and nothing updates it: setup.sh updates only the Ubuntu inside. wsl-releases.yml looks up microsoft/WSL's latest release once a day. For each new version it opens one issue, "WSL update: <version>", assigned to the owner and @mentioning them, with the commands to update. GitHub can't see the PC, so the owner closes the issue. A title is never used twice, and a newer release closes the open one. Permissions: issues: write only, no checkout. Only a plain version number from the release reaches the issue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The close of the replaced issue ran only in the run that opened the new one, so a close that failed once left the older issue open for good. It now runs every day. An issue for a newer version than the latest release (the release went back) stays open; versions compare numerically (sort -V). Found by GLM 5.3 flash's review. 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.
This adds a daily reminder, by issue, when a new WSL version is out, so you can update WSL on your PC. You asked for this tonight.
It ships nothing: merging it doesn't release.
Why
pnpm run verify:linuxruns in WSL. Before every run,tools/linux/setup.shupdates the Ubuntu inside WSL (apt, Node, Firefox, actionlint). Nothing updates WSL itself, and GitHub can't reach your PC to do it. Your PC has WSL 2.7.14; 3.0.1 came out yesterday.What it does
.github/workflows/wsl-releases.ymlruns once a day (06:00 UTC), and on demand from the Actions tab:wsl --version,wsl --update,wsl --shutdown, andwsl --update --web-downloadin case the update hasn't reached you yet.After the merge I'll run it once by hand, so the 3.0.1 issue arrives tonight, not at 06:00 UTC tomorrow.
Security
permissions: issues: writeonly. It has no checkout, and runs only on its schedule or when started by hand, never on pull requests.^[0-9]+(\.[0-9]+){1,3}$) is used, in the title and a link built from it. Anything else fails the run and opens the failure issue.Docs
docs/maintenance.md: a row in the update-source table, and the failure issue added to "An issue from a watcher".CLAUDE.md: an entry next toreminders.yml.The new row and entry sit away from the lines #71 and #72 change, so the three merge in any order.
Checks
ci.ymlpins), in WSL: clean.ghserving canned JSON through the real jq, and every create and close logged. 14 scenarios, all as intended:vprefix: refused;env.PREFIXdoesn't work in gh's built-in jq. The run against this repository above uses exactly that filter and finds Toolchain update: Node.js 24 #11.toolchain-updates.ymldoes the same, and this repository has about 70 issues in total.🤖 Generated with Claude Code