Repository navigation
fix: devin sessions in the user's session database (0.0.70) - #82
Merged
Merged
Conversation
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
<data>/home/.local/share/devin/cli/sessions.db), so usage readers anddevin listnever saw them. on two hosts the real database held no session since the engine joined while the private one held 14 and 2. the private home now linksdevin/cli/sessions.dbto the real user's database ($XDG_DATA_HOME/devin/cli/sessions.dbwhen absolute, else~/.local/share/devin/cli/sessions.db), the same way it links the credentials file; logs, session locks, plugins, and every other XDG directory stay private.VACUUM INTO; an existing one gets only the sessions it lacks, across the session keyed tables and only the tables and columns both schemas share (an older real schema is upgraded by devin itself on its next open). a running devin job or a failed merge leaves the private store in place and the next call retries.test plan
already verified
node --test tests/devin-home.test.mjs tests/devin-companion.test.mjs tests/devin-exec.test.mjs tests/devin-state.test.mjs: 96 pass, 0 failnpm test: 1787 pass, 0 fail, 3 skipped; after the version bump, the version, engine, and acceptance suites: 51 passclaude plugin validatepasses for codex, grok, cursor, devin, fusion, and the marketplace rootHOMEandsessions.dbas a symbolic link: writes land in the target and no-walor-shmfile is left beside the linkdevin-companion.mjs models): the real database went from 5 to 19 sessions,pragma integrity_checkreturns ok, and the private path is now only the link--model swe-2 --effort high): the new session and its token metrics are in the real database, and devin upgraded its schema from 17 to 20 migrationsreviewer should verify
/devin:taskleaves<data>/home/.local/share/devin/cli/sessions.dbas a link anddevin listin a project the jobs ran in shows them