Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: state collision #4881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
code-asher merged 10 commits into coder:main from code-asher:state-collision
Feb 22, 2022
Merged

fix: state collision #4881

code-asher merged 10 commits into coder:main from code-asher:state-collision
Feb 22, 2022

Conversation

Copy link
Member

@code-asher code-asher commented Feb 17, 2022

VS Code names their databases after the workspace but if two workspaces share the same path (for example if they are on different virtual machines) but they share the same domain (since IndexedDB is scoped to domain) then those two states will have a naming collision.

Blocked on coder/vscode#46.

This has problems similar to the menu except instead of closing it gets
re-created which interrupts the hover call and causes the test to fail.
Now it will keep trying just like the menu.
@code-asher code-asher changed the title (削除) Fix state collision (削除ここまで) (追記) fix: state collision (追記ここまで) Feb 17, 2022
Copy link

codecov bot commented Feb 18, 2022
edited
Loading

Codecov Report

❗ No coverage uploaded for pull request base (main@23734d3). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 6e0d301 differs from pull request most recent head b48cb87. Consider uploading reports for the commit b48cb87 to get more accurate results

Impacted file tree graph

@@ Coverage Diff @@
## main #4881 +/- ##
=======================================
 Coverage ? 69.79% 
=======================================
 Files ? 29 
 Lines ? 1649 
 Branches ? 363 
=======================================
 Hits ? 1151 
 Misses ? 424 
 Partials ? 74 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23734d3...b48cb87. Read the comment docs.

@code-asher code-asher marked this pull request as ready for review February 18, 2022 19:42
@code-asher code-asher requested a review from a team February 18, 2022 19:42
Copy link
Contributor

jsjoeio commented Feb 18, 2022

Docs preview should be fixed: just waiting on a review for this 😉 #4875

Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@code-asher code-asher merged commit f9402a6 into coder:main Feb 22, 2022
@code-asher code-asher deleted the state-collision branch February 22, 2022 18:43
TinLe pushed a commit to TinLe/code-server that referenced this pull request Apr 23, 2022
* Add helper for navigating the quick picker
This has problems similar to the menu except instead of closing it gets
re-created which interrupts the hover call and causes the test to fail.
Now it will keep trying just like the menu.
* Add a test for opening a file
* Add test for colliding state
* Update VS Code
This contains the colliding state fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@jsjoeio jsjoeio jsjoeio approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /