Commit Graph
58 Commits
Author SHA1 Message Date
Zakk d2a85360de .github: run CI in a stage3 image updated daily
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.
2026-10-11 00:50:45 +11:00
Zakk ed7fcfd120 .github/workflows/nvchecker.yml: write repos.conf instead of eselect repository
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>
2026-10-10 04:22:41 +11:00
Zakk b885f35b7a scripts: mark an unfinished pkgcheck scan instead of a finished one
pkgcheck-comment runs master's scripts, but the artifact comes from the
pull request's merge ref, which can predate the change that added the
complete marker. Such an artifact was reported as a scan that did not
finish (#14536). Stage now writes an incomplete marker when the scan did
not finish, so an artifact without either marker reads as before.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 11:32:47 +11:00
Zakk fac5b38dec scripts: keep autobump from skipping issues and refusals silently
- select_issues: fetch up to 1000 open issues. The 200 limit now counts every
  open issue before the [nvchecker] title filter, so more open issues would
  push nvchecker issues out of the window.
- run_worker: annotate an item that raised, such as a missing bundle snapshot,
  with ::error so the skipped bump shows on a green run.
- find_status_comment_id: match only bot comments, and take the first id
  because --jq prints one per page with a match.
- autobump-trial.sh: skip a target whose overlay.toml entry autobump-args.py
  refuses instead of building it with default flags.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 11:10:14 +11:00
Zakk 471c387b74 scripts: stop the pkgcheck report from passing unfinished or hidden findings
A failed `pmaint sync` or `pmaint regen` left empty report files, and the
comment counted zero new findings and posted good. The scan now leaves a
complete marker and the comment reports a scan that did not finish.

New findings were keyed by package, keyword and version, so a second
finding of the same keyword in an existing version was taken for the old
one. They are now compared by their message without line numbers, counted
as a multiset.

The marker lookup only takes comments written by a bot, so a user comment
that quotes the marker is not edited.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 11:09:43 +11:00
Zakk afb88a7577 .github/workflows: start autobump without the one-minute wait
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>
2026-10-09 10:15:25 +11:00
Zakk 23dabd3139 scripts/autobump-sweep.py: report missing per-version bundles
The bundle controller now also sees opted-in packages without a bundle key, and a transient 404 on a per-version deps artifact is listed under waits in the shard delta, so autobump-wait can wait for that artifact instead of the next scheduled run.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 10:15:25 +11:00
Zakk 2c552a6c56 scripts/needs-perl-update.sh: update perl when the binhost index fails
When emerge --pretend cannot fetch a binhost index, it resolves the
target against ebuilds only. The perl modules then stay on the
installed perl, the output names no dev-lang/perl, and the script
reports that no update is needed. The later `emerge --onlydeps` fetches
the index, pulls dev-lang/perl 5.44 binpkgs against the stage3's perl
5.42 and fails with a slot conflict.

That happened to =app-text/imewlconverter-9999 on amd64-desktop-openrc
in run 37817036593: its `emerge --onlydeps` step printed no "[gentoo]
Local copy of remote index is within TTL" line, while the other jobs of
the same run did, and the systemd job of the same atom updated perl.

Exit 0 when the output reports "Error fetching binhost package info",
so an unknown answer costs a perl update instead of a failed job.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-09 05:28:13 +11:00
Zakk bb2d857264 autobump.yml: give each package a fresh worker
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>
2026-10-07 01:54:03 +11:00
Zakk 46d0513c78 .github/workflows/nvchecker.yml: skip new versions Portage cannot parse
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>
2026-10-05 20:35:32 +11:00
Zakk 4ac63a2a18 scripts/autobump-sweep.py: assign the issue while a bump runs
The sweep adds AUTOBUMP_ASSIGNEE (gentoo-zh-bot by default) to the issue
before it runs the engine, so the issue list shows which versions autobump
is already working on. The assignment stays when a PR is opened and is
removed after an escalation, a deferral or a crash.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-04 16:18:03 +11:00
Zakk e112002acb scripts/needs-perl-update.sh: unmask keywords for live ebuilds
A live ebuild has empty KEYWORDS, so `ACCEPT_KEYWORDS="~amd64"` alone
leaves it masked. emerge --pretend then prints no dependency list,
needs-perl-update.sh reports that perl is not needed, and the workflows
skip the perl update step. The later `emerge --onlydeps` then pulls
dev-lang/perl 5.44 binpkgs against the stage3's perl 5.42 and fails with
a slot conflict on dev-perl/Error and dev-vcs/git[perl].

Pass `--autounmask=y --autounmask-continue=y`, as the emerge steps
already do, so the keyword unmask is applied in memory and the
dependency list is reported. A target that does not need perl still
reports none.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-02 19:43:46 +10:00
Zakk a8f4957b99 .github: update perl when the target pulls perl modules
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>
2026-10-02 08:51:19 +10:00
Zakk 756d956d1e .github/workflows: trim comments, drop autobump-selftest
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>
2026-10-02 01:54:16 +10:00
Zakk 5cefccb26c .github/workflows: move trial and pkgcheck comment logic into scripts
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>
2026-10-02 01:54:16 +10:00
Zakk a12c7f8d37 .github: share Gentoo setup and changed-package detection
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>
2026-10-02 01:54:16 +10:00
Zakk 6fced8485a .github/workflows: give CPU flags only to packages that need them
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>
2026-10-01 15:54:24 +10:00
Zakk 0b26e19d66 .github/workflows/autobump.yml: prepare vendor bundles before bumping
nvchecker dispatched gentoo-deps bundles as soon as it saw a new version, but
autobump could reach the bump before the bundle was released; the 404 then ended as
an escalation or used up the transient retries.

The plan job now runs the bundle controller, autobump-rb's bin/bundles.py, for every
open issue whose package has `deps` or `bundle` in overlay.toml, opted in or not. It
dispatches a missing bundle at most three times per bundle and version, holds the
package back until the bundle is ready, and escalates after four observations. The
engine reads the snapshot through --bundle-status to tell a pending bundle from a
wrong file name.

`deps` names the gentoo-deps generator language, from which the controller derives
the repository, workflow, release tag and inputs; a producer with its own workflow,
as in gentoo-zh-drafts, takes the full `bundle` form. bundles.yml runs the same
controller to check or prepare a package's bundles by hand.

The nvchecker dispatch job and gentoo-deps-dispatcher.toml are removed, so only one
path dispatches bundles.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 01:16:59 +10:00
Zakk 956f131a1f scripts/autobump.md: correct the start delay and the 404/403 outcome
The workflow waits 60 seconds after nvchecker, not 5 minutes, and now
starts after any nvchecker run that was not cancelled. The engine
escalates a distfile that upstream answers with 404 or 403 instead of
deferring it, so it no longer belongs under defer.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 00:58:52 +10:00
Zakk 7919e603eb scripts/autobump-sweep.py: count the attempts of a rerun
A rerun keeps GITHUB_RUN_ID and changes only GITHUB_RUN_ATTEMPT, so its
attempt lines matched the first run's, collect dropped them as
duplicates and the transient cap did not advance. A rerun's attempt now
carries its attempt number; a first attempt writes the same token as
before.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 00:58:52 +10:00
Zakk c856da9f2d scripts/autobump-sweep.py: keep the full escalation reason
The reason pattern stopped at the first ")", so a reason carrying its
own parentheses reached the issue cut short, e.g. "(404/403". The
engine closes the reason with "); evidence: <dir>", so match up to
that instead.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-01 00:58:52 +10:00
Zakk 838a543e5a scripts/autobump: state what each autobump value keeps
The guides said N keeps the N most recent old versions and that true keeps
none, but N counts the new version, so 1 drops every old version, and true
drops only the version the new one replaces. Say so, note that 0 acts like
true, and word the issue status line the same way.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-30 12:54:51 +10:00
Zakk e4a8f0336d workflows: drop autobump-recommend
Since it started on 2026-07-19 the list in #11143 has not led to a single
opt-in: every autobump toggle in overlay.toml since then followed a manual
bump, and its longest-standing recommendation (app-admin/qm, 5/5
mechanical) is still bumped by hand. Its judgement is off too: it called
fcitx-skk 5.1.11 mechanical, and that bump needed a patch rebase and a
fcitx dependency bump. Section C has been empty every week. That is a
gentoo container every Monday for a list nobody acts on.

autobump-discover.sh and autobump-probe.sh had no other caller.
autobump-trial.yml stays: it is the manual "prove it builds before opting
in" tool and does not depend on this.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-14 10:59:15 +10:00
peeweep a3b81b2173 scripts/__pycache__: clean
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
2026-09-05 19:04:34 +10:00
Zakk 297d476743 autobump: retry issues the ledger already recorded
An escalation records the bump as done, and DONE is keyed by version, so a fix in
the engine only reaches the package on its next release. --retry runs the named
issues again; it needs their numbers, so a re-run cannot sweep the whole queue by
accident.
2026-09-05 17:07:49 +10:00
Zakk 4398e97724 scripts/autobump-sweep: name kept evidence so it can be uploaded
Portage names an elog "<cat>:<pn>-<ver>:<timestamp>.log". GitHub refuses a colon in
an artifact path, so the upload step failed and took a finished bump's job red with
it - the bump itself had already succeeded. The copy replaces the characters an
artifact cannot carry, and the upload no longer fails the job: evidence is for
reading afterwards.
2026-09-04 23:44:00 +10:00
Zakk a7ca75fdda scripts/autobump: correct three claims the guides make
The run limit does not cap issue numbers given by hand, the two-hour ceiling is per timed
operation rather than per package, and a trial reports DEFER as well as PASS and FAIL.
2026-09-03 22:05:29 +10:00
Zakk 229bbac15e autobump-trial, autobump-recommend: judge a candidate the way production does
A trial's engine reaches pkgdev commit even without --pr and neither trial job set an
author, so a candidate that built cleanly reported FAIL. Neither derived CPU_FLAGS_X86
either, so a package with a cpu_flags_x86 REQUIRED_USE looked unbumpable to the trial and
bumpable to the sweep. The trial upserts a status comment per issue with an issues:read
token, which GitHub rejects and the helper swallows; the probe read the first 30 issues of
a queue it says it reads whole; and discovery told maintainers to opt a keep-old package
in with the one value that drops the versions it keeps.
2026-09-03 22:05:29 +10:00
Zakk 6a25d32600 scripts/autobump-args: read the autobump table the way TOML defines it
`autobump = 1` asks for one old version to be kept, and the retention check listed it
next to True, which Python compares equal, so it was read as a plain opt-in and the old
ebuild was removed anyway.
2026-09-03 22:05:29 +10:00
Zakk 5ed0c6eefa scripts/autobump-sweep: fix what the audits found in the driver
An attempt line now carries the run it came from, so two sweeps on one day both count
while the same delta delivered twice does not: collect de-duplicated them and the retry
cap never advanced, so a package that fails every run was retried forever instead of
reaching a maintainer.

The engine's verdict is read off its own "!!" abort line. Portage writes
"!!! Couldn't download" into the same stream, and a build log line saying "destination
path ... already exists" was recorded as "the overlay is already at this version" - a
permanent result for a transient failure.

Also: a child's output may hold bytes that are not UTF-8 and a finished bump was thrown
away decoding them; gh's exit status is honoured, so an auth or rate-limit failure is
not reported as an unparseable issue title; one package is planned once per run,
whatever version each issue names, instead of two engines racing in one package
directory; issue numbers given by hand are all attempted, as the single-job path
already did; a defer that gave up keeps its evidence; and an engine that died before
printing an evidence path no longer archives the whole checkout.
2026-09-03 22:05:29 +10:00
Zakk 07429f186b autobump: wait 5 minutes after nvchecker, not 30
nvchecker files the issues inside its own run, so the wait was never about them
being filed. What it has to cover is the search index the queue is read through
trailing a new issue, which is minutes at worst.
2026-09-03 01:37:17 +10:00
Zakk 2c5346e8fb autobump: allow a run on an earlier environment image
Three images are kept, so a run can fall back to the day before when today's
tooling turns out to be the problem. An earlier day is never rebuilt: the tree it
was built from is gone, and building today's under its tag would be a lie.
2026-09-03 01:37:17 +10:00
Zakk e1f4ec76f9 autobump: run the whole queue instead of the first 30 issues
The per-run cap dated from one job working through the queue in sequence. With
the queue sharded across workers a day's issues finish in one run, so default to
no cap and keep the input for capping a run by hand.
2026-09-03 01:13:05 +10:00
Zakk 84997d6a07 autobump: start 30 minutes after nvchecker finishes
The cron offset assumed both workflows start on time; scheduled runs on this repo
start hours after their cron, so autobump could read the queue before nvchecker
had filed it. Trigger on nvchecker's completion and wait 30 minutes, keeping the
daily cron as a backstop for nvchecker going quiet.
2026-09-03 00:48:09 +10:00
Zakk fc7ef73e1e autobump: report the whole record behind an escalation
A deferred bump said one line and dropped the rest: the engine's output was cut
to its last four lines and the issue comment carried 25 lines of escalations.txt,
so build.log and the tree/surface diffs never reached anyone. Print the engine
output whole, put every evidence file in the comment (cut, never summarised) and
upload the evidence directory as a run artifact.
2026-09-03 00:48:09 +10:00
Zakk ed18d1d710 autobump: bump several packages at once instead of one after another
因为一次运行是单个 job 顺着队列跑,所以一个慢包会把后面的都压住——单包上限两小时,队列
一长就跑不完。

改成分区而不是加锁:规划任务读一次缓存状态,把队列解析成 (包, 版本) 并切成互不重叠的
shard;bump worker 按 matrix 并行,各自只做自己那份、各开各的分支;collect 合并各 worker 的
ledger 增量并输出一份 summary。执行期没有共享状态,所以不存在认领竞争——两个 worker 用
`grep` 读同一个账本再各自 append,本来就会重复 bump 同一个包。

默认四个 shard、最多三个并行;再多主要是重复每个 worker 的 webrsync 与工具安装。

`--plan`、`--worker`、`--collect` 三个模式加进现有脚本,不带这些参数时行为不变。
`test/test_autobump_sweep.py` 增至 16 项,钉住分片互斥且覆盖全部候选、跳过措辞不变、
worker 不碰共享账本、增量合并去重、以及 limit 跨 shard 仍是整轮上限。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-03 00:48:09 +10:00
Zakk f8e47cdb1e scripts/autobump-sweep: port the driver to Python
因为这是 autobump 里唯一没有测试的部分,而并行执行要动的正是它的账本与认领逻辑,所以先原样
移植再谈改造。

行为逐条保留:CLI 与环境变量契约、`DONE`/`ATTEMPTS` 的路径与行格式、引擎 0/2/3 的分派与
judge 判定后的重跑、状态留言的隐藏标记 upsert 与重试次数、`==== sweep summary ====` 的措辞。
两处既有怪癖也保留:悬空的 `--limit` 沿用旧值;某次留言失败的标记不会被后续成功清除。

`test/test_autobump_sweep.py` 用桩 `gh`、桩引擎与临时状态目录钉住九项:未开启、已完成、
单轮上限、exit 0、exit 3 取证据理由、exit 2 重试、超过上限转终止、留言失败标记、以及
`autobump-args.py` 的参数原样送达引擎。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-02 17:21:58 +10:00
Zakk b44e6e00db scripts/autobump: document the per-package rewrite keys
因为 `SRC_URI` 依赖 ebuild 变量的包此前无法自动 bump,所以两份文档补上 `autobump_<变量>_regex`
与 `autobump_<变量>_url` 的写法、`${PV}` 代换,以及取不到值时的行为。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-01 23:49:22 +10:00
Zakk 471a474a8b overlay.toml: fold keep_old into the autobump value
因为开启与保留策略要分写两个键,所以并进 `autobump` 的值:`true` 只替换,`N` 保留最近
N 个,`"all"` 全部保留,五个包一并迁移。

因为 `autobump-discover.sh` 按字面匹配 `autobump = true`,所以 `autobump = 2` 的包会被
当成从未决定而重新推荐,同步改判断。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-01 23:49:22 +10:00
Zakk 2857436a8c scripts/autobump-args: one parser for a package's engine flags
因为 autobump-trial 和 autobump-recommend 直接调用引擎、不经过 sweep,所以每包设置在 trial
里从未生效,trial 跑的不是正式 sweep 会跑的东西。四个调用方改用同一个解析脚本。

sweep 连同 judge 一起把它复制到 $TOOLS,因为引擎会切分支。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-01 23:49:22 +10:00
Zakk 0a466f6e82 scripts/autobump: a missing vendor bundle is a defer, not a manual bump
autobump-rb#8 makes a missing per-version deps bundle exit 2 and retry, because
that artifact is generated asynchronously by the nvchecker dispatch and autobump
can arrive first. Move it from the escalate list to the defer list in both docs,
and say that a defer only reaches a human after the retries run out.

Merge after autobump-rb#8; before that the docs describe the old behaviour.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk c79c10d19b scripts/autobump-sweep: report an issue status comment that never posted
status_comment gives up silently when both its edit and create paths exhaust
their retries: the run still reports success and the issue shows nothing.
Run 32950464097 escalated sci-mathematics/rstudio-desktop-bin (#12594) and the
issue carries no comment at all, so the handover was lost with no trace.

Record the failure per issue and append "(status comment not posted)" to that
issue's line in the sweep summary. The bump result itself is unchanged, and no
extra comment attempt is made.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk cbdd25f29f .github/workflows/autobump: raise the per-run budget to 30 packages
The sweep attempts 10 packages per run and the queue outgrew it: across the last
60 runs, 14 issue outcomes were "skip (per-run attempt limit 10 reached)", so
candidates waited a day for no reason other than the cap.

Raise the limit to 30 and the job ceiling to the 6 hours GitHub allows. The
per-package ceiling stays at two hours, so one heavy from-source dependency
still fits inside the job with room for the rest of the sweep.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-31 12:01:54 +10:00
Zakk 367495674f scripts/autobump: document the gh trigger and the real limits
因为文档只写了网页上的 Run workflow,所以补上 gh workflow run 的三种用法和
workflow 页面的链接。
因为顶部的 cron 早已启用,所以删掉说它被注释掉的那句。
补上 200 分钟的 job 上限和单个包两小时的上限,两者都不会让脚本提前结束。

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-08 02:14:28 +10:00
Zakk b86df17a58 scripts/autobump-sweep.sh: print the engine's full output on failure
Only the last 4 lines were kept, and the engine's evidence directory
lives inside the CI container and dies with it, so a failed bump left
nothing to diagnose. A push rejected by GitHub's workflow-scope guard
showed just the rejection line, with no way to see what the commit
carried.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-08-03 16:39:56 +10:00
Zakk 6d38dc36e4 scripts/autobump.md: rewrite around how it works and what to opt in
The documents opened with the opt-in mechanics and left the pipeline to be
inferred from the outcome names, so a reader could not tell what the engine
actually does before deciding whether to enable a package. Lead with the four
pipeline steps and the three outcomes they produce, then list which package
shapes are suitable and which are not.

The Chinese version used half-width commas inside Chinese sentences; those are
now full-width, matching the READMEs.
2026-07-31 18:29:33 +10:00
Zakk ed5071f22d .github/workflows: pkgcheck: comment scan results for changed packages
因为仓库级扫描只在 NonexistentDeps 上失败,所以改动的 ebuild 上 warning 级别的问题
不会让 CI 变红。

因为 pkgcheck 会 source 它扫描的 ebuild,等于执行 PR 里的代码,所以扫描只拿只读
token,评论由 workflow_run 另起一个不检出该代码的任务发出。

因为包里原有的问题会淹没 PR 引入的那几条,所以基线分支也扫一遍,评论只列新增的。
2026-07-29 22:40:59 +10:00
Zakk 13ea198b12 autobump: finalize the status comment when already at target 2026-07-22 11:57:02 +10:00
Zakk 4ee7246d48 autobump: don't recommend packages turned off with '# autobump off' 2026-07-21 17:25:36 +10:00
Zakk e56c02ea25 autobump: plain-text status/trial comments (no emoji), mark opted-in issues 2026-07-20 13:51:46 +10:00