Urgent.News

What's breaking now, across thousands of outlets.

Tech

GitHub Actions cache: keys, scopes and the limits that decide a hit

A GitHub Actions cache is a keyed, immutable archive scoped to one repository, capped at 10 GB by default and removed after 7 days without a read. Almost everything people call a caching bug is one of those four words arriving without a log line to announce it. The lookup order and the three limits, from docs.github.com and the actions/cache source, both read on 2026-09-20. Caching in Actions is…

A GitHub Actions cache is a keyed, immutable archive that is scoped to a single repository, with a default size limit of 10 GB and an expiration of 7 days without a read. Cache misses are not errors; instead, the step prints a line, exits with a zero status, and hands over the installation files.

The lookup process first attempts to use the exact provided key, and if it cannot find it, it tries the restore-keys listed in the order they were provided, treating each as a prefix. The most recently matching entry is then restored, and the cache-hit flag is set to false, triggering a save step that writes a fresh entry under the exact key.

Each cache entry is an archive stored against an exact string, which means even a single character difference results in a complete miss. This design is why caching is a significant speed-up for most pipelines, but also the quietest way to experience delays when keys are not designed properly.

The key must include every input that changes what ends up in the cached directory. If an input changes but the key remains the same, the new content is never stored, and the next run will restore the old content forever. This design rule emphasizes that every input affecting the cached directory should be included in the key.

Using an artifact as a cache works, but it costs additional storage space. On the other hand, using a cache as durable storage is unreliable, as caches are evicted when they reach the 10 GB limit or after 7 days of inactivity. Therefore, it is essential to understand the distinction between caches and artifacts and use them appropriately in GitHub Actions workflows.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

OKF Agent Memory: agent memory as plain Markdown files

OKF Agent Memory Every agent session starts from zero, and the decisions from last week are lost unless someone wrote them down in the right place.

  • OKF Agent Memory stores knowledge as plain Markdown files
  • Memory entries indicate agent or human authorship
  • System achieves sub-300 microsecond search response

How to Get Keyword Suggestions from Google, YouTube and Amazon Autocomplete

How to Get Keyword Suggestions from Google, YouTube and Amazon Autocomplete Autocomplete is one of the few remaining public windows into what people actually type.

  • Google, YouTube, Amazon autocomplete provide keyword suggestions for SEO and app store optimization.
  • Apify's Keyword Suggestion Tool queries these autocomplete suggestions in bulk via API.

codecov/codecov-action failed to properly upload report on v4

codecov/codecov-action failed to properly upload report is the third of three near-identical sentences the v4 action can print, and the one it prints tells you how far the run got before something…

  • Codecov action failed to upload report during v4
  • Failure message indicates upload process issue
  • Error suggests rejected token, refused report, or incomplete transfer

More from Sunday 15 November →