Skip to content
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

Helix-Machines deployment parameter hash is insufficient #4157

Open
3 tasks
chcosta opened this issue Sep 23, 2024 · 1 comment
Open
3 tasks

Helix-Machines deployment parameter hash is insufficient #4157

chcosta opened this issue Sep 23, 2024 · 1 comment
Labels
Needs Triage A new issue that needs to be associated with an epic.

Comments

@chcosta
Copy link
Member

chcosta commented Sep 23, 2024

During deployments, we calculate a hash of deployment parameters which we use to determine whether anything has changed in an image definition (definitions/shared/*). That code piece appears to have decayed a bit and not been kept up to date as the schema for our definitions is modified. We should either take a pass and update the code, or refactor it to automatedly determine / compare parameter values.

Deployment parameter hash function: https://dev.azure.com/dnceng/internal/_git/dotnet-helix-machines?path=/src/DeployQueues/QueueManager.cs&version=GCa27e0dbf09977a1b51b56ae775aabf1d272ea5a0&line=873&lineEnd=903&lineStartColumn=1&lineEndColumn=1&lineStyle=plain&_a=contents

Related issue: #4156

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

@dougbu
Copy link
Member

dougbu commented Oct 1, 2024

IIRC bits are missing from the hash b/c the returned information lacks the necessary information. do you have an example of something that is returned but is ignored in the hash calculation❓

@dougbu dougbu added the Needs Triage A new issue that needs to be associated with an epic. label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage A new issue that needs to be associated with an epic.
Projects
None yet
Development

No branches or pull requests

2 participants