You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Saving cache hangs up the node process causing a 2min slowdown. This is related to nodejs/node#47228. This has caused many Github actions to manually call process.exit() to prevent this slow down. Which I think is bad and can cause unexpected bugs to happen in future.
To Reproduce
Steps to reproduce the behavior:
Call saveCache in your action with Node 20 runtime
import*ascorefrom'@actions/core'import*ascachefrom'@actions/cache'
async functionrun(): Promise<void>{try{awaitcache.saveCache(".cache","cache-bug")}catch(error: any){// Show fail error if there is any errorcore.error(error)core.setFailed(error.message)}}run()
Expected behavior
The Node process shouldn't hang up and cause slow down.
The text was updated successfully, but these errors were encountered:
Describe the bug
Saving cache hangs up the node process causing a 2min slowdown. This is related to nodejs/node#47228. This has caused many Github actions to manually call
process.exit()
to prevent this slow down. Which I think is bad and can cause unexpected bugs to happen in future.To Reproduce
Steps to reproduce the behavior:
saveCache
in your action with Node 20 runtimeExpected behavior
The Node process shouldn't hang up and cause slow down.
The text was updated successfully, but these errors were encountered: