bug: "no space after hash" error when cloning sha256 action repository #1196
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
forgejo/runner#1196
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Description
Trying to download a sha256 action repository (e.g. https://code.forgejo.org/msrd0/checkout) produces the following error in the "Set up Job" step:
Forgejo Version
whatever codeberg is using
Runner Version
12.1.0
How are you running Forgejo?
whatever codeberg is using
How are you running the Runner?
I tried two different runners. First is installed on an AlpineLinux 3.20 amd64 host inside the official docker container. Second is installed directly on an AlpineLinux 3.22 aarch64 host. Both produced the exact same error.
Logs
No response
Workflow file
No response
Related to the checkout bug actions/checkout fails on git repos that use SHA256
@limiting-factor I don't believe they are related. Since the checkout action itself is an action that needs to be downloaded by the runner, I would be very surprised if the runner used the checkout action to check out action repositories. And I am not using the github checkout action or any fork of it (because I know it is broken for sha256).
My comment was off topic.
The runner uses go-git so https://github.com/go-git/go-git/issues/706 is related.
Agreed w/ @limiting-factor -- this is blocked on either upstream support for go-git, or removing the usage of go-git.
As runner now has a runtime requirement for a local git installation, it's quite possible to continue removing the usage. This isn't in my personal immediate plans, but I'd help support anyone else interested in the work.
bug: "no space after hash" error when cloning action repositoryto bug: "no space after hash" error when cloning sha256 action repositoryShould be fixed with #1255. It's part of Forgejo Runner 12.5.0.