Skip to content

task tool fails with "no such column: replacement_seq" when plugin lags behind CLI #35403

Description

@Bmasele

Description

Running any sub-agent (general, explore, vision) crashes with no such column: replacement_seq. Root cause: the __drizzle_migrations table only tracks 21 migrations while the CLI has applied 38. Migrations 22-38 add columns (replacement_seq, revision) to 8 tables. When the CLI auto-updates past those migrations, existing databases still using the older plugin hit this error on every task dispatch.

Plugins

@opencode-ai/plugin v1.14.28

OpenCode version

CLI v1.17.9, plugin v1.14.28

Steps to reproduce

  1. Have an opencode DB where migration table has 38 rows but __drizzle_migrations only has 21
  2. Run any /task command
  3. Observe no such column: replacement_seq

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions