Skip to content

docs(starchart): ship a light/dark chart pair and refresh on release - #844

Merged
scttbnsn merged 1 commit into
dev/v1.7from
docs/v1.7-starchart-dark
Aug 21, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.7from
docs/v1.7-starchart-dark

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Adopts the org star-chart standard codified today.

  • Regenerated docs/assets/star-history.svg and added the -dark sibling via ops build-chart.mjs with drydock's accent #49bcfb (same hex in both themes — it clears 6:1 on #0d1117 as-is).
  • README Star History section is now a <picture> block. The reason for the pair: GitHub's theme toggle doesn't reach a media query inside an <img>-embedded SVG (that resolves against the OS preference), so a single self-theming file shows a white card to anyone reading GitHub dark on a light OS. <picture> follows the toggle; the <img> inside stays the light fallback for npm/mirrors.
  • starchart.yml re-pinned to the new shared-workflow SHA with the now-required accent input, and the trigger moved from weekly cron to release: [published] — a committed artifact regenerated on a schedule mutates underneath a tag; tying it to the release cut can't.
  • Guard test reusable-ci-config.test.ts frozen SHA bumped in the same commit.

Translated READMEs untouched (Crowdin carries the markup change); the existing readme-translations guard still passes because the <img> tag survives inside <picture>. Workflow tests 208/208.

Re-pin the starchart-refresh caller to a66a777304d657a90161a8859dbc0dfa7d5020f7,
which now requires an accent input and emits both star-history.svg and
star-history-dark.svg. Switch README to a <picture> block: a self-theming
SVG embedded via a plain <img> ignores GitHub's theme toggle, but <picture>
follows it, so the dark variant only loads under prefers-color-scheme: dark.

Trigger moves from the weekly cron to release: published (plus
workflow_dispatch) — a committed artifact refreshed on a schedule mutates
underneath a tag, which the "main is the released version" rule forbids.

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caller matches the shared workflow's own documented shape; SHA guard moved in the same commit.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Picture block matches the org skeleton, both SVGs render.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deployment failed for project drydock-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

@scttbnsn
scttbnsn enabled auto-merge (squash) August 21, 2026 15:06
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@scttbnsn, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 5 minutes

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3314f98b-7993-4f3b-82b0-02ae8ee9a5df

📥 Commits

Reviewing files that changed from the base of the PR and between 169c35c and 89d3d8c.

⛔ Files ignored due to path filters (2)
  • docs/assets/star-history-dark.svg is excluded by !**/*.svg
  • docs/assets/star-history.svg is excluded by !**/*.svg
📒 Files selected for processing (3)
  • .github/tests/reusable-ci-config.test.ts
  • .github/workflows/starchart.yml
  • README.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

3 participants