Skip to content

kernel: move the default kernel job to bot.py - #72

Merged
fcuny merged 3 commits into
mainfrom
wt/kernel-bot-default
Oct 25, 2026
Merged

fcuny merged 3 commits into
mainfrom
wt/kernel-bot-default

Conversation

@fcuny

@fcuny fcuny commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Moves the kernel workflow's default job to kernel/bot.py default. The sed becomes retag, a regex tested with the same cases: a tag at the end of a line or a sentence changes; :7.2.9 and :7.20 don't.

New: like the kernel-update workflow, it skips a series whose PR was closed, so closing the default-kernel PR keeps the current default. The kernel README says so. A PR the bot closed itself, with its "Superseded by" comment, doesn't count: that series can still become the default later, e.g. after a newer one is rolled back.

Run locally on main, it skips (the default is already :7.3). A dry run of retag from 7.3 to 7.4 changes the same lines as #67.

🤖 Generated with Claude Code

@fcuny
fcuny added this pull request to stack #73 October 25, 2026 18:53
@fcuny fcuny changed the title kernel: move the default kernel job to bot.py, and skip a series whose PR was closed kernel: move the default kernel job to bot.py Oct 25, 2026
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch from 1ab0372 to 6642bb4 Compare October 25, 2026 19:47
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch from 6642bb4 to fdc57cf Compare October 25, 2026 19:50
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch from fdc57cf to 862f300 Compare October 25, 2026 19:50
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch 2 times, most recently from 2f63a16 to 3a4bc97 Compare October 25, 2026 19:57
@fcuny
fcuny marked this pull request as ready for review October 25, 2026 19:58
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch 2 times, most recently from 49ffeae to 2326dc9 Compare October 25, 2026 20:00
Base automatically changed from wt/kernel-bot-update to main October 25, 2026 20:01
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch from 2326dc9 to 54a7100 Compare October 25, 2026 20:01
fcuny and others added 2 commits October 25, 2026 13:02
…e PR was closed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fcuny
fcuny force-pushed the wt/kernel-bot-default branch from 54a7100 to 394375a Compare October 25, 2026 20:02
A default-kernel PR closed because a newer series superseded it no
longer keeps the default from moving to that series later. Only series
branches are closed as superseded, the PRs are only looked up for a
newer series, and retag matches what the sed did, two dots included.
The kernel-bot workflow runs when cmd/c2vm/kernel.go changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fcuny
fcuny merged commit 00728d9 into main Oct 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant