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.
`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.
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.
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.
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.
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.
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.
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.
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>
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>
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>
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>
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.
Upsert a single marked comment per [nvchecker] issue (edit in place, no
spam): processing / opened PR / escalate / defer. Escalate leads with the
engine's clear one-line reason, collapses raw evidence into <details>, and
links the run log; success links the PR.
autobump-discover.sh now counts a byte-identical add-only bump (new ebuild
identical to the newest prior version, old one kept) as mechanical, not only
a rename, so version-keeper packages score correctly instead of 0%. A shared
BUNDLE_RE rejects a self-hosted per-version bundle (-vendor/-crates/-deps/
-pubcache/-vcpkg/-web/... regenerated out of band) in either branch -- also
rejecting a plain ebuild co-added alongside a rename -- while leaving
multi-arch prebuilt blobs alone. autobump-sweep.sh reads a per-package
keep_old = N (from the comment-stripped line) and forwards --keep-old=N so
the engine keeps the N most-recent versions (0 or true keeps all).
Signed-off-by: Zakk <zakk@gentoozh.org>
why I wrote this script, since I don't have all the packages sources!@
the goal of this scrtipt is :
1) clean all file's checksum which already managed by git
(means file's checksum belong to this overlay will be removed)
2) keep the source code/tarballs/patch which should fetch from external
(means file not belong to this overlay need to be preserved)
hope I don't break anything
Signed-off-by: Lan Yixun <dennis.yxun@gmail.com>