inkandswitch / inkandswitch/vscode-hypermerge

Opening a second vscode window creates a new repo instance

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
30
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Each vscode window uses its own repo object, which is operating on the same hypermerge data directory. This can very easily cause data corruption.

Repro: Open two vscode windows. Select a document and inspect its feeds in both windows. Make a change in one window. See that the blocks of the locally writable feed increase by one. See that the blocks are unchanged in the other window.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start with the two-window reproduction and inspect how each VSCode window creates its repo object over the shared Hypermerge data directory; done means making a change in one window no longer leaves the other operating on conflicting feed state or risking corruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.