GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(core): recover legacy database migration history by opencode-agent[bot] · Pull Request #45061 · anomalyco/opencode Conversation
Contributor
Issue for this PRType of change
What does this PR do?Fixes both historical SQLite upgrade paths that fail with
This intentionally does not introduce migration aliases: these failures are caused by missing historical columns, not equivalent renamed migration identities. Reproduction: https://github.com/neriousy/opencode-workspace-migration-repro How did you verify your code works?
Screenshots / recordingsNot a UI change. Checklist
Requested by: @neriousy (Filip via Slack)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
neriousy
enabled auto-merge (squash)
neriousy
disabled auto-merge
Uh oh!
There was an error while loading. Please reload this page.
Anonymouse8882
pushed a commit
to Anonymouse8882/opencode
that referenced
this pull request
Co-authored-by: neriousy <[email protected]> (cherry picked from commit b72b500)
Archipel
pushed a commit
to Archipel/opencode
that referenced
this pull request
Co-authored-by: neriousy <[email protected]>
1056674754
added a commit
to 1056674754/opencode
that referenced
this pull request
Upstream v1.18.23 (ef2880f, merged at 2091b86) -> v1.18.25 (cb7d8b2), 41 commits / 224 files. Upstream superseded the v1.18.24 release commit (57e8055) with 19db518 (sync release versions for v1.18.24) in the v1.18.25 lineage; merge base is 31c409a (update inference headers). Staged delta vs pre-merge fork HEAD is identical to the upstream tag-to-tag diff (224 files, +5428/-1627), confirming a clean adoption. Functional changes: - feat(opencode): load supported v2 config in v1 (anomalyco#45421) — new config/v2-compat.ts lowers v2 config onto v1 before schema parsing; decodeConfig wraps every load/update path. Fork's getFresh/commitFresh interface additions in config.ts untouched. - feat(opencode): support Azure CLI authentication (anomalyco#45079) and fix: remove Bun dependency from Azure authentication (anomalyco#45845) — plugin/azure.ts grows an az CLI credential chain (+241); provider.ts custom Azure loader adds auth.accountId as a resource-name fallback (1 line, disjoint from the fork snapshot architecture). New test/plugin/azure.test.ts passes in full. - fix(opencode): compare config snapshots as JSON (anomalyco#45784) — the update path re-reads the original file text and merges the patch onto the raw parsed record, detecting change via serialized comparison. - fix(provider): filter unreplayable Bedrock reasoning before caching (anomalyco#45769) — transform.ts; verified disjoint from the fork GLM/ZhiPu normalization block, which is intact. - fix(core): recover legacy database migration history (anomalyco#45061). - fix(ui): restore focus in stacked dialogs (anomalyco#44928); fix(app): drop archived sessions from home list right away (anomalyco#44905). - console/stats/go: zen quota usage breakdown, weekly retention metrics, Go comparison chart mobile fix, auth redirect validation, checkout rate limit; docs: Qwen3.8 Flash, GLM-5.3-Flash, Grok 4.6. Conflicts resolved: 29 package.json version bumps (rebranded 1.18.25-sscity), bun.lock (took upstream, rebranded workspace entries via bun install; only external dep delta is removal of the console map stack d3-geo/topojson/ world-atlas plus a @types/bun catalog entry). provider.ts and transform.ts auto-merged; merged files verified to differ from v1.18.25 only by fork deltas (ProviderSnapshot architecture, deferred snapshot initialization, GLM normalization, getFresh/commitFresh). Tests: provider 105, transform, bedrock, config, v2-compat, session retry/llm — 906 pass / 0 fail across 14 files; azure plugin 18 pass; typecheck clean. Pre-existing, not from this merge: 4 cf-ai-gateway-e2e anthropic-passthrough tests fail identically on pre-merge fork HEAD with an unchanged ai-gateway-provider 3.2.0 lock entry — environmental drift, left as-is. Co-Authored-By: Claude Fable 5 <[email protected]>
filipeforattini
added a commit
to reddb-io/redcode
that referenced
this pull request
Ported from anomalyco/opencode b72b500. Co-authored-by: neriousy <[email protected]> Upstream: b72b500
filipeforattini
added a commit
to reddb-io/redcode
that referenced
this pull request
Ported from anomalyco/opencode b72b500. Co-authored-by: neriousy <[email protected]> Upstream: b72b500
4 tasks done
alltomatos
pushed a commit
to alltomatos/opencode
that referenced
this pull request
…olumn Some existing installs' __drizzle_migrations table predates the "name" column (older Drizzle journal format) and only has created_at timestamps. The old seeding query silently inserted NULL/nothing for those rows, so the new migration runner would think those migrations were never applied and replay already-applied SQL against those databases. Ported from upstream/dev (fix(core): recover legacy database migration history, anomalyco#45061): detect whether the table has a "name" column via pragma_table_info, and when it doesn't, match each row's created_at timestamp to a migration id prefix instead. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015KrFrdVEmx7apnofWUViJw
rldona
pushed a commit
to plazoleta-dev/FlupCode
that referenced
this pull request
Co-authored-by: neriousy <[email protected]>
Ichinose-Kazuki
pushed a commit
to Ichinose-Kazuki/opencode
that referenced
this pull request
Co-authored-by: neriousy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Desktop upgrade can fail on workspace migrationUh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |