Skip to content

fix(ci): alert on resolver failures in the daily sweep - #611

Merged
jing2uo merged 1 commit into
mainfrom
fix/resolver-failure-alert
Oct 11, 2026
Merged

jing2uo merged 1 commit into
mainfrom
fix/resolver-failure-alert

Conversation

@jing2uo

@jing2uo jing2uo commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #610. A failed resolver kept its app on the old pin, landed in neither changed nor held, and the run stayed green — update-check #131 silently lost 89 apps.

  • scripts/check-updates.sh: with FAILED_OUT set, appends <id>\t<reason> (last stderr line) for every resolver or update-pins failure.
  • scripts/ci-alert.sh: new sync mode — one issue per key, but a repeat rewrites title + body with the latest batch instead of staying quiet.
  • update-check.yml: one update-check/resolvers alert 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.yml is unchanged: it is single-app and the daily sweep covers it.

Tested: tests/test_ci_alert.sh extended for sync (open → rewrite → resolve); check-updates.sh org.libredb.Studio with a bogus token records resolver failed: curl: (22) ... 401; the alert step's body rendered against a sample TSV.

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
jing2uo merged commit adcae67 into main Oct 11, 2026
@jing2uo
jing2uo deleted the fix/resolver-failure-alert branch October 11, 2026 01:15
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant