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

Nit: Make ProxyController a featureflag #9771

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Conversation

strseb
Copy link
Collaborator

@strseb strseb commented Aug 6, 2024

Description

The local proxy currently is a bit hard to enable:
-> You need to be in stage mode
-> you need split tunnel
-> you need to have the binary in a certain place.

And if one of those fails, we silently fail.
Let's make it a featureflag, with the precondition of "is windows | linux" and use the featureflag mechanism to allow it to turn it on, make it default on in stage :)

This also makes it look on "Debug" builds inside the build dir instead of an "install" like folder, making setup better.

Also add logs if things fail so people can self troubleshoot.

"LocalProxy", // Feature name
FeatureCallback_proxyCanTurnOn, // Can be flipped on
FeatureCallback_true, // Can be flipped off
QStringList(), // feature dependencies
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this have a dependency on split tunnelling?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

true!

@strseb strseb enabled auto-merge (squash) August 7, 2024 15:24
@github-actions github-actions bot added the 🛬 Landing This PR is marked as "auto-merge" label Aug 7, 2024
@strseb strseb merged commit a157681 into main Aug 14, 2024
115 of 117 checks passed
@strseb strseb deleted the basti/_nit_toggleable_proxy branch August 14, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛬 Landing This PR is marked as "auto-merge"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants