Skip to content

Make bundling webcs fail if there are major errors #5629

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

Merged
merged 2 commits into from
Jul 17, 2025
Merged

Conversation

zebreus
Copy link
Contributor

@zebreus zebreus commented Jul 10, 2025

The current behaviour silently omits fs entries from a webc if there is a problem reading that directory and strictness is set to loose. However, an I/O error when reading a directory is a critical error and should be reported to the user. This PR changes the behaviour to abort and report that error to the user. That behaviour mirrors the behaviour when including a single file.

Copy link

promptless bot commented Jul 10, 2025

✅ No documentation updates required.

@zebreus zebreus requested a review from Arshia001 July 10, 2025 16:29
@zebreus zebreus force-pushed the fix-webc-gitignore branch from 5c0bcd7 to 093cd11 Compare July 10, 2025 16:31
Copy link
Member

@syrusakbary syrusakbary left a comment

Choose a reason for hiding this comment

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

Only missing a test

@zebreus zebreus requested review from syrusakbary and removed request for Arshia001 July 11, 2025 15:23
@zebreus zebreus enabled auto-merge July 11, 2025 15:24
@zebreus zebreus merged commit 97fea04 into main Jul 17, 2025
81 of 84 checks passed
@zebreus zebreus deleted the fix-webc-gitignore branch July 17, 2025 07:55
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