Unexpected errors without any logs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
What's going on
We've been experiencing this issue that's inconsistent but has been happening very frequently.
| Frequent failing workflow | Less frequent failing workflow |
|---|---|
I'd like to reiterate that there are no logs around that, absolutely nothing we could find that could point us to a root cause we can work on.
There are a few things we tried, though.
What we did so far
- We cleared GitHub Actions cache as it was 6 times the limit, surprisingly.
- We increased the timeout on the runner. It doesn't get to half of it.
I suppose I can't share a lot but I'll pick up as much as I can that I believe could help.
What we have
- Our runners are all
runs-on: ubuntu-22.04and its variations likeubuntu-22.04-16core. - A few other spots make use of
actions/cache/restoreandactions/cache/savesteps to handle cache, and that seems to work fine. - The job that fails frequently has
timeout-minutes: 30, and it doesn't get to half of it. The less frequent one hastimeout-minutes: 15, and it doesn't top that. - Not sure if that matters, but we have both Python and NodeJS cache definitions in the same job.
- Our Yarn cache is around 2.2GB last time I checked. Python one is around 41MB.
- The
withkey that was logged:
with:
path: ~/.cache/yarn/
key: Linux-yarn-<files hash>
save-always: true
enableCrossOsArchive: false
fail-on-cache-miss: false
lookup-only: false
Etc.
I think it's likely an issue with GHA or even our setup, but we ran out of options almost a month ago and have been struggling without an answer.
Appreciate any help in advance!
Contributor guide
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.
Research direction
Start by isolating the failing GitHub Actions workflows, comparing their ubuntu-22.04 runner configuration, timeout-minutes values, and cache steps. Review the actions/cache restore and save usage alongside the Yarn and Python cache settings; done means identifying a reproducible cause for the silent failure and documenting the evidence or a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, node.js, python, ubuntu
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100