Commit Graph

4 Commits

Author SHA1 Message Date
Claude Code
39e5cfa99c ci(docs): soft-fail badge localization on transient fetch errors
The Docs Testing workflow has been the top CI flake source on master
(61 failures in the last 2 weeks), and almost every one fails with the
same signature:

  Cause: [remark-localize-badges] Failed to download badge:
    https://img.shields.io/badge/slack-join-orange.svg
  Error: fetch failed
  Build cannot continue with broken badges.

`remark-localize-badges` already retries 3× with backoff and a 30s
timeout. When shields.io rate-limits the CI runner anyway (very common
from GitHub Actions IP ranges), the plugin currently throws and the
entire docs build dies — even though the badge URL is fine and the
docs would render correctly via the remote URL.

Change the terminal failure path to log a warning and fall back to the
original remote URL. The rendered docs still show the badge (just
unlocalized for this build); the docs build keeps going. Add a
`REMARK_BADGES_STRICT=true` env var as an opt-in for the old
fail-the-build behavior, in case a release pipeline wants to catch
genuinely broken badge URLs.
2026-05-18 23:54:22 -05:00
Evan Rusackas
46bca32677 docs(seo): add structured data, OpenGraph tags, and sitemap improvements (#37404)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-06 11:09:19 -08:00
Evan Rusackas
b800412eda fix(docs): add retry logic and concurrency handling for badge downloads (#36715)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 12:19:39 -08:00
Evan Rusackas
6b948ee894 docs(badges): Restore project badges on README - and re-implement the Docusaurus ones (#36495)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 14:45:51 -08:00