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

Look through platform alias' from current release when evaluating pre… #1523

Merged
merged 1 commit into from Sep 28, 2020

Conversation

bhearsum
Copy link
Contributor

…vious releases for a partial update eligibility

Ideally, we'd fix the client submit alias' for dated blobs, but that's a
much trickier fix, and probably not a worthwhile one given that after we
complete nightly shippable/release convergence work, that code will just
go away.

In theory, this fix could cause us to attempt to serve a partial that's
not valid for a request. This can only happen if we change the meaning a
build target at some point (so that the alias' from the current blob
don't match expectations of the earlier versions). This has never
happened in my time here -- we always add a new build target instead. If
this does happen at some point, the failure mode would be the partial
failing to apply...so I think it's an OK risk to take here.

@bhearsum
Copy link
Contributor Author

…vious releases for a partial update eligibility

Ideally, we'd fix the client submit alias' for dated blobs, but that's a
much trickier fix, and probably not a worthwhile one given that after we
complete nightly shippable/release convergence work, that code will just
go away.

In theory, this fix could cause us to attempt to serve a partial that's
not valid for a request. This can only happen if we change the meaning a
build target at some point (so that the alias' from the current blob
don't match expectations of the earlier versions). This has never
happened in my time here -- we always add a new build target instead. If
this does happen at some point, the failure mode would be the partial
failing to apply...so I think it's an OK risk to take here.
Copy link
Contributor

@escapewindow escapewindow left a comment

Choose a reason for hiding this comment

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

Nice, thanks for adding the test!

@bhearsum bhearsum merged commit 128f2fd into mozilla-releng:main Sep 28, 2020
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.

None yet

2 participants