Repository navigation
ci: check daily that license_url returns HTTP 200 - #724
Merged
Merged
Conversation
5 attempts with jittered backoff, a second pass after 5 min, abort after 10 failures in a row.
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 #584: a scheduled job checks that every agent's
license_urlanswers HTTP 200.check-license-urls.yml, daily at 04:45 UTC and on manual dispatch. It runsbuild_registry.py --check-license-urls, which probes all agents, lists every broken URL and exits 1 if any fails.url_existsnow has jitter, which also applies to the distribution URL checks.build_registryitself does not probe license URLs. A third-party license page going down therefore does not block unrelated PRs or the hourly version updates.validate_license_urlsends a GET (some sites answer 404 to HEAD) and accepts only 200, after redirects. Agents withoutlicense_url(DimCode) are skipped, and so is everything underSKIP_URL_VALIDATION.url_existsgets anaccepted_statusesparameter. The default(200, 301, 302)keeps the other checks as they were.A local run of the check passes for every agent. Earlier today
qoderanswered 503 for a few minutes, which is the case the recheck covers.