chore: add wrangler logs to console output on deploy errors#80
chore: add wrangler logs to console output on deploy errors#80mcnulty-fp wants to merge 5 commits into
Conversation
- Update the `wranglerDeploy` and `wranglerDelete` functions to search the output from wrangler for its log file on failure and if the log file exists, read it and log it so it shows up in the workflow logs. This will help troubleshoot transient wrangler deploy issues.
|
Coverage report
Test suite run success303 tests passing in 87 suites. Report generated by 🧪jest coverage report action from ec00930 Show full coverage report
|
| } else { | ||
| if (stdout) { | ||
| if (stdout.includes('This Worker does not exist on your account')) { | ||
| if (ignoreWorkerNotFound && stdout.includes('This Worker does not exist on your account')) { |
There was a problem hiding this comment.
nit: could you elaborate what ignoreWorkerNotFound does? It is not clear to me what "ignore" means. What happens when it is passed as true, as opposed to false? 1-2 sentences as a comment could help
d29b7f6
pnpm exec changesetto create a changeset. |
wranglerDeployandwranglerDeletefunctions to search the output from wrangler for its log file on failure and if the log file exists, read it and log it so it shows up in the workflow logs. This will help troubleshoot transient wrangler deploy issues.