fix: Do not fail on nil error #87
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind
Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo/act!87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vpotyarkin/act:fix/nil-error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Commit
92ddcdae09has introduced a regression due to which copyDir() would fail after closing the archive successfully. We should not do that.I've encountered this bug in Forgejo Runner, so I'm sending the PR here. Feel free to forward upstream.
Troubleshooting this bug has been made difficult by an unhelpful
<nil>message in logs:Would you accept another PR where I'd change all bare
log.Error(err)calls tolog.Errorf("helpful context message: %v", err)?feel free to send improvements for logging in separate PRs
cascading-pr updated at forgejo/runner#402
--use-new-action-cacheto avoid race conditions #420