Skip to content
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

fix: Check if a local engine is running before switching to a remote context and let the user know what to do #1011

Merged
merged 6 commits into from Jul 28, 2023

Conversation

laurentluce
Copy link
Contributor

@laurentluce laurentluce commented Jul 27, 2023

Description:

Tell the user if a local engine is running and he is trying to switch to a remote context since it would conflict with the forwarded remote engine port. Move the engine port forwarding from the start of the context switch to after the engine is started so we don't forward too early.

Is this change user facing?

YES

@laurentluce laurentluce changed the title fix: Forward the engine port after the engine starts and before a grpc call is made to it fix: Check if a local engine is running before switching to a remote context and let the user know what to do Jul 27, 2023
@laurentluce laurentluce merged commit 141247f into main Jul 28, 2023
29 checks passed
@laurentluce laurentluce deleted the laurent/context_switch_fix branch July 28, 2023 01:10
h4ck3rk3y added a commit that referenced this pull request Jul 28, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.80.21](0.80.20...0.80.21)
(2023-07-28)


### Bug Fixes

* Check if a local engine is running before switching to a remote
context and let the user know what to do
([#1011](#1011))
([141247f](141247f))
* fix cpu calculation by getting pre cpu stat
([52a191e](52a191e))
* Implement GetEngineLogs in Kubernete backend
([#1005](#1005))
([3d0a3e2](3d0a3e2))
* Log streaming was timing out on docker
([#999](#999))
([d3b6c43](d3b6c43))
* make continuity test work
([#1016](#1016))
([c430db2](c430db2))
* make resource fetching a parallel operation
([#1012](#1012))
([52a191e](52a191e))
* only ask for emails on interactive terminals
([#1018](#1018))
([1bdac73](1bdac73))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: h4ck3rk3y <h4ck3rk3y@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants