GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sqlite again by thdxr · Pull Request #10597 · anomalyco/opencode

Conversation

@thdxr

@thdxr thdxr commented Jan 26, 2026

Copy link
Copy Markdown
Member

slopity slop

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

filwiesner, ysm-dev, RLR64, T1ckbase, taha-au, and Kamyil reacted with laugh emoji master8848, Frank-III, ysm-dev, cruzluna, RLR64, and T1ckbase reacted with eyes emoji
All reactions
  • 😄 6 reactions
  • 👀 6 reactions
thdxr added 4 commits January 24, 2026 11:50
@thdxr
sync
1e7b476
@thdxr
sync
105688b
@thdxr
Merge branch 'dev' into sqlite2
0c1c074
@thdxr
Merge branch 'dev' into sqlite2
81b47a4
@thdxr
thdxr force-pushed the sqlite2 branch from 53070a8 to 81b47a4 Compare January 26, 2026 02:30
actions-user and others added 3 commits January 26, 2026 02:32
@actions-user
chore: update nix node_modules hashes
b9f5a34
@thdxr
tui: upgrade database migration system to drizzle migrator
a614b78
Replaces custom migration system with drizzle-orm's built-in migrator, bundling migrations at build-time instead of runtime generation. This reduces bundle complexity and provides better integration with drizzle's migration tracking.
@thdxr
sync
57edb0d
@thdxr
thdxr force-pushed the sqlite2 branch from 9b280bd to 57edb0d Compare January 26, 2026 13:44
thdxr added 9 commits January 26, 2026 08:53
@thdxr
Merge dev into sqlite2
4d50a32
@thdxr
sync
bf0754c
@thdxr
core: remove dependency on remeda to simplify dependencies
acdcf7f
@thdxr
core: ensure events publish reliably after database operations complete
2b05833
@thdxr
core: improve conversation loading performance by batching database q…
5e1639d
…ueries

Reduces memory usage and speeds up conversation loading by using pagination
and inArray queries instead of loading all messages at once
@thdxr
core: migrate from custom JSON storage to standard Drizzle migrations…
a48a5a3
… to improve database reliability and performance

This replaces the previous manual JSON file system with standard Drizzle migrations, enabling:
- Proper database schema migrations with timestamp-based versioning
- Batched migration for faster migration of large datasets
- Better data integrity with proper table schemas instead of JSON blobs
- Easier database upgrades and rollback capabilities

Migration changes:
- Todo table now uses individual columns with composite PK instead of JSON blob
- Share table removes unused download share data
- Session diff table moved from database table to file storage
- All migrations now use proper Drizzle format with per-folder layout

Users will see a one-time migration on next run that migrates existing JSON data to the new SQLite database.
@thdxr
core: fix Drizzle ORM client initialization and type definitions
f40685a
@thdxr
sync
63e3855
@thdxr
core: switch commit command to kimi-k2.5 and improve worktree test re…
7706f5b
…liability
@thdxr
thdxr force-pushed the sqlite2 branch from 9ac3192 to 7706f5b Compare January 27, 2026 21:25
thdxr added 3 commits January 27, 2026 16:41
@thdxr
sync
0ccef1b
@thdxr
Merge dev into sqlite2
246e901
@thdxr
sync
cd174d8
@thdxr
thdxr force-pushed the sqlite2 branch 2 times, most recently from 55b2dfe to cd174d8 Compare January 27, 2026 22:03
@thdxr
sync
19a41ab
@thdxr
thdxr force-pushed the sqlite2 branch from 68367f8 to 19a41ab Compare January 27, 2026 22:43
thdxr added 2 commits January 27, 2026 17:45
@thdxr
Merge branch 'dev' into sqlite2
ac16068
@thdxr
Merge branch 'dev' into sqlite2
30a918e
@thdxr
thdxr force-pushed the sqlite2 branch from e0ffbe2 to 30a918e Compare January 28, 2026 23:45
@actions-user
chore: update nix node_modules hashes
00e6089
@thdxr
Merge origin/dev into sqlite2
e2d9fcd
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Brendonovich and others added 3 commits February 13, 2026 10:14
@Brendonovich
non-tty sqlite migration logs
3592fa2
@thdxr
core: add database schema for Control account connections
1c02eb0
@thdxr
Merge remote-tracking branch 'origin/dev' into sqlite2
aa84d74
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

2 similar comments
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thdxr added 3 commits February 12, 2026 22:15
@thdxr
Merge remote-tracking branch 'origin/dev' into sqlite2
274c312
@thdxr
core: add Control token refresh and account retrieval
a827af3
Enables automatic token refresh for authenticated Control accounts by implementing a unique active account constraint and refresh token flow. The database schema now enforces a single active Control account at a time, and tokens are automatically refreshed when expired.
@thdxr
sync
92334ec
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

9 similar comments
@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@opencode-agent

opencode-agent Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Merge conflicts with dev branch

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thdxr and others added 4 commits February 13, 2026 09:37
@thdxr
fix migration
7cd2489
@thdxr
Merge branch 'dev' into sqlite2
ecdd027
@thdxr
sync
74216a4
@thdxr
Merge branch 'dev' into sqlite2
7693570
@benoitheinrich benoitheinrich mentioned this pull request Feb 19, 2026
Web: Sidebar session list hides worktree/sandbox sessions after 1.2.6 upgrade (filters to current directory only) #14082
Closed
@Kamyil Kamyil mentioned this pull request Feb 24, 2026
Add different database options Kamyil/work-tuimer#22
Closed
@fishowo26 fishowo26 mentioned this pull request Mar 7, 2026
opencode的会话未识别 farion1231/cc-switch#1287
Closed
@divitkashyap divitkashyap mentioned this pull request May 24, 2026
fix(opencode): raise SQLite busy_timeout to 10s #29107
Closed
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

beta contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@thdxr @actions-user @Brendonovich
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.