Skip to content

[cache-strategy] Fix cache miss in Smoke Copilot #32203

@github-actions

Description

@github-actions

Cache Strategy Problem: Smoke Copilot

Severity: 🟠 High

Workflow: Smoke Copilot
Analysis Date: 2026-05-14
Issue Type: Cache miss / No persisted cache files


Problem Description

The last 24 hours show repeated cold starts for Smoke Copilot despite cache-memory being enabled. The workflow uses the expected run-specific key plus restore-key fallback pattern, so the key shape itself is not the problem; the actionable issue is that no useful cache state is being persisted for later runs.

Evidence

  • Miss streak: 4 cache-memory runs observed today with misses
  • Miss rate (14d): 100% in the available cache-strategy history
  • Last cache hit: never recorded in cache-strategy history
  • Log signals: 2026-05-14T17:18:40.2699043Z Cache not found for input keys: memory-approved-a3cea483-smokecopilot-25874070393, memory-approved-a3cea483-smokecopilot-
Recent Run Evidence
Run Cache Result Signal
§25863489292 miss 2026-05-14T13:51:51.1612924Z Cache not found for input keys: memory-approved-a3cea483-smokecopilot-25863489292, memory-approved-a3cea483-smokecopilot-
§25863982738 miss 2026-05-14T13:56:08.0396042Z Cache not found for input keys: memory-approved-a3cea483-smokecopilot-25863982738, memory-approved-a3cea483-smokecopilot-
§25864876838 miss 2026-05-14T14:21:34.1683771Z Cache not found for input keys: memory-approved-a3cea483-smokecopilot-25864876838, memory-approved-a3cea483-smokecopilot-
§25874070393 miss 2026-05-14T17:18:40.2699043Z Cache not found for input keys: memory-approved-a3cea483-smokecopilot-25874070393, memory-approved-a3cea483-smokecopilot-

Recommended Fix

  1. Persist meaningful state or disable cache-memory — If Smoke Copilot does not need cross-run memory, remove cache-memory from the workflow so it stops paying cache setup/restore overhead. If it does need memory, write structured state under /tmp/gh-aw/cache-memory/<workflow>/ before the agent exits.
  2. Keep the restore-key fallback — The observed key pattern includes a stable restore-key fallback, which is the valid last-write-wins design. Do not replace it with a run-specific key that lacks restore-keys.
  3. Add a lightweight verification step — After the agent runs, verify that /tmp/gh-aw/cache-memory/ contains at least one useful file before uploading the cache-memory artifact.

Expected Impact

Fixing this should prevent repeated cold starts for this smoke workflow and reduce cache setup overhead and repeated work on future runs.

References: §25863982738, §25864876838, §25874070393

Generated by Daily Cache Strategy Analyzer ·

  • expires on May 21, 2026, 7:12 PM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions