Skip to content

Revert "Make queries share the same server by default (#270)"#355

Merged
cameron-martin merged 1 commit intobazel-contrib:masterfrom
cameron-martin:revert-use-same-server
Mar 12, 2024
Merged

Revert "Make queries share the same server by default (#270)"#355
cameron-martin merged 1 commit intobazel-contrib:masterfrom
cameron-martin:revert-use-same-server

Conversation

@cameron-martin
Copy link
Collaborator

@cameron-martin cameron-martin commented Mar 12, 2024

This reverts commit 64c9d7e.

The underlying issue that this addresses is now fixed in Bazel 7.1.0. See #216 and bazelbuild/bazel#21505.

)"

This reverts commit 64c9d7e.

The underlying issue that this addresses is now fixed in Bazel 7.1.0. See bazel-contrib#216 and bazelbuild/bazel#21505.
@cameron-martin cameron-martin merged commit a7bb6ff into bazel-contrib:master Mar 12, 2024
@cameron-martin cameron-martin deleted the revert-use-same-server branch March 12, 2024 23:48
@cameron-martin cameron-martin restored the revert-use-same-server branch March 13, 2024 01:46
@cameron-martin cameron-martin deleted the revert-use-same-server branch March 13, 2024 01:46
@vogelsgesang
Copy link
Collaborator

Do we know which percentage of the user-base of this extension is already using Bazel 7.1?
Do we expect everyone to be on the latest version all the time?

From the perspective of most Bazel 7.0 or 6.x users which might not be aware that this issue existed in Bazel < 7.1, this VSCode extension will seem broken. Should we rather auto-detect the Bazel version and set the setting automatically based on that? Or at least display a warning for older Bazel versions?

@cameron-martin
Copy link
Collaborator Author

Good point. I think displaying a message for older versions would be good, since this also has a manual workaround of adding the convenience symlinks to .bazelignore.

cameron-martin added a commit to cameron-martin/vscode-bazel that referenced this pull request Apr 6, 2024
This flips the `bazel.queriesShareServer` default back to `true`, since I think it was a bit hasty in bazel-contrib#355 to break everyone not on the latest bazel version. Instead, I have added a section to the docs, linked from the setting, describing how to safely disable this option.
cameron-martin added a commit to cameron-martin/vscode-bazel that referenced this pull request Apr 6, 2024
This flips the `bazel.queriesShareServer` default back to `true`, since I think it was a bit hasty in bazel-contrib#355 to break everyone not on the latest bazel version. Instead, I have added a section to the docs, linked from the setting, describing how to safely disable this option.
@cameron-martin
Copy link
Collaborator Author

@vogelsgesang I've put up a PR to revert this change, plus add some docs in #367.

cameron-martin added a commit to cameron-martin/vscode-bazel that referenced this pull request Apr 6, 2024
This flips the `bazel.queriesShareServer` default back to `true`, since I think it was a bit hasty in bazel-contrib#355 to break everyone not on the latest bazel version. Instead, I have added a section to the docs, linked from the setting, describing how to safely disable this option.
cameron-martin added a commit that referenced this pull request Apr 8, 2024
This flips the `bazel.queriesShareServer` default back to `true`, since I think it was a bit hasty in #355 to break everyone not on the latest bazel version. Instead, I have added a section to the docs, linked from the setting, describing how to safely disable this option.
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.

3 participants