Skip to content

Make license_url mandatory field - #584

Merged
Rizzen merged 1 commit into
mainfrom
mark/license-url-mandatory
Sep 8, 2026
Merged

Rizzen merged 1 commit into
mainfrom
mark/license-url-mandatory

Conversation

@Rizzen

@Rizzen Rizzen commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@Rizzen
Rizzen merged commit ccfc51d into main Sep 8, 2026
39 checks passed
@Rizzen
Rizzen deleted the mark/license-url-mandatory branch September 8, 2026 15:32
Rizzen added a commit that referenced this pull request Oct 27, 2026
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.
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.

2 participants