Skip to content

docs: document renovate and refresh stale workflow and runtime notes - #457

Merged
gitfromwildan merged 1 commit into
mainfrom
docs/renovate-and-stale-workflow
Nov 5, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
docs/renovate-and-stale-workflow

Conversation

@gitfromwildan

@gitfromwildan gitfromwildan commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Why

The README Workspace section, CONTRIBUTING.md and ARCHITECTURE.md didn't mention Renovate, even though it now drives every dependency update (#432). Several other statements had also drifted from the codebase after the T1–T6 work.

Changes

Renovate, newly documented

  • README.md: the Workspace notes cover Renovate (Monday schedule, 3-day minimum release age, vulnerability PRs on any day, Dependency Dashboard), Changesets with trusted publishing, and what the Husky hooks run.
  • CONTRIBUTING.md: new Dependency Updates (Renovate) section:
    • Schedule and dispatch inputs, plus how the dashboard checkboxes work.
    • A table of the grouping rules.
    • Why pnpmDedupe is needed.
    • How to review Renovate PRs: decide whether a changeset is needed from the diff, not the prefix (peer bumps arrive as chore(deps)); a human push stops Renovate rebasing the branch; rebases follow main because branch protection is strict.
    • How to validate the config.
    • The RENOVATE_TOKEN permissions, including Commit statuses. Without it, Renovate aborts with Repository has changed during renovation.
  • ARCHITECTURE.md: Renovate is listed under monorepo infrastructure, with a short Dependency Updates subsection covering the grouping, the Node < 23 policy, override majors, and the dedupe step.

Stale statements

  • Peer dependents under Changesets 3. CONTRIBUTING and ARCHITECTURE said onlyUpdatePeerDependentsWhenOutOfRange prevents fix(release): a minor changeset on @docubook/core escalates core + markdown + flame to a MAJOR release #403. Changesets 3's assemble-release-plan 7 no longer reads that option: peer dependents are bumped like dependencies, with a patch only when their range is left. I checked this with a synthetic markdown → core ^2.2.5 peer:

    CLI option core: minor plan
    2.31.1 set core:minor
    2.31.1 removed core:major, flame:major, markdown:major (the fix(release): a minor changeset on @docubook/core escalates core + markdown + flame to a MAJOR release #403 escalation)
    3.0.3 set core:minor
    3.0.3 removed core:minor

    The dead option is removed from .changeset/config.json, and the docs now explain the v2 vs v3 behaviour.

  • Node requirement for flame. engines.node was >=20.11, but Vite 8, which the Node/Deno build path uses, requires ^20.19.0 || >=22.12.0. engines.node is now that range, with a patch changeset for @docubook/flame. README Quick Start, installation.mdx and introduction.mdx follow, written as ^20.19 or ≥ 22.12 so Node 22.0–22.11 is clearly excluded. introduction.mdx had said ^20.19 || ^22.13 || >=24.

  • Bun requirement. installation.mdx said Bun >= 1.1.0, but flame declares bun >= 1.4.0.

  • CONTRIBUTING, other fixes:

    • adds pnpm test:release-meta and the release-plan CI job
    • lists the required checks and review rules on main (from the branch protection API). Code-owner review is on, but no CODEOWNERS file exists, so it adds no reviewer
    • notes CodeQL and Pullfrog reviews, and asks contributors to reply in Pullfrog inline threads
    • notes pnpm-lock.yaml in .prettierignore
    • describes v2's push-git-tags: false / local-tag cleanup
    • says the Release PR, not a local run, normally does the versioning
    • fixes the garbled example chore: update dependenciesmigrate packages to vite 8
  • ARCHITECTURE Testing mentions the mermaid page in the browser smoke and the release-plan job.

Verification

  • pnpm test:release-plan passes, and all 15 single-package plans (5 packages × patch/minor/major) are identical with and without the removed option.
  • changeset status shows the new changeset as a @docubook/flame patch.
  • pnpm turbo run lint typecheck test --filter=@docubook/flame --force: 5/5 tasks pass.
  • flame build on Node rebuilds both docs pages. The built HTML has the new ranges (^20.19 || >=22.12, Bun >= 1.4.0) and none of the old ones.
  • The required checks and review settings quoted in CONTRIBUTING were read from GET /repos/DocuBook/docubook/branches/main/protection.

Not changed: the .husky/pre-push failure message still lists old scopes (cli, template). That's hook output, not documentation, so I left it for a separate change.

@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Preview Nov 5, 2026 2:55am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ℹ️ No critical issues — one doc rule worth correcting, two small wording fixes inline.

Reviewed changes

Mode: standard. Reviewed the full diff. The Renovate, release workflow, CI job, .prettierignore and Node/Vite claims were checked against .github/renovate.json, .github/workflows/{renovate,release,ci}.yml, root package.json and the installed [email protected] engines, and they match.

  • Changesets option removal — drops the dead onlyUpdatePeerDependentsWhenOutOfRange option from .changeset/config.json. Root uses @changesets/cli ^3.0.0, and the PR's planner matrix shows identical plans with and without the option.
  • flame engines.node — >=20.11 → ^20.19.0 || >=22.12.0, matching Vite 8's own engines, with a patch changeset.
  • Renovate documentation — new CONTRIBUTING section and ARCHITECTURE subsection covering schedule, grouping, pnpmDedupe, PR review flow and token permissions.
  • Stale notes refreshed — peer-dependent behaviour under Changesets 3, release-plan/release-meta CI job, branch protection, push-git-tags: false tag cleanup, and Node/Bun ranges in README and the flame docs.

Top priorities: (1) correct the fix(deps)/chore(deps) changeset rule for peer dependency bumps, (2) make the Node range wording exclude 22.0–22.11, (3) qualify the code-owner review line. Verdict: ready once (1) is fixed. (2) and (3) are wording only.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

Comment thread CONTRIBUTING.md Resolved
Comment thread README.md Resolved
Comment thread CONTRIBUTING.md Resolved
README, CONTRIBUTING and ARCHITECTURE did not describe Renovate. They now
cover the schedule, the 3-day minimum release age, the Dependency
Dashboard, the grouping rules, the pnpm dedupe step, how to review Renovate
PRs and which permissions RENOVATE_TOKEN needs. CONTRIBUTING also lists
test:release-meta, the release-plan CI job, the required checks and review
rules on main, the lockfile in .prettierignore and the v2 tag behaviour, and
fixes a garbled commit example.

Changesets 3 bumps peer dependents only when their range is left, like
dependencies, and no longer reads
onlyUpdatePeerDependentsWhenOutOfRange. With a synthetic markdown -> core
peer, CLI 2.31 without the option escalated a core minor to a group major
(#403), while CLI 3.0.3 gives the same plan with and without it. The dead
option is removed; all 15 single-package release plans are unchanged.

flame's engines.node is now ^20.19.0 || >=22.12.0, the range Vite 8 needs
for the Node/Deno build path (patch changeset). README and the flame docs
said Node >= 20.11, and installation.mdx said Bun >= 1.1.0 against the
declared >= 1.4.0.
@gitfromwildan
gitfromwildan force-pushed the docs/renovate-and-stale-workflow branch from 07bbfd2 to 8b9d1dd Compare November 5, 2026 02:55

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found. All three earlier findings are fixed, and their threads are resolved.

Reviewed changes

Mode: standard. This run covers the delta from 07bbfd2 to 8b9d1dd, which touches only CONTRIBUTING.md, README.md and installation.mdx.

  • Renovate changeset rule rewritten — reviewers now decide from the diff, not the fix(deps)/chore(deps) prefix. Any dependencies or peerDependencies range change in a published packages/*/package.json needs a changeset, and the text notes that peer bumps arrive as chore(deps). This fits @sentry/bun being an optional flame peer (^10.0.0 || ^11.0.0).
  • Branch protection wording corrected — it now states one approving review, with stale approvals dismissed on push. It also notes that code-owner review is switched on but adds no reviewer, because the repo has no CODEOWNERS file.
  • Node range wording tightened — the README heading and installation.mdx now say ^20.19 or ≥ 22.12, so Node 22.0–22.11 is excluded. This is consistent with introduction.mdx and flame's engines.node.

Verdict: READY.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit 39f6272 into main Nov 5, 2026
16 checks passed
@gitfromwildan
gitfromwildan deleted the docs/renovate-and-stale-workflow branch November 5, 2026 03:00
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