Skip to content

repo(chore): retire the dev branch and point everything at main - #574

Merged
Ducksss merged 3 commits into
mainfrom
claude/clever-kapitsa-a8bae0
Sep 30, 2026
Merged

Ducksss merged 3 commits into
mainfrom
claude/clever-kapitsa-a8bae0

Conversation

@Ducksss

@Ducksss Ducksss commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

dev was deleted when the dev → main promote PR #554 merged on 2026-09-08. Rather than restore it, the project is going main-only. This PR points everything that still assumed a dev integration branch at main.

  • Docs "Open in GitHub" links (production bug): every docs page built its link as …/blob/${githubContentBranch}/content/docs/…, and githubContentBranch fell back to 'dev', so the live links returned 404. The default in src/lib/site.ts and .env.example is now main. NEXT_PUBLIC_GITHUB_CONTENT_BRANCH still overrides it.
  • Automation:
    • Dependabot drops target-branch: dev, so weekly updates open against main. It hasn't opened a PR since ci(fix): upgrade Crowdin and validate draft exports #567.
    • The Crowdin translation-PR step now runs when the workflow is dispatched on main, instead of being gated to refs/heads/dev, and publish-crowdin.sh opens its PR into main.
    • .coderabbit.yaml drops its dev base branch. main is reviewed as the default branch.
  • Removed Promote Closing Keywords: the check existed because closing keywords on feature PRs never reached main: work was squashed onto dev, then squashed again on promote. PRs now merge straight into main, so GitHub closes issues from each PR's own keywords. The check would otherwise have failed every PR without a keyword or its opt-out line, bot PRs included.
  • Docs: AGENTS.md, CONTRIBUTING.md, README.md, SECURITY.md, the operations runbook, and ROADMAP now say to branch from and open PRs into main, put Closes #123 in the PR that resolves the issue, and release from main. The stale "PRs into dev" comments in registry-verification.yml and the fumadocs-site spec are fixed too.

Verification

  • pnpm lint and pnpm format:check: pass
  • pnpm run test:int: 64 files and 792 tests pass (1 file and 1 test skipped). This includes the fumadocs-site spec, the release-gate workflow checks (they iterate every workflow file), dependabot-config, crowdin-sync, and the blog-figure spec that quotes the operations runbook.
  • Local next dev: the docs Open popover links to …/blob/main/content/docs/… on a guide page and on a component page, and both targets return 200. /docs/operations renders the updated release and security steps.
  • pnpm test:release: not run locally. pr-gate runs the full gate on this PR.

Registry Checklist

  • Registry changes keep generated public/r output out of git. (No registry changes.)
  • Component changes update source, manifest, docs, and installer tests together. (No component changes.)
  • Payload target code keeps Local API and hook examples transaction-safe. (No target code changes.)

Notes

  • Vercel: NEXT_PUBLIC_* values are inlined at build time. If production still links to /blob/dev/ after deploy, the Vercel project sets NEXT_PUBLIC_GITHUB_CONTENT_BRANCH=dev explicitly, and that value needs to be removed or set to main.
  • Not changed here:
    • The ruleset "Protect main and dev" still lists refs/heads/dev, which is harmless.
    • ci: catch a promote that omits an issue the cycle resolved #501 (promote completeness tooling) no longer applies and could be closed as not planned.
    • ROADMAP's current-implementation list and first priority describe work that already shipped in 1.6.0.
  • Until this merges, main still runs the check this PR removes, so the description keeps its opt-out line:

No issues closed this cycle.

🤖 Generated with Claude Code

The dev branch no longer exists on origin, so every docs page's
"Open in GitHub" link (/blob/dev/content/docs/...) returns 404. Default
githubContentBranch, and the .env.example value, to main: the deployed
branch, which is protected against deletion.

NEXT_PUBLIC_GITHUB_CONTENT_BRANCH still overrides the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 08:45
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
payload-components Ready Ready Preview Sep 30, 2026 9:43am UTC
payload-components-97bf Ready Ready Preview Sep 30, 2026 9:43am UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: Ducksss/payload-components/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 6dcd2a8a-feef-40c1-b811-8f06a219c46f

📥 Commits

Reviewing files that changed from the base of the PR and between c8ee9fd and dccdafe.

📒 Files selected for processing (15)
  • .coderabbit.yaml
  • .env.example
  • .github/dependabot.yml
  • .github/workflows/crowdin.yml
  • .github/workflows/promote-closing-keywords.yml
  • .github/workflows/registry-verification.yml
  • AGENTS.md
  • CONTRIBUTING.md
  • README.md
  • ROADMAP.md
  • SECURITY.md
  • content/docs/operations.mdx
  • src/lib/site.ts
  • tests/int/fumadocs-site.int.spec.ts
  • tools/i18n/publish-crowdin.sh

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.

Ducksss and others added 2 commits September 30, 2026 17:39
dev was deleted when promote PR #554 merged, and the project is going
main-only rather than restoring it. Update what still assumed a dev
integration branch:

- Dependabot: drop target-branch: dev, so updates open against main.
- Crowdin: open the translation PR when dispatched on main, and target
  main in publish-crowdin.sh.
- CodeRabbit: drop the dev base branch; main is reviewed as the default.
- AGENTS.md, CONTRIBUTING.md, README.md, SECURITY.md, the operations
  runbook, and ROADMAP: branch from and open PRs into main, put closing
  keywords in the PR that resolves the issue, and release from main.
- Refresh the "PRs into dev" comments in registry-verification.yml and
  the fumadocs-site int spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Promote Closing Keywords existed because closing keywords on feature PRs
never reached main: work was squashed onto dev and squashed again on
promote. PRs now merge straight into main, so GitHub closes issues from
each PR's own keywords, and the check would fail every PR (bot PRs
included) that lacked a keyword or its opt-out line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ducksss Ducksss changed the title docs(fix): point "Open in GitHub" links at main repo(chore): retire the dev branch and point everything at main Sep 30, 2026
@Ducksss
Ducksss merged commit e073aef into main Sep 30, 2026
18 checks passed
@Ducksss
Ducksss deleted the claude/clever-kapitsa-a8bae0 branch September 30, 2026 14:08
Ducksss added a commit that referenced this pull request Sep 30, 2026
Brings in #574 (retire dev, point everything at main), #575 (restore
site typefaces and brand OG cards on docs routes), and #576 (share one
Tailwind entry for docs and blog).

Resolves the docs.css conflict by keeping main's one-line import of
src/app/fumadocs.css and appending the editorial rules after it. The
editorial scope no longer re-declares --font-sans/mono/serif or the
--default-* pair: fumadocs.css now restores Geist and Instrument Serif
on every docs route, so that block was redundant. [data-editorial] keeps
only its section counter. Also drops the stale "restores the faces" line
from AGENTS.md and the DesignEditorial header comment.

Verified after the merge: painted fonts on /docs/design are Geist,
Instrument Serif for the accents, and Geist Mono for code and receipts.
source:build, tsc, lint, format:check, and test:int (794 passed) are
green, and the a11y and overflow e2e checks for /docs/design and
/about/case-study pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – payload-components — dccdafe5 Deployed Sep 30, 2026 by vercel[bot]
Preview – payload-components-97bf — dccdafe5 Deployed Sep 30, 2026 by vercel[bot]
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