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

Skip triggering device update checks for image env var POSTs of non-successful releases #1794

Closed
wants to merge 1 commit into from

Conversation

thgreasi
Copy link
Member

Change-type: patch

@thgreasi thgreasi force-pushed the image-env-var-device-update-trigger branch from d9153ed to a13ed02 Compare October 17, 2024 10:09
…ar POSTs of non-successful releases

Change-type: patch
@thgreasi thgreasi force-pushed the image-env-var-device-update-trigger branch from a13ed02 to abd32e8 Compare October 17, 2024 13:54
@thgreasi thgreasi requested a review from a team October 17, 2024 14:03
// with high planning time. The idea is that image env vars are created
// while the release is still 'running', in which case we don't expect
// any device to possibly be running that release.
const isPartOfSuccessfulRelease =
Copy link
Member Author

Choose a reason for hiding this comment

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

Someone could even argue that we could just never check for affected devices on image env var POSTs at all,
since if someone does end up doing image env var POSTs after the release gets finalized (which we don't expect), then the devices will anyway fetch them on their next scheduled state GET poll.

@thgreasi thgreasi marked this pull request as ready for review October 17, 2024 14:10
@thgreasi thgreasi marked this pull request as draft October 17, 2024 14:44
@thgreasi
Copy link
Member Author

#1796 might be a better approach

@thgreasi
Copy link
Member Author

Closing in favor of #1796

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.

1 participant