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
My current project uses Cypress with a monorepo and we have enabled debug for seeing debug output from other actions such as @cypress-io/github-action. However, the cypress action additionally tries to cache your npm/yarn folder. In this case you will see the contents of all the files in all your node_modules as part of your test output. In our case this is close to 100k of additional lines that slow down the GH action result viewer. It would be nice if the call to listTar was controllable through another flag in addition to core.isDebug so we could avoid this.
To Reproduce
Steps to reproduce the behavior:
Create a node.js monorepo and add a large amount of node_modules dependencies
Add cypress tests
Setup the @cypress-io/github-action plugin for your repo
Enable debugging by creating a secret called ACTIONS_STEP_DEBUG with the value true
Trigger a test run
Check the output in GH
Expected behavior
Every file in node_modules should not be shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: any
Browser: any
Version: @actions/cache@1.0.6
Smartphone (please complete the following information):
Device: any
OS: any
Browser any
Version any
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hey @sgronblo , I understand the pain here, but we are unlikely to add individual outputting debug tuning on functions in the toolkit in the near future.
If your issue is relevant to this repository, please include the information below:
Describe the bug
Maybe could be considered a feature request as well. As stated in the title, a recent change to
@actions/cache
added a call tolistTar
in casecore.isDebug()
is true. This change can be seen here: bfdba95#diff-34e72845d1658a8a9b9fdfe6b5b9261952e7f0496a0a3fcec87dae722718a64aR171My current project uses Cypress with a monorepo and we have enabled debug for seeing debug output from other actions such as
@cypress-io/github-action
. However, the cypress action additionally tries to cache your npm/yarn folder. In this case you will see the contents of all the files in all your node_modules as part of your test output. In our case this is close to 100k of additional lines that slow down the GH action result viewer. It would be nice if the call tolistTar
was controllable through another flag in addition to core.isDebug so we could avoid this.To Reproduce
Steps to reproduce the behavior:
ACTIONS_STEP_DEBUG
with the value trueExpected behavior
Every file in node_modules should not be shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: