fix: compatiblity with oci/node:24-trixie image #58
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
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 assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
actions/cascading-pr!58
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-trixie"
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?
Cascading with the
node:24-trixieimage is currently broken with errors like this:The cause of this is the unconditional usage of
HEADER_TOKEN="-H @$DOT_FORGEJO_CURL/header-token". If theheader-tokenfile isn't present because thelogincommand hasn't been executed yet, then all access toapifails with thiscurlerror. This seems to be a behaviour change in curl between bookworm -> trixie ---H @somefilewill fail rather than result in zero headers if the file is missing.It's probably possible to fix this by changing the time that cascade performs the login, but a conditional check on whether the file is present or not before including the
-Hparameter seems like a safe and simple approach.Partially tested in an offline environment, and it gets past the current error point -- haven't been able to fully test end-to-end due to the complexity of environmental setup required for cascade.