The emerge job failed on any saved elog, so warn elog from eclasses,
such as CONFIG_CHECK without kernel sources in the CI container, failed
pull requests whose package was fine. The job now fails only on QA and
error elog. Portage also saves log elog now, and every target's elog is
uploaded and reported in a new section of the pkgcheck report comment,
so reviewers still see the warnings and post-install notes. When
dependency resolution or the emerge fails, the section shows the last
lines of its output, because the elog alone does not show the cause. The
build.log of each package that failed is uploaded as an artifact and
linked from its row.
pkgcheck-comment now also handles the requested event of pkgcheck and
emerge-on-pr, so each section shows that its run is in progress, and
removes the elog section when a push leaves no emerge targets. Because
runs of both sections and of older pushes edit the same comment at once,
upsert-comment-section.sh writes only while the pull request head is
still the run's commit, and reads the comment back to write again when
another run overwrote its section.
Signed-off-by: Zakk <zakk@gentoozh.org>
Pass ICON_COMMIT to the engine as a static pin, because the icon is fetched at a fixed commit and would otherwise escalate every antigravity bump.
Turn autobump on for 1password, because engine commit 29b4088 removed the acct-group limitation its comment named.
Turn it off for liblol, because KEYWORDS="-* ~loong" means the amd64 build gate can never install it.
Signed-off-by: Zakk <zakk@gentoozh.org>
v2rayA, chezmoi, yacd-meta, open-orpheus-bin, zcode-bin and marktext-bin
were bumped as a plain rename plus Manifest in nearly every release since
2025-10. v2rayA keeps older release branches, but each bump replaced only
the newest one, which is what autobump does.
Signed-off-by: Zakk <zakk@gentoozh.org>
antigravity takes MY_BUILD from the execution_id that the release index
nvchecker already reads lists beside each version; ICON_COMMIT has not
changed since August, so the old reason to keep autobump off is gone.
llama-cpp takes BUILD from the nightly-tag.txt asset of its release.
fcitx-pinyin-zhwiki takes ZHWIKIV from the Arch PKGBUILD that nvchecker
tracks. The piliplus-bin MY_PV regex now requires the +build form, so it
cannot pick the %2B-encoded download URL.
Each regex was run through Rewrite.extract_value against the live source
and returned the value of the current ebuild.
Signed-off-by: Zakk <zakk@gentoozh.org>
osu-lazer-bin, biliup-app-bin, at32workbench, naiveproxy-bin and go-musicfox
were bumped as a plain rename plus Manifest in nearly every release since
2025-10. osu-lazer-bin keeps three versions, so it takes autobump = 3.
Signed-off-by: Zakk <zakk@gentoozh.org>
Cancel pkgcheck and pr-rules runs of a pull request that a newer push supersedes, and skip the report upload on cancellation so a half-finished scan is never posted.
Name the two target-selection jobs after their workflow, since both showed up as "scan changed ebuilds".
Give the tatt job a static name, because a skipped job never expands its matrix and showed the raw expression.
Signed-off-by: Zakk <zakk@gentoozh.org>
The required_checks ruleset already blocks the merge for everyone: pr-rules
is a required check and the ruleset has no bypass actors. Closing on top of
that only forced a new pull request for a fixable description. Keep one
comment that names the problems, update it on each run, and delete it once
the rules pass. pr-rules now also triggers the comment job, so editing the
description clears it without a push.
Signed-off-by: Zakk <zakk@gentoozh.org>
Contributors delete the template, so reviewers cannot see whether
pkgcheck ran or AI was used. The boxes stay optional because not every
contributor can run pkgcheck with --net and the AI box applies only when
AI was used. The autobump bot does not fill in the template and is
skipped.
The commit rules move from pkgcheck into the same workflow, because both
checks read the pull request rather than the ebuilds and must rerun when
the description is edited, which pkgcheck should not.
pkgcheck-comment now also closes a pull request without the template,
and its reply lists the commit and template problems in separate
sections.
Signed-off-by: Zakk <zakk@gentoozh.org>
Workflow names now match their file stems, so the Actions list and the
files read the same; generate-deps-relation-r1.yml becomes
deps-table.yml after the branch it maintains. Steps are lowercase and
verb-first, every step is named, and the autobump-rb checkout has one
name everywhere.
Also use 4-space step indentation, fromJSON, bare if: expressions,
github.actor for every ghcr login, uppercase env names, and the
GITHUB_REPOSITORY and GITHUB_REPOSITORY_OWNER variables the runner
already sets instead of REPO and OWNER copies. No behaviour changes.
Signed-off-by: Zakk <zakk@gentoozh.org>
AUTOBUMP_JUDGE is set nowhere, so every escalation already goes to a
human; remove autobump-judge.sh and the judge path in
autobump-sweep.py, whose only other entry, the --accept-surface retry,
ran on a judge verdict alone. Behaviour with the variable unset is
unchanged.
Also drop debug output (echo pkgs, targets, cat make.conf), the 130
exit branch that only renamed the generic one, the unused
AUTOBUMP_STATUS_BACKOFF override, and comments that described the
shell autobump-sweep.py replaced or named the wrong caller.
Signed-off-by: Zakk <zakk@gentoozh.org>
Jobs inherited write scopes they never use, so each workflow now
defaults to contents: read and grants pull-requests: read or
packages: write only to the jobs whose GITHUB_TOKEN calls need them.
The autobump bump job keeps its own block.
Failures that read as success now fail the step: a failed gh call in
nvchecker-check.py no longer reads as "no issue" and opens a duplicate,
and fleet-keeper no longer reports "found 0" when listing repositories
or workflows fails.
emerge-targets.sh took =cat/foo-bar-1.0 for a version of cat/foo, so a
PR touching both dropped cat/foo; only a digit after the dash starts a
version.
setup-gentoo added the x86-64 binhost on arm64 as well; it is now
added on amd64 only.
mirror-to-codeberg trusted whatever ssh-keyscan returned while holding
a write key; the host key is now pinned and checked.
stage3 cleanup ran even when build was skipped on a fork schedule.
Signed-off-by: Zakk <zakk@gentoozh.org>
pkgcheck-comment closes a pull request only after pkgcheck has finished,
and its check is not attached to the pull request, so a maintainer could
merge before it ran. A commits job in pkgcheck fails on the same rules
and can be required before merging. Both read the rules from
scripts/commit-rules.sh.
Signed-off-by: Zakk <zakk@gentoozh.org>
The reply listed what a commit missed but left the rules vague and gave
no example, so a contributor could not tell how to fix the commits. It
now lists the rules with examples and the commands that fix them.
Signed-off-by: Zakk <zakk@gentoozh.org>
pr-text.md asks every subject to start with what it changes, every
commit to carry Signed-off-by, and a branch rebased without merge
commits. Nothing checked it, so subjects such as "bump version" and
"Update <path>.ebuild" reached master.
pkgcheck-comment already runs with a write token for every pull request
and resolves its number, so it closes one whose commits miss any of
these, replying with each commit, what it misses and how to fix it.
Reverts keep git's default subject.
Signed-off-by: Zakk <zakk@gentoozh.org>
daily now builds the image every day. A bump run that finds no image for
today, because daily failed or the run started after 00:00 UTC before
daily, built its own, which took ten minutes and repeated what daily
does. Take the newest image of the last three days instead, and build
only when none is kept or rebuild_env asks for it.
Signed-off-by: Zakk <zakk@gentoozh.org>
Every master push regenerates the table and pushes deps-table. Merges in
quick succession ran in parallel, and the later push failed with
"cannot lock ref" (runs 37648688135, 37811488830). One group queues
them, and a newer pending run replaces an older one.
Signed-off-by: Zakk <zakk@gentoozh.org>
stage3, nvchecker and autobump each had a schedule of their own, and
GitHub starts each 5-8 hours late, so their order shifted from day to
day. daily.yml is now the only schedule: it calls stage3, then
autobump-env on the fresh stage3, and nvchecker in parallel; autobump
runs when daily completes and autobump-wait after it, as before.
The steps are reusable workflows rather than a workflow_run chain,
because workflow_run stops after three levels and autobump-wait would
already be the fourth.
- daily runs at 00:17 UTC, so autobump-env carries the date the bumps
run on and autobump starts without building its image.
- autobump drops its 11:00 schedule: autobump-wait already dispatches
it again once the missing bundles are ready.
- stage3, autobump-env and nvchecker keep workflow_dispatch; nvchecker
run by hand still starts autobump.
Codeberg mirroring no longer runs on every branch deletion: merged
autobump branches queued dozens of runs a day, and the next push or the
daily run prunes them anyway.
Signed-off-by: Zakk <zakk@gentoozh.org>
gentoo/stage3 is rebuilt weekly, but the tree drops old versions within
days, and emerge cannot rebuild an installed package the tree no longer
has. #14578 failed on such a slot conflict: the desktop images carry
kwindowsystem-6.27, bound to qtbase 6.11.1, and the tree starts at 6.29.
stage3.yml updates every installed package of each profile from the
binhost daily and pushes ghcr.io/<owner>/stage3:<profile>; a failed build
keeps the previous image. emerge-on-pr and tatt run in it, and
autobump-env builds on the amd64-desktop-openrc one.
needs-perl-update.sh only covered the same lag for perl, so it goes.
eselect repository downloads repositories.xml from api.gentoo.org first.
On 2026-10-09 the runner resolved that host to IPv6 addresses only, could
not reach them, and the eix job failed before any check ran. Neither repo
needs the list: write their repos.conf entries directly and drop
app-eselect/eselect-repository from the job's dependencies.
Signed-off-by: Zakk <zakk@gentoozh.org>
AOSC-Dev/liblol published debian/v0.1.11-1 as its latest release, which
is not a Portage version (#14544, #14545, #14546). The three liblol
entries now take the highest vX.Y.Z tag instead.
Signed-off-by: Zakk <zakk@gentoozh.org>
gentoo-zh-drafts/fast-resume now has the crate-dist mirror sync, so the
crates tarball of a new version is built from its tag; v2.13.1 was the
first one. The past bumps were rename + Manifest only.
Signed-off-by: Zakk <zakk@gentoozh.org>
Each of these had only rename + Manifest bumps in the last six months
(git log since 2026-04-09). A bump that is not mechanical escalates to a
manual one.
net-misc/tsshd was turned off because its vendor tarball on
gentoo-zh-drafts is generated per version; autobump now waits for that
bundle and resumes the issue.
Signed-off-by: Zakk <zakk@gentoozh.org>
The wait job slept 60 seconds because the issue search index lags issue
creation. The sweep now lists open issues without --search and keeps the
[nvchecker] titles with jq, so a new issue is listed at once and plan
carries the nvchecker gate itself.
Signed-off-by: Zakk <zakk@gentoozh.org>
autobump-wait runs autobump-rb's wait.py when an autobump run finishes.
It waits for the bundles that run found missing and dispatches autobump
again for those issues once they exist. The bundle repos it reads are
public, so it reads them with the job token, which outlives the up to
three hours it polls; an App installation token expires after one.
autobump.yml names a run dispatched with issues "autobump issues: N",
so a waiter can tell the run it dispatched from one another waiter
dispatched. The plan job uploads its snapshot and delta even when it
fails, so the waiter can read them.
Signed-off-by: Zakk <zakk@gentoozh.org>
Unmaintained. Removal on 2026-11-09. Comment out its nvchecker entry so
no new version issue or autobump PR is opened while the mask is in place.
Signed-off-by: Zakk <zakk@gentoozh.org>
Shared checkouts left later packages waiting on tracked modifications. Give each
attempt its own job while retaining eight concurrent workers. Cap planned attempts at
the matrix limit, including explicit issue lists.
Signed-off-by: Zakk <zakk@gentoozh.org>
The Watfaq organization was renamed to Watfaq-legacy, so the old URLs only
redirect. GIT_CRATES keep the Watfaq URLs because they must match
Cargo.lock.
Signed-off-by: Zakk <zakk@gentoozh.org>
nvcmp --sort portage raises TypeError on a new version that Portage
cannot parse. On 2026-10-04 the tag mobile-v0.1.5 failed the whole job,
so the job opened no bump issue for any package.
scripts/nvchecker-check.py restores the old version of such an entry,
so nvcmp still compares the other packages, and opens one issue per
package and version that CCs the package maintainers. It also prints a
warning for each package whose upstream returned no version.
Signed-off-by: Zakk <zakk@gentoozh.org>
Upstream now publishes mobile-v* releases in the same repository, and
use_latest_release picked mobile-v0.1.5. nvcmp --sort portage then fails
on that invalid version and aborts the whole nvchecker job.
Signed-off-by: Zakk <zakk@gentoozh.org>
The stage3 images can ship an older dev-lang/perl than the one the
binhost builds perl modules against. A target that pulls a new perl
module then schedules the newer perl while installed modules keep the
old one, and emerge stops on a dev-lang/perl:0 slot conflict.
When the target's dependencies would replace dev-lang/perl, update it
from the binhost first, then run `perl-cleaner --all` to reinstall the
modules built for the old perl, as the Gentoo perl upgrade news item
recommends.
Signed-off-by: Zakk <zakk@gentoozh.org>
Long inline shell and repeated explanations obscure the job sequence.
The engine already has its own selftest.
Because one failed issue update must not cancel the others, disable
matrix fail-fast. An empty eix result must produce an empty package map.
Pin the push action because the dependency-table job grants it write
access.
Signed-off-by: Zakk <zakk@gentoozh.org>
Because the engine returns to master, restore the dispatched ref so
every trial target uses the selected scripts. Reuse the worker image
because it already supplies the trial setup and tools.
A skipped report job leaves no artifact, so skip its download and comment
instead of failing the comment workflow. Select a marker across all
comment pages because per-page lookup can return several comment IDs.
Signed-off-by: Zakk <zakk@gentoozh.org>
The repeated stage3 setup obscures the package tests.
Because gh pr view stops at 100 files, use every API page so large PRs
test every changed package. Match ignore prefixes literally because
regex metacharacters also exclude unrelated paths.
Signed-off-by: Zakk <zakk@gentoozh.org>
emerge-on-pr and tatt gave the runner's CPU flags to every target, and autobump and
autobump-trial to every package through */*. A package with optional flags, such as
dev-util/opencode-bin or sci-ml/llama-cpp, was then tested only in its runner
variant, never in the baseline one most of its users get, and in autobump a
dependency with such flags would no longer match the binhost's USE and would be
built from source.
Each workflow now tries the package with the baseline flags first and writes the
runner's flags only when its REQUIRED_USE is unsatisfied, as for dev-util/hunk-bin
and dev-util/oh-my-pi-bin. The check accepts all keywords and licenses, because a
masked package does not report its REQUIRED_USE.
The four workflows share the check in scripts/needs-cpu-flags.sh.
Signed-off-by: Zakk <zakk@gentoozh.org>
cc-switch, clash-verge-rev, dae and agent-workspace-linux download per-version
bundles that were only built by hand or by an hourly sync, so autobump or a manual
bump could reach them before the bundle exists. With the entries the plan dispatches
the producer for a new version and holds the bump until the release is complete.
clash-verge-rev's service crates follow a pinned commit rather than the version, so
they stay a manual step.
Signed-off-by: Zakk <zakk@gentoozh.org>
emerge-on-pr builds each changed ebuild once with its default USE flags, so a missing
dependency or a build failure behind a non-default flag goes unseen. tatt builds
random valid USE combinations; the job tests four of them on amd64 for each selected
ebuild. It selects a new package and an ebuild that changes IUSE or REQUIRED_USE
when they have a flag to vary, since those are where USE handling breaks. Any other
ebuild runs only when a maintainer adds the tatt label, because every combination is
a full build; the scan job's summary says why each ebuild was skipped.
Signed-off-by: Zakk <zakk@gentoozh.org>
Both ebuilds download a per-version bundle from gentoo-zh-drafts, whose workflows
build it only on a schedule, daily for openclaude and hourly for alcom, so autobump
could reach the bump before the bundle exists. With the entries the plan dispatches
the workflow for the new version, holds the bump until the release is complete, and
escalates a failed build.
Signed-off-by: Zakk <zakk@gentoozh.org>