fix(opencode): bump runtime for session schema compatibility#2380
Open
snvtac wants to merge 1 commit into
Open
fix(opencode): bump runtime for session schema compatibility#2380snvtac wants to merge 1 commit into
snvtac wants to merge 1 commit into
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@snvtac is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
fussdeek-del
left a comment
There was a problem hiding this comment.
LGTM, so far nothing unusual found.
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.
Summary
v1.17.3tov1.17.11.@opencode-ai/sdkconsumers to^1.17.11and update the lockfile.Why
SQLiteError: no such column: replacement_seqwhen OpenWork's pinned OpenCode runtime handles a session prompt against a DB schema where upstream OpenCode has already removed that column.Issue
Scope
constants.json.@opencode-ai/sdk@1.17.11.Out of scope
Testing
Ran
pnpm install --frozen-lockfile --ignore-scripts --store-dir ../pnpm-storegit diff --checkpnpm --filter openwork-server typecheckpnpm --filter @openwork/app typecheckpnpm --filter @openwork/desktop typecheck:electronpnpm --filter opencode-router typecheckpnpm --filter openwork-orchestrator typecheckPATH=$PWD/../opencode-bin/extract:$PATH HOME=$PWD/../opencode-e2e-home XDG_DATA_HOME=$PWD/../opencode-e2e-data XDG_CONFIG_HOME=$PWD/../opencode-e2e-config OPENCODE_DISABLE_AUTOUPDATE=1 OPENCODE_CHANNEL=local OPENCODE_CLIENT=openwork-e2e node apps/app/scripts/e2e.mjs --dir "$PWD"sqlite3 ../opencode-e2e-data/opencode/opencode.db "pragma table_info('session_context_epoch');"Result
healthy: true, created a session, ransession.prompt noReply, and wrote 1 message.session_context_epochcolumns weresession_id,baseline,snapshot,baseline_seq;replacement_seqwas absent while prompt write still succeeded.CI status
noReplyto avoid requiring provider credentials.Manual verification
constants.json.opencode servefrom that binary with isolated HOME/XDG dirs.session.prompt noReplysucceeds on a DB schema withoutreplacement_seq.Evidence
health.version = 1.17.11,session.prompt noReplystatusok, message count1.session_context_epochhas noreplacement_seqcolumn.Risk
Rollback
1.17.3pins.