Skip to content

Read profile and proxy details from one server snapshot - #205

Open
glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/consistent-detail-reads
Open

glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/consistent-detail-reads

Conversation

@glwhappen

Copy link
Copy Markdown

Profile and proxy detail routes used separate database reads for their metadata and encrypted settings. A second device could commit a save between those reads, pairing an older revision with newer settings. The launcher uses that revision for conflict handling and personal sync.

The team and personal detail routes now capture permissions, resource scope, metadata, and encrypted bytes in one SQLite read transaction. The settings and profile card are decoded after the transaction releases the store lock. The profile settings used to choose bookmarks and extensions at Start also use the guarded read.

Four HTTP regression tests commit the next version after the read captures its data. They check the complete original response, the complete next response, and personal-space isolation. Separate tests cover a reissued token and reading Start settings when the card cannot be opened.

Standalone Linux team-server suite and the profile editor's 25 Chrome tests passed.

This branch has not been deployed

No deployments
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