mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #2481] upload-artifact@v4 fails in Codespace with ERRO[0009] #1144
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1144
Loading…
Add table
Add a link
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?
Originally created by @gblikas on GitHub (Oct 8, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2481
Bug report info
Command used with act
Describe issue
When using https://github.com/actions/upload-artifact's v4 step, within my Github Codespace,
I get the following error:
I haven't tried it with v3, as that will be quickly depricated, and I've verified that
gh auth tokenis the same as$GITHUB_CODESPACE_TOKEN.-vprovides no better output.What's more interesting is the fact that the artifact uploads, however, the step doesn't complete successfully - that is,./artifactscontains the target output, but the step still fails.I have verified that the same code runs fine when locally run on my machine using the same
actcommand (below).Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
Perhaps this has to do with firewall issues, https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github, however that doesn't appear to be the case because the actual upload looks like it works fine.
@gblikas commented on GitHub (Oct 9, 2024):
edit the artifact that is uploaded is broken, i.e. doesn't unzip due to some file formatting error or corruption.
@gblikas commented on GitHub (Oct 14, 2024):
@ChristopherHX any links to related issues or comments on this?
@ChristopherHX commented on GitHub (Oct 15, 2024):
No this ticket is the first one of this kind of error
The "Uploading artifact zip to blob storage" signed url has been altered or expired.
artifact v4 go > verifySignature failed.
Make a breakpoint there to see why it fails, this code has been written by me for Gitea Actions in first place and therefore doesn't provide any hint why the signature became invalid.
Ofcouse you can make verifySignature never return an error and see if it works in codespaces.
Artifacts in act are low priority items for me they usually still land on my backlog after some months/weeks, github-act-runner that uses act for my purposes uses official GitHub Actions Artifact Services
@gblikas commented on GitHub (Oct 15, 2024):
@ChristopherHX I have no idea what this means in the context of using the
actcli tool. I'm unsure how I would setup a breakpoint. Do you have links on how to do so?@ChristopherHX commented on GitHub (Oct 15, 2024):
No, this goes into making breakpoints in golang development of .go source code.
I have written another tool with an artifact v4 server implementation as well, it's called
Runner.Serverand a similar cli tool. However I don't remember to have tried artifacts v4 in codespacesI'm putting more resources into my projects where I'm an owner, here with less rights and no sponsoring. I'm practically working almost alone as well with more stones in my way.
@gblikas commented on GitHub (Oct 15, 2024):
@ChristopherHX Sorry to hear that :(
I'll noodle with this and see where I get. Can we keep this issue open for longer-term? I'm using codespaces almost exclusively and that produces its own weirdness with github action, haha.
@ChristopherHX commented on GitHub (Oct 15, 2024):
Yes, but I promise nothing. The wild stale bot might try to close this
There is an other artifact v4 defect fix planned soon per my backlog, however not this one
@gblikas commented on GitHub (Oct 30, 2024):
So, somehow this has resolved itself... Not sure what happened but now I don't receive this error... I'm still using
ubuntu-latest...@ChristopherHX Closing until this appears again - I wont try regression testing until the problem appears or someone comments.