Skip to content

ci: java-same-base and gradle-home caches save near-duplicate entries (sibling of #4847) #4968

Closed

Description

@squid-protocol

Sibling of #4847 (Actions cache item; PR #4966 normalized the pip keys and added a nightly prune).

Class: Actions cache key families that create many near-duplicate entries.

family entries (2026-10-12) state
pip (setup-python) was 15 Linux py3.12 fixed by #4966 (one hash-only key)
java-same-base-* 13-14 copies per corpus gap: key varies per run/branch; prune only removes them by age
gradle-home-v2 64 entries gap: same
pip in smoke-test.yml, mainframe-ground-truth.yml 2 workflows protected (#4935), exempt in test_cache_keys.py

Ask: make the java-same-base and gradle-home keys hash-only (inputs, no run/sha component) or restore-only on PR refs, so one entry per input set is saved; extend test_cache_keys.py to pin them.

Acceptance: after a week of nightly runs, each of those families has at most one main entry per input set; test pins the key shapes.

Siblings: #4847, #4966

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    ci-cd
    priority: low
    on Oct 12, 2026
  2. squid-protocol commented on Oct 13, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #5024 (mainframe-corpora per-PR saves; the one member PR #5022 doesn't cover).

  3. added
    scope:infra
    on Oct 16, 2026
  4. added a commit that references this issue on Oct 22, 2026
    d2d9342
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdenhancementpriority: lowscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions