fix: fail jobs, steps if expression interpolation fails #1646
No reviewers
Labels
No labels
FreeBSD
Kind/Breaking
Kind/Bug
Kind/Chore
Kind/DependencyUpdate
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
Windows
linux-powerpc64le
linux-riscv64
linux-s390x
run-end-to-end-tests
run-forgejo-tests
run-multi-platform-tests
No milestone
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo/runner!1646
Loading…
Reference in a new issue
No description provided.
Delete branch "aahlenst/runner:expression-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?
Forgejo Runner supports expressions in workflows, for example,
format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat'). If Forgejo Runner encounters an invalid expression, it logs an error, but otherwise progresses as if nothing had happened. That can cause unpredictable or even unwanted results. This change turns invalid expressions into a hard error that stops normal execution and fails the respective step.Resolves #1596.
cascading-pr updated at actions/setup-forgejo#1058
e4fb563cec46f6e5ca31cascading-pr updated at actions/setup-forgejo#1058
46f6e5ca31b776bbd5e7cascading-pr updated at actions/setup-forgejo#1058
b776bbd5e7f77f54dd1acascading-pr updated at actions/setup-forgejo#1058
WIP: fix: fail jobs, steps if expression interpolation failsto fix: fail jobs, steps if expression interpolation failsPainful work! But it looks great to me, and very thoughtful work in specific areas like secret management.
I've run this development branch against a few test systems and have not encountered any problems. Plus end-to-end tests without any failure, and very few test changes required here... it seems to build a lot of confidence that it's going to be generally low impact. 👍
Thank you!
Thanks a lot for performing additional tests!