Skip to content

Db2 image: restore the pinned image from the Actions cache instead of pulling icr.io in every det shard (6 det failures 2026-10-16) #5262

Closed

Description

@squid-protocol

Sibling of #5048 (same class: CI network fetches that fail as if they were code). #5048's retry is in (equivalence_db2.pull_image: 4 attempts, 15/30/60 s backoff), but icr.io outages outlast it.

Evidence (2026-10-15/16, from flake_history + job logs)

Ask

Stop pulling icr.io in every shard. Keep the digest pin: only the same bytes may come back.

  • Preferred: actions/cache keyed on the pinned digest (e.g. db2-image-<sha256>). On a hit, load it (docker load of a docker save, compressed). On a miss, pull with the existing retry, then save the cache from main pushes/schedules only (a PR reads main's cache and never writes its own multi-GB copy). Check the image's compressed size against the 10 GB repo cache limit and the other caches it would evict.
  • If the cache is not workable, pull once per run in one job and hand it to the 4 shards. Compare its cost and wall time against the cache.
  • Do NOT mirror the image to GHCR or anywhere public: the Db2 Community image's license may not allow redistribution. That is an owner decision.
  • Same class, if the same mechanism fits: Muninn's Docker Hub pulls (5 passes on rerun, 0 failed again in 14 days).

Acceptance

  • A run with a warm cache makes no icr.io request (shown in the step log).
  • A cold or missed cache still works (pull plus retry), and the digest is verified after a load.
  • Measured before/after: the db2 shards' "Wait for the background Db2 start" time, and db2/det reruns per day on the squid-bot dashboard (new rerun tiles) or with python tests/tools/flake_history.py.

Not in scope

The per-test time ratchet trips on full-suite parts: every one was at the old 10 s edge before #5179 (15 s, or 2.5x baseline). Since then the only trip was test_the_sampled_plan_runs_part_3 (57.5 s), which is now slow-marked. Nothing to do there.

Workflow edits approved by the owner (2026-10-16, this request; #5048's 2026-10-14 approval covers this class).

Activity

  1. added a commit that references this issue on Oct 16, 2026
  2. added
    scope:infra
    on Oct 16, 2026
  3. added a commit that references this issue on Oct 22, 2026
    6857f34
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

    scope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions