Failure to cleanup caches
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github-actions, julia, typescript
- Domain
- ci-cd
Research direction
Start at src/post.js around line 109 and inspect how GITHUB_ACTION_PATH is used when this action is called through a reusable workflow and another action. Reproduce the post-run cleanup, then verify that handle_caches.jl is found and old caches are removed without the missing-file warning.
Written by the indexing model from the issue text.
Description
I setup a reusable workflow calling an action, which in turn calls this cache action. The post run step produces the following warning and fails to clean up caches:
Cache saved successfully
Running Pkg.gc() and cleaning up old caches...
.../julia/1.12.6/x64/bin/julia .../my_actions/v0.21.0/my_action/handle_caches.jl rm org/PackageName.jl julia_workspace;os=Linux; refs/pull/42/merge true
ERROR: SystemError: opening file ".../my_actions/v0.21.0/my_action/handle_caches.jl": No such file or directory
Stacktrace:
[1] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[2] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:317
[3] _start()
@ Base ./client.jl:550
Warning: Failed to delete old caches: The process '.../julia/1.12.6/x64/bin/julia' failed with exit code 1
This is the buggy source code, which falsely assumes that GITHUB_ACTION_PATH points to this repository: https://github.com/julia-actions/cache/blob/3d16c7ad4a80a5895845e02494b69b00bd9da138/src/post.js#L109.
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 17
- Avg merge
- 9d 18h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from julia-actions/cache
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
julia-actions/cache#230 · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
julia-actions/cache#221 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
julia-actions/cache#203 · 9 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
julia-actions/cache#163 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
julia-actions/cache#161 · 3 comments ·
All issues in julia-actions/cache
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100