Skip to content

ci(deps): hold Dependabot's runs and take its open updates - #1304

Merged
aicayzer merged 5 commits into
mainfrom
chore/283l-dependabot
Dec 1, 2026
Merged

aicayzer merged 5 commits into
mainfrom
chore/283l-dependabot

Conversation

@aicayzer

@aicayzer aicayzer commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

CI now holds the runs that Dependabot starts, so a dependency pull request uses no runner until someone opts it in. This also takes the open Dependabot updates, except the Fumadocs family, which breaks the site, and the icon sets, which follow Marfa's contract.

Changes

  • Hold: when github.event_name == 'pull_request' && github.actor == 'dependabot[bot]', every job a pull request can start is skipped, in CI, CodeQL and OpenAPI spec. No Full CI is reported, so the required check blocks the merge.
  • Opt in: gh pr ready --undo <n> && gh pr ready <n>, or push to the branch.
  • ci-changes.test.sh pins the condition on every job in ci.yml.
  • codeql-action 4.39.1 to 4.39.5.
  • npm updates, including jsdom 30 to 31, which needed no change.
  • Fumadocs held (fumadocs-core, -mdx, -openapi, -ui). fumadocs-core 16.17.0 removed stringify and extensions from LLMsOptions, which llmsOptions in @withmarfa/docs-kit passes, so the Markdown copies silently lose the site's component rewrites. This caused the failing Build and type-check on build(deps): bump the all-npm group with 25 updates #1302. Dependabot skips their minor and major releases until the kit supports the new options. Patch releases still come through.
  • Icon sets: @iconify-json/lucide 1.2.149 to 1.2.153 and @iconify-json/simple-icons 1.2.101 to 1.2.102, the versions Marfa's types/icon-name names at v0.0.121, the release these docs are synced to. The site was behind the contract. Dependabot now ignores both, because they move with the contract and not to the newest release.
  • dependabot.yml was already monthly, with one open pull request for each ecosystem, so only the ignore rules are new.
  • pnpm-lock.yaml: cross-spawn 7.0.6 to 7.1.2, for GHSA-ghv9-86vm-4v8m (critical), through @modelcontextprotocol/client. Only the lockfile changes. pnpm test (963 passed) and pnpm build were run again after it.

Testing

Run locally on macOS with Node 26.13.1 and pnpm 10.32.1:

  • pnpm install, pnpm build, pnpm build:status, pnpm types:check: passed.
  • pnpm test: 963 of 963 tests passed. With Dependabot's versions as proposed, 16 failed in CI.
  • Every .github/scripts/*.test.sh, with init.defaultBranch=master set as on a runner: passed.
  • actionlint on the workflows: passed.
  • wrangler deploy --dry-run for both Workers: passed.
  • The built docs Worker under vite preview: pages, .md copies, Accept: text/markdown, llms.txt, site search, topics, the sitemap, a 404, the trailing-slash redirect and MCP tools/list answered as expected.
  • The new workflow assertions fail against the old ci.yml.

Under Node 22.23.3, as CI uses Node 22, both builds, pnpm types:check and pnpm test passed again.

This change is to this repository alone, so these local runs are its verification before merge.

Not tested: the hold on a real Dependabot run, which only GitHub can start.

Notes for reviewers

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above.
  • Docs, comments and the contract still say what is true after this change.

fumadocs-core 16.17 removed the options the kit's Markdown copy uses, so the four fumadocs packages stay where they are and Dependabot skips their minor and major releases.

The icon sets move to the versions Marfa's contract names (types/icon-name), not to the newest, and Dependabot leaves them alone.

@aicayzer aicayzer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Review: ready to merge

Summary. Holds CI on runs Dependabot starts and takes the waiting dependency updates; safe to merge because a held run can never report the required check and the updates were checked locally.

First draft: 4/5. No blocking finding. A comment that was untrue and a description that left out a commit, both fixed.

Checked.

  • Every path: each job a pull request can start carries the hold, and conditions keep their grouping and status functions.
  • Done: the check names a held, draft, ready and push run can report, against the branch ruleset. Traced, not run: only Dependabot can start a held run.
  • True: lockfile against manifests, and the reasons for the held packages against their published types and Marfa's contract.

Found.

  • Comment on the held check. It said the skipped job is named Held CI, but GitHub does not evaluate the name of a job it skips. Fixed in 5322baf. True
  • Description. It left out the cross-spawn update. Fixed. True

Reviewed by withmarfa-reviewer on Claude Opus 5.5. This review may contain mistakes.

@aicayzer
aicayzer marked this pull request as ready for review December 1, 2026 14:26
@aicayzer
aicayzer merged commit b763a09 into main Dec 1, 2026
8 checks passed
@aicayzer
aicayzer deleted the chore/283l-dependabot branch December 1, 2026 14:26
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