Skip to content

sdk(go): simplify DaggerObject aliasing slightly - #8289

Merged
jedevc merged 1 commit into
dagger:mainfrom
sipsma:simplify-aliasing
Sep 2, 2024
Merged

jedevc merged 1 commit into
dagger:mainfrom
sipsma:simplify-aliasing

Conversation

@sipsma

@sipsma sipsma commented Aug 31, 2024

Copy link
Copy Markdown
Contributor

This gets rid of the multiple levels of type aliasing used to be just one level.

This is a very mild simplification that worst case seems harmless, but the motivation right now is a shot in the dark attempt at seeing if it avoids some of the flakes we have been getting in the Go SDK with this object.

  • Obviously if this does indeed get rid of the flakes then it's not great in that we've probably just temporarily avoided a bug, but at this point that seems worth it.

I have been running with this change in my deflaking PR for a while now and haven't seen the flake since, so figured it didn't hurt to spin out at this point.

  • 90% of time I've said something like this in the past the flake suddenly reappears, so 🤞

This gets rid of the multiple levels of type aliasing used to be just
one level.

This is a very mild simplification that worst case seems harmless, but
the motivation right now is a shot in the dark attempt at seeing if it
avoids some of the flakes we have been getting in the Go SDK with this
object.

Signed-off-by: Erik Sipsma <[email protected]>
@sipsma
sipsma requested a review from jedevc August 31, 2024 01:47
@sipsma
sipsma requested a review from a team as a code owner August 31, 2024 01:47

@jedevc jedevc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah let's try it - fingers crossed this does something.

Hopefully with the improved debugging logs and such, this should give a bit more context as well as to what could be really happening.

@jedevc
jedevc merged commit fdd777e into dagger:main Sep 2, 2024
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