Repository navigation
kernel: move kernel-update's steps to bot.py, with tests - #71
Merged
Merged
Conversation
fcuny
force-pushed
the
wt/kernel-bot-update
branch
from
October 25, 2026 19:47
98fd571 to
5459851
Compare
fcuny
force-pushed
the
wt/kernel-bot-update
branch
from
October 25, 2026 19:50
5459851 to
f4d5e48
Compare
fcuny
force-pushed
the
wt/kernel-bot-update
branch
2 times, most recently
from
October 25, 2026 19:55
70dd121 to
7b415a1
Compare
fcuny
force-pushed
the
wt/kernel-bot-update
branch
from
October 25, 2026 19:57
7b415a1 to
012d424
Compare
fcuny
marked this pull request as ready for review
October 25, 2026 19:57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fcuny
force-pushed
the
wt/kernel-bot-update
branch
from
October 25, 2026 19:58
012d424 to
b0da667
Compare
The kernel-update workflow runs bot.py from the branch it runs on, on main's checkout; bot.py acts on the checkout it runs from. bot.py and kernel/test/ no longer trigger the kernel workflow: a new kernel-bot workflow runs the tests. The PR body goes in a file, kernel.org's answer is checked and retried, and the series comes from series.sh. 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.
Moves the kernel-update workflow's check and PR steps from inline bash to
kernel/bot.py update-checkandupdate-pr. It's stdlib only and runs with the runner'spython3. It behaves the same, with versions compared as tuples instead ofsort -V, andgh's JSON parsed in Python.kernel/bot_test.pytests the version decisions, the PR body and its truncation, and which PRs get closed; a newkernel-botworkflow runs it.bot*.pyandkernel/test/no longer trigger the kernel workflow. The kernel-update workflow runsbot.pyfrom the branch it runs on, with a second, sparse checkout.update-checkwas run locally for the daily case (skips: already on 7.3), 7.3 by hand (fails), 7.2.9 by hand (goes ahead), and a bad version (fails).update-prfirst runs for real with the next release.🤖 Generated with Claude Code