Skip to content

chore: Rename WithDevEngine to AdvertiseDevEngine - #4372

Merged
gerhard merged 1 commit into
dagger:mainfrom
gerhard:clarify-with-dev-engine
Jan 12, 2023
Merged

gerhard merged 1 commit into
dagger:mainfrom
gerhard:clarify-with-dev-engine

Conversation

@gerhard

@gerhard gerhard commented Jan 12, 2023

Copy link
Copy Markdown
Contributor

WithDevEngine implies that the wrapped container will use the dev engine. This is misleading and results in surprising behaviour, as described in #4300 (comment)

AdvertiseDevEngine is more accurate: the dev engine is being advertised for any component that is interested in using it, but nothing is enforced. As we discovered, some components will continue using the engine in which they already run (this used to be the stable engine). The link above goes into more detail - it includes screenshots & diagrams that explain the state better than text alone.


⚠️ This should be rebased on top of main & merged after #4371 is merged.

@gerhard
gerhard requested review from aluzzardi and sipsma January 12, 2023 15:18
WithDevEngine implies that the wrapped container will use the dev
engine. This is misleading and results in surprising behaviour, as
described in #4300 (comment)

AdvertiseDevEngine is more accurate: the dev engine is being advertised
for any component that is interested in using it, but nothing is
enforced. As we discovered, some components will continue using the
engine in which they already run (this used to be the stable engine).
The link above goes into more detail - it includes screenshots &
diagrams that explain the state better than text alone.

Signed-off-by: Gerhard Lazu <[email protected]>
@gerhard
gerhard merged commit 3a32016 into dagger:main Jan 12, 2023
@gerhard
gerhard deleted the clarify-with-dev-engine branch January 12, 2023 17:40
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.

2 participants