Skip to content

chore: bump the version in every PR, and make that possible - #33

Merged
fiddur merged 1 commit into
developfrom
version-on-merge
Aug 25, 2026
Merged

chore: bump the version in every PR, and make that possible#33
fiddur merged 1 commit into
developfrom
version-on-merge

Conversation

@fiddur

Copy link
Copy Markdown
Collaborator

A running instance replaces itself only when the binary version differs from the one it registered (isStale in packages/cli/src/index.ts). So a merge without a bump leaves every instance that is already open serving the old build, silently. #31 and #32 both went in that way — six instances here are still on 0.9.6.

Three things:

  • AGENTS.md with the rule. It is the first agent-facing doc in the repo.
  • --no-git on scripts/release.ts, without which the rule cannot be followed: the script commits and tags, and since develop takes squash merges the commit is rewritten on the way in and the tag is left pointing at a commit that never lands. Default behaviour is unchanged.
  • v0.9.7, the rule applied to its own PR.

parser 43, git 44, github 21, ui 371, cli 157; the built binary reports 0.9.7.

🤖 Generated with Claude Code

https://claude.ai/code/session_018PkYQzbsnMihHesafWvXKs

A running instance replaces itself only when the binary's version differs
from the one it registered, so merging a behaviour change without a bump
leaves every open instance on the old build until someone restarts it by
hand. Two merges have gone in that way.
`scripts/release.ts` could not be used inside a branch: it commits and
tags, and develop takes squash merges, so the commit is rewritten and the
tag is left pointing at a commit that never lands. `--no-git` writes the
versions and stops there.
v0.9.7, which is this rule applied to the pull request that adds it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018PkYQzbsnMihHesafWvXKs
@fiddur
fiddur marked this pull request as ready for review August 25, 2026 10:01
@fiddur
fiddur merged commit e45616a into developAug 25, 2026
@fiddur
fiddur deleted the version-on-merge branch August 25, 2026 10:01
Sign up for freeto 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

@fiddur