Skip to content

Saved connections survive a reload - #66

Merged
caioricciuti merged 1 commit into
mainfrom
fix/connections-survive-reload
Oct 2, 2026
Merged

caioricciuti merged 1 commit into
mainfrom
fix/connections-survive-reload

Conversation

@caioricciuti

Copy link
Copy Markdown
Owner

On boot the profile loaded its saved connections, then the engine's initialize replaced the whole list with WASM and the ENV connection, so every saved connection vanished on reload (re-adding one then wrote a second row with the same name). Both steps now merge by id in whichever order they run; loadProfile keeps the built-in connections and replaces only the profile's own rows, so switching profiles does not carry them over. Unit tests for the merge and for initialize keeping what the profile loaded. New Playwright test adds a browser-storage connection, reloads and checks it is listed exactly once; it fails on the previous build. Not in this PR: the saved current connection is still not restored on reload.

@caioricciuti
caioricciuti merged commit 0ebbce1 into main Oct 2, 2026
3 of 4 checks passed
@caioricciuti
caioricciuti deleted the fix/connections-survive-reload branch October 2, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant