Skip to content

Improve releasing during v0.11.0 - #7018

Merged
jedevc merged 3 commits into
dagger:mainfrom
jedevc:improve-releasing-during-v0.11.0
Apr 11, 2024
Merged

jedevc merged 3 commits into
dagger:mainfrom
jedevc:improve-releasing-during-v0.11.0

Conversation

@jedevc

@jedevc jedevc commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@jedevc
jedevc marked this pull request as draft April 4, 2024 15:08
@jedevc

jedevc commented Apr 4, 2024

Copy link
Copy Markdown
Contributor Author

cc @matipan @gerhard this PR will fail until the CI runners can be updated to v0.11.0.

@jedevc jedevc mentioned this pull request Apr 5, 2024
11 of 13 tasks
@gerhard
gerhard force-pushed the improve-releasing-during-v0.11.0 branch from a6bdbdf to c088942 Compare April 5, 2024 18:06
@gerhard

gerhard commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

I have just updated all workflows except those that need a dev-engine to use the new CI setup. In the new setup, the workflows request the Engine version, and this gets provisioned just-in-time, meaning no more coordination is needed with ops/infra. Let's see how well the new CI setup works in practice. cc @matipan


The reason why we switched to the new CI setup instead of migrated slowly is captured in this private discussion.

@gerhard

gerhard commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

I am going to mark this ready for review so that the jobs trigger.

While waiting, will resolve the conflicts.

@gerhard
gerhard marked this pull request as ready for review April 5, 2024 18:11
@gerhard
gerhard force-pushed the improve-releasing-during-v0.11.0 branch 3 times, most recently from 4b287de to fcfe9c9 Compare April 5, 2024 18:20
@gerhard

gerhard commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

Stopping here for now, next steps:

  • Reduce Engine & CLI / testdev log output & find why it failed (too much output, couldn't see the reason)
  • Fix Engine & CLI . scan-engine (needs v0.11.0, but we cannot bump it since all workflows using v0.10 will fail)
  • Engine & CLI / test seems to be stuck after 25mins, not sure what the action item is jus yet

@jedevc jedevc added this to the v0.11.1 milestone Apr 8, 2024
@matipan
matipan force-pushed the improve-releasing-during-v0.11.0 branch 3 times, most recently from 10f145b to 076d7f4 Compare April 8, 2024 17:37
@jedevc
jedevc force-pushed the improve-releasing-during-v0.11.0 branch 2 times, most recently from 064fcba to f768bfe Compare April 10, 2024 13:15
Comment thread .github/workflows/_hack_make.yml Outdated

@vito vito Apr 10, 2024 •

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.

This env var isn't used anymore for telemetry - we use the regular DAGGER_CLOUD_TOKEN now:

Suggested change
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICIwYzhmMGY2Yy00YjY1LTRhODktYTI0YS0yN2NjNWNhNzNmNTcifQ.Em92UDP-KmcNd80Y-euTS2IrRkIE8qTisP3SXYkQi3c"
DAGGER_CLOUD_TOKEN: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICIwYzhmMGY2Yy00YjY1LTRhODktYTI0YS0yN2NjNWNhNzNmNTcifQ.Em92UDP-KmcNd80Y-euTS2IrRkIE8qTisP3SXYkQi3c"

But I mentioned this to @jedevc and it sounds like we might have been using this older env var to sneakily send telemetry but not sync caches, since that feels dangerous for untrusted PRs. If that's the case we're in a bit of a pickle, since afaik there's no way to opt-out of the cache syncing. Not 100% sure what the state of things is in all this, just wanted to raise.

It seems like we'd want read-only caches + publicly viewable traces for PRs, the latter of which was also brought up in Discord recently.

@jedevc jedevc Apr 11, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, on reflection this is a pretty big issue. With v0.11.0, there's actually no way to have only traces sent to cloud, there's only one token for everything. So the options are:

  • Upgrade to v0.11.0, no cloud traces for us
  • Skip upgrading to v0.11.0, and upgrade when we fix this

This feels like something we should resolve in v0.11.1 - will spin out an issue. #7079

Comment thread .github/workflows/_hack_make.yml Outdated

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.

Suggested change
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICIwYzhmMGY2Yy00YjY1LTRhODktYTI0YS0yN2NjNWNhNzNmNTcifQ.Em92UDP-KmcNd80Y-euTS2IrRkIE8qTisP3SXYkQi3c"
DAGGER_CLOUD_TOKEN: "p.eyJ1IjogIjFiZjEwMmRjLWYyZmQtNDVhNi1iNzM1LTgxNzI1NGFkZDU2ZiIsICJpZCI6ICIwYzhmMGY2Yy00YjY1LTRhODktYTI0YS0yN2NjNWNhNzNmNTcifQ.Em92UDP-KmcNd80Y-euTS2IrRkIE8qTisP3SXYkQi3c"

jedevc added 3 commits April 11, 2024 15:52
Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the improve-releasing-during-v0.11.0 branch from 93bd8a4 to 3594bc8 Compare April 11, 2024 14:58
@jedevc
jedevc merged commit ac1da9e into dagger:main Apr 11, 2024
@jedevc
jedevc deleted the improve-releasing-during-v0.11.0 branch April 11, 2024 16:30
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.

3 participants