Repository navigation
chore: drop migrations every active install has already run - #745
Merged
Merged
Conversation
stefanhoelzl
enabled auto-merge (rebase)
October 13, 2026 11:06
PostHog shows every install active in the last 30 days on 2026.9.27 or
newer, so the one-shot conversions that shipped up to that release have
run everywhere they still matter.
Removed:
- auto-workspace.sources moved into a plugin (legacy-sources.ts); the
automations tests now use plain item templates as fixtures
- config.json moved from the data root to ~/.codehydra
- the Windows %APPDATA% -> %LOCALAPPDATA% data-root relocation
- legacy {path, remoteUrl} managed-project records rewritten at startup,
and the matching "Prepare project records" step of a workspaces move
- the startup sweeps of claude/configs, code-server/ and
opencode.codehydra.json
- the hooks.trusted fallback for repository plugin trust
- the .codehydra/hooks Migrate offer (old hook files are now ignored)
- the hooks.enabled, automations.poll-interval and
auto-workspace.poll-interval aliases (no active install sets them)
legacyNames stays as the rename mechanism but now works one way:
Config.load() moves a value found under an old name to the new key in
config.json and drops the old entry, so an alias can go one release
after a rename. Downgrades are not supported.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PostHog shows every install active in the last 30 days on 2026.9.27 or newer, so the one-shot conversions shipped up to that release have run everywhere they still matter.
auto-workspace.sources→ plugin move (legacy-sources.ts); the automations tests now use plain item templates as fixturesconfig.jsonmove from the data root to~/.codehydra(Config.moveLegacyConfig)%APPDATA%→%LOCALAPPDATA%data-root relocation (data-root-relocation.ts, PathProviderplatformRoot) and its Documented Exceptions row{path, remoteUrl}managed-project records and the matching "Prepare project records" step of a workspaces move;loadAllProjectsnow returns plain configsclaude/configs,code-server/andopencode.codehydra.json(theretirerule kind stays)hooks.trustedfallback for repository plugin trust (an old project asks once).codehydra/hooksMigrate offer (legacy-hooks.ts, editor warning, e2e scenario, guide section); old hook files are now simply ignoredhooks.enabled,automations.poll-intervalandauto-workspace.poll-intervalaliases (no active install sets them)legacyNamesstays as the rename mechanism but is now one-way:Config.load()moves a value found under an old name to the new key inconfig.jsonand drops the old entry (no downgrade support), so an alias can go one release after a renameMigrations added after 2026.9.27 (adoption conversion, metadata off git config, ref-keyed state, workspace name fallback,
paths.workspaces-currenttakeover) stay until the last 2026.9.27 install updates.🤖 Generated with Claude Code