Skip to content

fix(migrate): reconcile flox schema-version in migrate workflows - #157

Merged
edenreich merged 3 commits into
mainfrom
fix/migrate-schema-version
Aug 27, 2026
Merged

edenreich merged 3 commits into
mainfrom
fix/migrate-schema-version

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

What

migrate-claude.yml / migrate-codex.yml / migrate-infer.yml bumped each target's CLI pin but never touched the manifest's schema-version - flox does not migrate it on upgrade/activate, so target repos keep whatever schema version their .flox env was created with (e.g. 1.13.0 on inference-gateway/adk#285, whose run installed flox 1.15.0).

Each bump step now reconciles an existing manifest's schema-version with the flox version the workflow installed:

  • resolve from flox --version (fallback constant matches the install pin, same as the bootstrap branch)
  • one guarded sed: only raises it - sort -V guard leaves a newer schema-version alone, missing line is skipped (flox always writes one)
  • generated PR bodies list the reconcile step

The bootstrap (no-manifest) path already wrote the current schema-version; this covers the existing-manifest path only.

Operational effect

Re-running any migrate workflow now updates the target's open migration PR in place (peter-evans/create-pull-request), e.g. re-running migrate-claude after merge will add the schema-version bump to adk#285. bump-adl.yml is left out - different step layout, no complaint so far; same one-guard pattern applies if wanted.

No new permissions or secrets.

Validation

  • yq . parses all three workflows
  • bash self-check of the guard: older -> bump, newer/equal/missing -> no-op (4/4 PASS)

…upsert

- Unpin flox/install-flox-action in all 7 workflows (installs latest); schema-version
  now follows flox --version with no hardcoded fallback
- Collapse the bootstrap + existing-manifest blocks in migrate-* bump steps into a
  single upsert path: add-or-raise schema-version, add-or-retarget the bot pin
- A manifest lacking the pin now gets it added instead of hard exit 1
- Update CLAUDE.md/README.md contracts accordingly
Comment thread .github/workflows/migrate-claude.yml Resolved
Comment thread .github/workflows/migrate-claude.yml Resolved
Comment thread .github/workflows/migrate-codex.yml Resolved
Comment thread .github/workflows/migrate-codex.yml Resolved
Comment thread .github/workflows/migrate-infer.yml Resolved
Comment thread .github/workflows/migrate-infer.yml Resolved
@edenreich
edenreich merged commit e49bcc3 into main Aug 27, 2026
2 checks passed
@edenreich
edenreich deleted the fix/migrate-schema-version branch August 27, 2026 13:14
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 20, 2026
## [0.26.0](v0.25.0...v0.26.0) (2026-09-20)

### ✨ Features

* add skills support to claude workflow ([8dcd2ef](8dcd2ef))
* **claude:** auto-resolve catalog skills referenced in the prompt text ([#166](#166)) ([97c0159](97c0159))
* **deps:** update infer-action version and add model parameters ([e4c00e6](e4c00e6))
* **infer:** add review_inline input, marker, and dispatch checkbox ([#147](#147)) ([2f2b8f8](2f2b8f8))
* iterm2-style terminal graphics for org profile README ([#150](#150)) ([53846ee](53846ee))
* **migrate-infer:** expose model on the generated caller's dispatch form ([#161](#161)) ([b1bfbd2](b1bfbd2))
* **refresh-agent-manifest:** set CI GitHub App secrets to the maintainer App ([#170](#170)) ([bf401d4](bf401d4))

### ♻️ Improvements

* remove ollama-api-key from infer.yml ([1e9a223](1e9a223))

### 🐛 Bug Fixes

* **bots:** allow flox update/upgrade/activate in the CI bash sandbox ([04bdd63](04bdd63))
* **bots:** install markdownlint by default in claude/infer/codex ([#168](#168)) ([bd1500e](bd1500e))
* **bots:** make setup-go actually honor go.mod in the reusable claude/infer workflows ([#155](#155)) ([f4b137c](f4b137c)), closes [inference-gateway/adk#284](inference-gateway/adk#284) [#154](#154)
* **claude:** allow the maintainer App as workflow actor ([#162](#162)) ([c0c78bf](c0c78bf))
* **claude:** forbid background Bash commands in headless runs ([#165](#165)) ([ef4d5b1](ef4d5b1))
* **claude:** instruct the agent not to create sub agents ([#163](#163)) ([e82c71e](e82c71e))
* **claude:** resolve non-vendored skills via skills catalog ([#148](#148)) ([effedad](effedad))
* disallow subagents in claude runs ([#164](#164)) ([73bb398](73bb398))
* **migrate:** reconcile flox schema-version in migrate workflows ([#157](#157)) ([e49bcc3](e49bcc3))
* **workflows:** rename stt-binaries to binaries in app token scopes ([#158](#158)) ([51422cf](51422cf))

### 🔧 Miscellaneous

* add 'stt-binaries' and 'desktop' to infer.yml ([cbd70c4](cbd70c4))
* add 'stt-binaries' and 'desktop' to workflow ([f64d94b](f64d94b))
* add 'tokenless' to the list of agents in workflow ([573d7a0](573d7a0))
* add desktop app link to README ([12a1af2](12a1af2))
* add org-wide FUNDING.yml ([f11521e](f11521e))
* add org-wide FUNDING.yml ([#159](#159)) ([96edc73](96edc73))
* add prettier support to claude and infer configurations ([4592e42](4592e42))
* add tokenless library to README ([3fff3c8](3fff3c8))
* delete FUNDING.yml ([4f3f023](4f3f023))
* **deps:** bump anthropics/claude-code-action ([#152](#152)) ([c3be75b](c3be75b))
* **deps:** bump anthropics/claude-code-action ([#160](#160)) ([3ebf8f4](3ebf8f4))
* **deps:** bump flox deps ([998e134](998e134))
* **deps:** bump flox to 1.15.0 across workflows ([#156](#156)) ([a06518f](a06518f))
* **deps:** bump flox/install-flox-action in the github-actions group ([#146](#146)) ([6fe6c47](6fe6c47))
* **deps:** bump infer cli to 0.183.0 ([651686b](651686b))
* **deps:** bump the github-actions group with 2 updates ([#149](#149)) ([210be0a](210be0a))
* **deps:** bump the github-actions group with 2 updates ([#153](#153)) ([8dafe2b](8dafe2b))
* **deps:** bump the github-actions group with 2 updates ([#169](#169)) ([f00b95d](f00b95d))
* **deps:** bump the github-actions group with 2 updates ([#171](#171)) ([c5e5087](c5e5087))
* **deps:** update Claude Code Action to version 1.0.210 ([8d0a5c8](8d0a5c8))
* **deps:** update Claude Code Action to version 1.0.213 ([9229c44](9229c44))
* **deps:** update Claude Code Action to version 1.0.223 ([c94025e](c94025e))
* **deps:** update Claude Code Action version to 1.0.217 ([50c7572](50c7572))
* **deps:** update Claude Code Action version to v1.0.185 ([b0e9afc](b0e9afc))
* **deps:** update Claude Code Action version to v1.0.191 ([932f394](932f394))
* **deps:** update Claude Code Action version to v1.0.193 ([f76021c](f76021c))
* **deps:** update Claude Code Action version to v1.0.214 ([b4ea7d1](b4ea7d1))
* **deps:** update Claude Code Action version to v1.0.220 ([b0bdd05](b0bdd05))
* **deps:** update claude-code-action version to v1.0.226 ([058620c](058620c))
* **deps:** update default infer CLI version to v0.158.0 ([d66188c](d66188c))
* **deps:** update infer CLI version and action reference ([f2dd666](f2dd666))
* **deps:** update Infer CLI version and action reference ([e514d26](e514d26))
* **deps:** update infer CLI version and action version ([fd19287](fd19287))
* **deps:** update infer CLI version and action version ([27aaa74](27aaa74))
* **deps:** update infer CLI version and action version ([9f0989f](9f0989f))
* **deps:** update infer CLI version and action version ([9052dd0](9052dd0))
* **deps:** update infer CLI version and action version ([9c06e66](9c06e66))
* **deps:** update infer CLI version and action version ([7614795](7614795))
* **deps:** update infer CLI version and action version ([3555b4e](3555b4e))
* **deps:** update infer CLI version and action version ([942b001](942b001))
* **deps:** update infer CLI version and action version ([4359525](4359525))
* **deps:** update infer CLI version and action version ([de50dc2](de50dc2))
* **deps:** update infer CLI version and action version ([7d7e590](7d7e590))
* **deps:** update infer CLI version and action version ([d64f683](d64f683))
* **deps:** update infer CLI version and action version ([ff86670](ff86670))
* **deps:** update infer CLI version and action version ([ec76246](ec76246))
* **deps:** update Infer CLI version and action version ([5638e42](5638e42))
* **deps:** update Infer CLI version and action version ([f2c30a4](f2c30a4))
* **deps:** update Infer CLI version and action version ([1cfcd5b](1cfcd5b))
* **deps:** update Infer CLI version and action version ([c9583b9](c9583b9))
* **deps:** update Infer CLI version and action version ([a1ee183](a1ee183))
* **deps:** update Infer CLI version and action version ([0842c2e](0842c2e))
* **deps:** update Infer CLI version and action version ([9465c50](9465c50))
* **deps:** update Infer CLI version and action version ([23137a9](23137a9))
* **deps:** update Infer CLI version and action version ([24ad1d7](24ad1d7))
* **deps:** update Infer CLI version and action version ([f408e4d](f408e4d))
* **deps:** update Infer CLI version and action version ([47f27f9](47f27f9))
* **deps:** update Infer CLI version and action version ([0253c23](0253c23))
* **deps:** update infer-action version to v0.42.1 ([bb47f63](bb47f63))
* **deps:** update infer-action version to v0.42.2 ([9a3361c](9a3361c))
* **deps:** update infer-action version to v0.44.3 ([43af624](43af624))
* **deps:** update infer-action version to v0.46.2 ([61549bd](61549bd))
* **deps:** update infer-action version to v0.48.0 ([a5a148a](a5a148a))
* **deps:** update infer-action version to v0.51.0 ([3831baf](3831baf))
* **deps:** update infer.yml ([8b0d800](8b0d800))
* **deps:** update model and CLI version in infer.yml ([6d22b9b](6d22b9b))
* enable review_inline option in repos.yaml ([b33db55](b33db55))
* **infer:** update default model in infer.yml workflow ([4fb5475](4fb5475))
* refine descriptions for desktop and opentask ([5b47cc5](5b47cc5))
* remove FUNDING.yml pending PR review ([d4620d1](d4620d1))
* **repos:** enable claude debug logs for inference-gateway ([#167](#167)) ([b8a6253](b8a6253))
* revise 'cli' repository description in README ([6e6e433](6e6e433))
* revise project entries in README.md ([d161e7f](d161e7f))
* update claude-code and infer versions ([1a97d5b](1a97d5b))
* update default claude model to fable-5-1 ([1b0dff9](1b0dff9))
* update default debug logging setting in infer.yml ([45da47d](45da47d))
* update infer CLI to v0.163.1 ([b1ef6c4](b1ef6c4))
* update model default to include preview tag ([0f64e8d](0f64e8d))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.26.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant