Skip to content

ci: check daily that license_url returns HTTP 200 - #724

Merged
Rizzen merged 4 commits into
mainfrom
mark/license-url-200
Oct 27, 2026
Merged

Rizzen merged 4 commits into
mainfrom
mark/license-url-200

Conversation

@Rizzen

@Rizzen Rizzen commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #584: a scheduled job checks that every agent's license_url answers HTTP 200.

  • New workflow check-license-urls.yml, daily at 04:45 UTC and on manual dispatch. It runs build_registry.py --check-license-urls, which probes all agents, lists every broken URL and exits 1 if any fails.
  • Transient outages are tolerated: each license URL gets 5 attempts with exponential backoff and jitter, and URLs that still fail are rechecked once after 5 minutes. Only a URL that fails both passes is reported.
  • Circuit breaker: 10 failures in a row on the first pass abort the run as a likely runner network outage instead of reporting every agent as broken. The job timeout is 30 minutes.
  • Backoff between retries in url_exists now has jitter, which also applies to the distribution URL checks.
  • build_registry itself 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_url sends a GET (some sites answer 404 to HEAD) and accepts only 200, after redirects. Agents without license_url (DimCode) are skipped, and so is everything under SKIP_URL_VALIDATION.
  • url_exists gets an accepted_statuses parameter. The default (200, 301, 302) keeps the other checks as they were.
  • The README gets a status badge for the new workflow.

A local run of the check passes for every agent. Earlier today qoder answered 503 for a few minutes, which is the case the recheck covers.

@Rizzen Rizzen changed the title feat: require license_url to return HTTP 200 ci: check daily that license_url returns HTTP 200 Oct 27, 2026
5 attempts with jittered backoff, a second pass after 5 min, abort after 10 failures in a row.
@Rizzen
Rizzen merged commit 79aec1e into main Oct 27, 2026
43 checks passed
@Rizzen
Rizzen deleted the mark/license-url-200 branch October 27, 2026 14:51
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