-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Feature] The excavator GitHub action run does not report error if something fails to update #4863
Comments
The current behavior is intentional. Given the immensely dynamic nature of webpages that checkver scrapes, the chance of failure, even if you have something like 4-5 manifests, is quite high. Bucket maintainers would see a lot of runs failed as a result. |
I figured so. That's why I put this as feature request. The app count in many self maintained buckets are quite manageable (I have one myself), and they usually have very few maintainers. Errors like this could go undetected for long time if they don't get notification. I have no experience at working on github action, but if you think adding an option to turn on error reporting a good idea, I could try a pull request. |
An optional, off by default setting should be good. |
That's my intention. |
The PR consists of two parts: |
Bug Report
Current Behavior
Take a look at the "Excavate" step of this GitHub Action run: https://github.com/ScoopInstaller/Extras/runs/5963485483. There are plenty of errors that some apps fail to update. However, the whole run completed successfully. If no one notices these hidden errors, some apps may never get auto updated. This is not big problem of large repo like Scoop/Extras, but could be for people that maintain personal bucket.
Expected Behavior
If the current behavior is expected, that for some reason you guys don't want error from the action run, please provide an option so that personal bucket maintainers can get notification when action fails.
Additional context/output
Not sure if this issue belongs here or https://github.com/ScoopInstaller/GithubActions.
Possible Solution
Is this because https://github.com/ScoopInstaller/GithubActions/blob/main/src/ActionWrapper.psm1
Invoke-Action
does not propagate the error from autoupdate.ps1?System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 7.2.2
Scoop Configuration
The text was updated successfully, but these errors were encountered: