Skip to content

feat(core): add workspace_id to session table#15410

Merged
jlongster merged 1 commit intodevfrom
jlonster/session-workspace-id
Mar 1, 2026
Merged

feat(core): add workspace_id to session table#15410
jlongster merged 1 commit intodevfrom
jlonster/session-workspace-id

Conversation

@jlongster
Copy link
Copy Markdown
Contributor

Related: #15409 (this PR is blocked on that one)

As we move to a world where everything is workspace-based instead of directory-based, we need to start tagging sessions with a workspace id. This adds a new optional field to the table to do so.

We will convert directories to workspaces to everything is a workspace: when the server starts if it's using a directory that does not a have workspace in the db, it will create on for it.

@jlongster jlongster force-pushed the jlonster/session-workspace-id branch from ec39038 to 50b2f65 Compare March 1, 2026 02:22
@jlongster jlongster merged commit 3ee1653 into dev Mar 1, 2026
9 checks passed
@jlongster jlongster deleted the jlonster/session-workspace-id branch March 1, 2026 03:09
kiennq pushed a commit to kiennq/opencode that referenced this pull request Mar 1, 2026
Grappeggia pushed a commit to teamslop/slopcode that referenced this pull request Mar 4, 2026
jonathanmiddleton pushed a commit to jonathanmiddleton/opencode that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant