| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Since we download trap caches in the init Action, do we need to add await checkForTimeout(); to its entrypoint to prevent things hanging?
Sorry, something went wrong.
Indeed we do, good point. I've amended the PR to do this. |
Sorry, something went wrong.
#### Details The codeql action has been timing out in our CI consistently since this weekend. It appears that it's the same issue described in the description of github/codeql-action#1373, so since the work around implemented in that PR has not yet been released, I'm working around it here by just temporarily disabling trap caching. ##### Motivation Work around codeql timeouts #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [n/a] Addresses an existing issue: #0000 - [n/a] Ran `yarn null:autoadd` - [n/a] Ran `yarn fastpass` - [n/a] Added/updated relevant unit test(s) (and ran `yarn test`) - [n/a] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS
| Back | FazBrowse Home | New Git URL |
Looking at our telemetry, I found a run where the download timeout provided by the Actions library didn't do what we expect. In particular, looking at the timestamps shows that while the downloading happened quickly, the check to see if the key was present in the cache took over 15 minutes (much longer than our 2 minute timeout). Clearly, this is problematic. While it isn't a widespread problem as far as I can see in our telemetry, an outage in the Actions cache could cause this to break all CodeQL runs which is not good.
Let's use our workaround that wraps the entire call in a timeout here too like we already do for uploading.
Merge / deployment checklist