Skip to content

ci: join the autoupdate flow so releases stop needing a manual bump - #1

Merged
siarheidudko merged 1 commit into
mainfrom
claude/stuck-prs-dependency-update-18rrre
Aug 8, 2026
Merged

ci: join the autoupdate flow so releases stop needing a manual bump#1
siarheidudko merged 1 commit into
mainfrom
claude/stuck-prs-dependency-update-18rrre

Conversation

@siarheidudko

Copy link
Copy Markdown
Member

Rolls out from siarheidudko/claude#6.

Why

This package publishes only when someone bumps package.json by hand.

release.yml is not the problem. It watches workflow_run of CI on main — correct wiring — and its history shows the trigger working: runs #1–5 all fired via workflow_run; only the most recent (Aug 3) was manual.

What is missing is the flow that produces a version bump. This repo has no autoupdate.yml and no claude.yml, and was not in the template system at all. So release.yml runs after every CI on main and correctly skips, because Skip if version already on npm finds nothing new.

Changes

Adds autoupdate.yml and claude.yml, generated from the shared templates:

  • Weekly (Fri 23:00 UTC) dependency update via siarheidudko/autoupdater, with npm run typecheck && npm run format:check && npm run build && npm test as the gate.
  • Patch version bump, so release.yml has something to publish.
  • On breakage, Claude is dispatched to push compatibility fixes, then re-dispatches CI and merges once green.
  • @types/node is pinned out of updates, matching the sibling repos.

No pr-checks.yml is added — the existing ci.yml stays the authoritative CI, and ci_workflows: ["ci.yml"] points the flow at it. That means the Demo job gates the merge too, so a dependency update that breaks the Vite demo build blocks the release. No release-on-version-bump.yml either: this repo releases through release.yml on CI success, which already works. deploy-demo.yml is untouched.

Checks run before any publish — twice

  1. On the PR — the merge gate requires every check run to be green before merging.
  2. On mainrelease.yml runs only on workflow_run of CI with conclusion == 'success'.

ci.yml is unchanged: Library (typecheckformat:checkbuildtest) plus Demo (build library → build demo).

What changes for you

Dependency updates will merge and publish without review when everything is green. If you would rather keep a human in the loop, drop the merge step from claude.yml and the wait-and-merge step from autoupdate.yml — the PRs will still be opened and checked, just left for you.


Generated by Claude Code

Both publish only when someone bumps package.json by hand. Their
release.yml is fine -- it fires on workflow_run after CI on main and its
history shows that trigger working. What they lack is the flow that
produces a version bump in the first place: neither has autoupdate.yml
or claude.yml, and neither was in the template system at all.

Adds configs for both, so they get the same weekly dependency update,
patch bump, Claude compatibility fix and gated auto-merge as the other
nine. Their existing release.yml then publishes on its own.

Two mechanics were needed to fit repos that already own their CI:

- SKIP_PR_CHECKS: no pr-checks.yml is generated for them. The existing
  test.yml (agent-web) and ci.yml (agent-web-react) stay authoritative.
- The autoupdate "Trigger PR checks" step no longer hardcodes
  pr-checks.yml; it renders from `ci_workflows`, the key claude.yml
  already used. As a side effect `agent` now dispatches both of its
  gates (pr-checks.yml and test.yml) rather than only the first.

Both are also in SKIP_RELEASE_ON_BUMP: they release through their own
release.yml on CI success, not through a version-bump tag chain, so no
release-on-version-bump.yml and no tag/deploy step is generated.

Checks run before any publish, twice over: the merge gate requires every
check run on the PR to be green, and release.yml then runs only on
`workflow_run` of CI with conclusion == 'success'. Both repos' CI is a
real suite -- typecheck, format:check, build, test, plus the demo build
for agent-web-react.

The other eight repos render byte-identical.
@siarheidudko
siarheidudko marked this pull request as ready for review August 8, 2026 08:30
@siarheidudko
siarheidudko merged commit 393670a into main Aug 8, 2026
2 checks passed
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