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

fix build-details view for pre-build errors, when another build set the default target #2683

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

syphar
Copy link
Member

@syphar syphar commented Dec 6, 2024

when looking at https://docs.rs/crate/defmt/0.3.9/builds/

we see that we can't access the older builds, even though that worked at some point.

Reason is that we correctly don't have a build log for these, because they failed before starting the build, but the fallback logic trying to use the default target, if given, lead to a "resource not found" error, while we can show the pre-build error instead of the log.

see also #2679

@syphar syphar requested a review from a team as a code owner December 6, 2024 06:20
@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Dec 6, 2024
@syphar syphar force-pushed the fix-build-details branch from 210e150 to 7c760fe Compare December 6, 2024 06:24
@syphar syphar force-pushed the fix-build-details branch from 7c760fe to 017469d Compare December 6, 2024 06:25
@syphar syphar merged commit 2963569 into rust-lang:master Dec 9, 2024
9 checks passed
@syphar syphar deleted the fix-build-details branch December 9, 2024 06:08
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Dec 9, 2024
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Dec 9, 2024
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