Skip to content

fix(desktop): remove overly-aggressive feature flag check#11748

Merged
milas merged 1 commit intodocker:mainfrom
milas:fix-sfs-feature-flag
Apr 19, 2024
Merged

fix(desktop): remove overly-aggressive feature flag check#11748
milas merged 1 commit intodocker:mainfrom
milas:fix-sfs-feature-flag

Conversation

@milas
Copy link
Contributor

@milas milas commented Apr 19, 2024

What I did
Synchronized file share integration between Desktop & Compose is still experimental, so there's a feature flag. However, it's slightly more complex than that - not all OS/hypervisor combos support Synchronized file shares and it's an entitled feature, so the config API from Desktop covers all this logic.

I accidentally left the old feature flag check in, but it's possible to opt-in via settings independent of the feature flag, which wasn't being respected. (That is, it's possible to enable the feature w/o the feature flag being on because of weirdness about how feature flags & settings work in Desktop currently.)

Related issue
https://docker.atlassian.net/browse/COMP-533

(not mandatory) A picture of a cute animal, if possible in relation to what you did
tortoise shell cat camouflaged against a similar patterned wall

@milas milas self-assigned this Apr 19, 2024
@milas milas requested review from a team, glours, jhrotko and ndeloof and removed request for a team April 19, 2024 13:18
Synchronized file share integration between Desktop & Compose is
still experimental, so there's a feature flag. However, it's
slightly more complex than that - not all OS/hypervisor combos
support Synchronized file shares and it's an entitled feature,
so the config API from Desktop covers all this logic.

I accidentally left the old feature flag check in, but it's
possible to opt-in via settings independent of the feature flag,
which wasn't being respected. (That is, it's possible to enable
the feature w/o the feature flag being on because of weirdness
about how feature flags & settings work in Desktop currently.)

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas force-pushed the fix-sfs-feature-flag branch from a924345 to fa0b3d5 Compare April 19, 2024 13:19
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

@milas milas merged commit fd532a3 into docker:main Apr 19, 2024
@milas milas deleted the fix-sfs-feature-flag branch April 19, 2024 20:06
temenuzhka-thede pushed a commit to temenuzhka-thede/compose that referenced this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants