• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 46021191604
51%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2026 03:04PM UTC
Jobs 1
Files 338
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Nov 2026 03:01PM UTC coverage: 51.415%. Remained the same
46021191604

push

github

web-flow
Delete the Actions caches of a pull request when it closes (#4644)

* Delete the Actions caches of a pull request when it closes

The cache key of setup-node includes the lockfile hash, and a pull request runs on a merge ref that changes with the base, so almost every run created a new 197 MB Yarn cache that nothing else can read: 47 of the 58 caches of the frontend, 9.2 GB of the 10 GB limit, belonged to pull request refs, and pushed out the caches of master. The workflow deletes the caches of a pull request when it closes. No checkout, no third-party action.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Remove a wrong cross-reference from the header comment

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Cache cleanup: fail visibly, wait for running CI, also run for conflicting PRs

Review findings. (1) || true made a failed cleanup look like a success: every cache is still deleted, and the step fails at the end if a deletion failed. (2) A run of the pull request that is still going saves its cache after the cleanup, with nothing left to remove it: the job waits (up to 20 minutes) until the other runs of the PR commit are done. (3) pull_request workflows do not run for a pull request with merge conflicts, which is the kind that is closed unmerged: the trigger is pull_request_target (nothing is checked out, no PR code runs, only the number and the head commit are used), which also removes the need to skip forks. The shell logic was tested with a stub gh.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

2125 of 4659 branches covered (45.61%)

Branch coverage included in aggregate %.

4906 of 9016 relevant lines covered (54.41%)

20.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46021191604.1 27 Nov 2026 03:04PM UTC 338
51.41
GitHub Action Run
Source Files on build 46021191604
  • Tree
  • List 338
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • fc62cb00 on github
  • Prev Build on master (#46007535222)
  • Next Build on master (#46032210168)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc