Skip to content

Revert "Revert "Pin SHAs for container images"" #113598

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025

Conversation

MichalStrehovsky
Copy link
Member

Reverts #113248

@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 17, 2025
@MichalStrehovsky
Copy link
Member Author

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@am11
Copy link
Member

am11 commented Mar 17, 2025

Perhaps only pin arm32 sparing other (high-priority) archs?

@richlander
Copy link
Member

richlander commented Mar 17, 2025

If we are in a rush and need to doc that NAOT Arm32 is broken for Preview 3, that's OK.

I assume we missed this because we did not run runtime-nativeaot-outerloop. Should we do that next time for this type of change? Or is this after the fact approach the best general model?

@am11
Copy link
Member

am11 commented Mar 17, 2025

This discussion also seems to be fitting the timeline dotnet/sdk#47580 (comment), hard to say for sure without coredump from SDK CI. I think we can merge this and monitor it for a few days if it's limited to arm32 or x64 was also affected by this.

cc @ViktorHofer

@ViktorHofer
Copy link
Member

@MichalStrehovsky we are going to snap P3 today. Should this be included? If this is the reason for the recent crashes in dotnet/sdk#47580 (comment), it would be good to include this one in P3.

cc @carlossanlop

@MichalStrehovsky
Copy link
Member Author

@MichalStrehovsky we are going to snap P3 today. Should this be included? If this is the reason for the recent crashes in dotnet/sdk#47580 (comment), it would be good to include this one in P3.

I wasn't involved in the toolset update. Only submitted this to validate the update broke native AOT Linux ARM. Hard to say if x64 is related. This was the kind of change that could affect anything and it's better to do those well before various cutoffs. I'll leave this open if someone wants to sign off and merge before cutoff, but I'll be in bed soon.

@ViktorHofer ViktorHofer marked this pull request as ready for review March 17, 2025 21:24
@Copilot Copilot AI review requested due to automatic review settings March 17, 2025 21:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR reverts an earlier revert to reintroduce pinned SHA values for container images in the pipeline, ensuring image immutability and consistency.

  • Re-applies SHA pinning to container images across various architectures.
  • Restores the intended configuration of container images for improved reliability.

@ViktorHofer
Copy link
Member

ViktorHofer commented Mar 17, 2025

I'm also logging off now. @carlossanlop @jeffschwMSFT can you please try to get this into main before we snap?

@steveisok
Copy link
Member

/ba-g Merging to unblock native aot linux arm

@steveisok steveisok merged commit afc3e25 into main Mar 17, 2025
161 of 171 checks passed
@agocke agocke deleted the revert-113248-revert-113185-shaken branch March 17, 2025 21:52
@jkotas
Copy link
Member

jkotas commented Mar 17, 2025

I assume we missed this because we did not run runtime-nativeaot-outerloop. Should we do that next time for this type of change? Or is this after the fact approach the best general model?

It is the best general model. We have tiered testing system. We accept that some small percentage of PRs is going to cause unexpected breaks and will need to be reverted. There are many outerloop or out-of-repo tests, and it is not practical to run all of them before merging a PR.

We should run runtime-nativeaot-outerloop for next attempt to get this in.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants