Skip to content

add tvc image validation during deploys#117

Merged
annieke merged 2 commits intomainfrom
annie/add-tvc-image-validation
Apr 9, 2026
Merged

add tvc image validation during deploys#117
annieke merged 2 commits intomainfrom
annie/add-tvc-image-validation

Conversation

@annieke
Copy link
Copy Markdown
Contributor

@annieke annieke commented Apr 7, 2026

This PR adds

  • a call to the validation endpoint when creating a new deploy
  • creating a deploy with a hashlocked container URL, if the one provided wasn't hashlocked
  • newly synced protos for this release
  • some linting fix that wasn't already in

@annieke annieke marked this pull request as ready for review April 7, 2026 21:06
&validate_image_response.resolved_image_digest,
);

if pinned_image_url != deploy_config.pivot_container_image_url {
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.

what is the purpose of doing this extra work to ensure the image URL is hash pinned? Is it to help ensure the pivot hash resolves correctly?

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.

TVC requires hashpinned image URLs (or deploys fail), so we're soft-enforcing it in the frontend and here

Copy link
Copy Markdown
Contributor

@emostov emostov left a comment

Choose a reason for hiding this comment

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

🚢

@annieke annieke merged commit b312d6e into main Apr 9, 2026
3 checks passed
@annieke annieke deleted the annie/add-tvc-image-validation branch April 9, 2026 16:42
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