Repository navigation
fix(ci): alert on resolver failures in the daily sweep - #611
Merged
Merged
Conversation
A resolver or pin rewrite that failed only logged a warning: the app kept its pin, was in neither `changed` nor `held`, and the run went green. Update-check #131 lost 89 apps to the GitHub API rate limit that way without anyone seeing. check-updates.sh now appends each failure to $FAILED_OUT with its last stderr line. update-check turns that list into a single ci-alert issue for the whole batch, rewritten every run (new `ci-alert.sh sync`) so it always shows that day's failures and they can be fixed together in one PR; it closes once a sweep finishes with none. The run also goes red on resolver failures, like it already does for held-back pins.
jing2uo
added a commit
that referenced
this pull request
Oct 11, 2026
Both failed on every sweep, which until now nobody saw (#610, #611). CrealityPrint: v7.3.0 carries three plain Release AppImages, .6149, .6151 and .6157, re-uploads under the same tag, and the resolver required exactly one. It now takes the highest build and reports <tag>.<build> as the version, so a later re-upload under the same tag is still picked up. Decodium: v1.0.670-672 shipped only the Windows installer, so /releases/latest had no AppImage. The resolver now takes the newest stable release that has the x86_64 AppImage and logs the newer ones it skipped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #610. A failed resolver kept its app on the old pin, landed in neither
changednorheld, and the run stayed green — update-check #131 silently lost 89 apps.scripts/check-updates.sh: withFAILED_OUTset, appends<id>\t<reason>(last stderr line) for every resolver or update-pins failure.scripts/ci-alert.sh: newsyncmode — one issue per key, but a repeat rewrites title + body with the latest batch instead of staying quiet.update-check.yml: oneupdate-check/resolversalert listing every failing app and its error, refreshed each run, closed after a sweep with no failures (only when the sweep step actually finished). The run fails on resolver failures as it does on held-back pins.release-dispatch.ymlis unchanged: it is single-app and the daily sweep covers it.Tested:
tests/test_ci_alert.shextended forsync(open → rewrite → resolve);check-updates.sh org.libredb.Studiowith a bogus token recordsresolver failed: curl: (22) ... 401; the alert step's body rendered against a sample TSV.