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>