Skip to content

Propagate package/team/codeowner file errors rather than fail silently - #90

Merged
martinemde merged 1 commit into
mainfrom
martinemde/pttyrswzonym
Dec 16, 2025
Merged

Propagate package/team/codeowner file errors rather than fail silently#90
martinemde merged 1 commit into
mainfrom
martinemde/pttyrswzonym

Conversation

@martinemde

@martinemdemartinemde commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

All the errors that are being converted to warnings (that are being silently ignored) are errors that should interrupt, like unparseable package.yml and file read errors. The UI wasn't displaying the warnings or the errors, so they were just getting ignored. This is precedes #85 which was unable to produce any visible errors because errors from that part of the code were not configured to be printed in any UI.

@martinemde
martinemdeforce-pushed the martinemde/pttyrswzonym branch from 6f81fa0 to ec41dd2CompareDecember 15, 2025 21:43

@helloswetahellosweta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Seems reasonable. Can you remind me what inspired this change? Any considerations around how we want to roll out for folks who will now potentially see new errors?

}
let file_name = relative_path.file_name().ok_or_else(|| {
error_stack::report!(Error::Io)
.attach_printable(format!("Vendored gem path has no file name: {}", relative_path.display()))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@martinemde
martinemde merged commit aaeb39a into mainDec 16, 2025
8 checks passed
@github-project-automationgithub-project-automationBot moved this from Triage to Done in ModularityDec 16, 2025
@martinemde
martinemde deleted the martinemde/pttyrswzonym branch December 16, 2025 23:32
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@martinemde@hellosweta