You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞 MergeOp corner case results in wrong contents #5437
Noticed this while working on Zenith, just filing issue atm so as it not get distracted but will fix before next release.
If you use WithDirectory where the dest path of the source dir is the same as the internal selector of the source dir, then direct merge is incorrectly triggered, which can result in contents from above the internal selector being revealed under the / of the dest dir.
Just need to enforce that direct merge requires the source's selector to be / I think. So easy fix, but bigger thing is to go add the missing test coverage for this case.
This should be a release blocker (cc @gerhard should we add a label for release blockers?)
If you add RELEASE BLOCKER in the title, I will make sure to check on it before a new release goes out. We can also create a label if that helps - whatever is easier.
@gerhard Both the original MergeOp support and this bug fix were in v0.6.4; there wasn't a release with this problem present, so I think we are good on the release notes.
If you add RELEASE BLOCKER in the title, I will make sure to check on it before a new release goes out. We can also create a label if that helps - I don't mind.
Putting that in the title sounds great, thank you!
Activity
gerhard commentedon Jul 25, 2023
I'm just seeing this one now @sipsma.
If you add
RELEASE BLOCKERin the title, I will make sure to check on it before a new release goes out. We can also create a label if that helps - whatever is easier.I can see that this went out in

v0.6.4:I don't see it in the release notes though: https://github.com/dagger/dagger/blob/main/.changes/v0.6.4.md
Would it be worth adding it retroactively?
sipsma commentedon Jul 25, 2023
@gerhard Both the original MergeOp support and this bug fix were in v0.6.4; there wasn't a release with this problem present, so I think we are good on the release notes.
Putting that in the title sounds great, thank you!
gerhard commentedon Jul 26, 2023
💪