Skip to content

ci: mirror pinned provider test images - #11356

Draft
ReubenBond wants to merge 3 commits into
dotnet:mainfrom
ReubenBond:rb-fix-consul-ecr-failures
Draft

ReubenBond wants to merge 3 commits into
dotnet:mainfrom
ReubenBond:rb-fix-consul-ecr-failures

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Problem

Fresh CI runners independently pull provider test images. Registry outages and rate limits can fail a provider job before any tests run; mutable tags can also select different image contents across runs. The Consul-specific ECR failure is addressed separately by the merged #11366, which uses a pinned Google cache with Docker Hub fallback.

Solution

  • Pin 11 redistributable images, including Ryuk and the Cassandra matrix versions, in one manifest. A trusted main publisher verifies their Linux/amd64 digests before copying to GHCR.
  • Prefer the pinned GHCR image in provider jobs; visibly fall back to the matching pinned upstream image with retries. Pass the image actually pulled to docker run or Testcontainers, and fail the job if both sources fail.
  • Preserve ci: pin Consul GCR mirror with Docker Hub fallback #11366's GCR-first Consul path unchanged. Retain MariaDB's Google/Docker Hub fallback, and pin official-only Redis and DynamoDB images. Event Hubs, Cosmos DB, and SQL Server remain at their official registries due to redistribution limits; Redis 8 requires source-redistribution compliance review before publication.

Rationale and activation

A registry mirror makes the same verified image content available across otherwise isolated runners. PR jobs receive no publisher credentials. After a human merges the PR, the main workflow publishes the package; an org package administrator must make ghcr.io/dotnet/orleans-ci-test-images public. Until then, an explicit warning marks the pinned-upstream fallback.

Copilot AI balanced review requested due to automatic review settings September 30, 2026 08:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The synchronized references resolve the reported ECR failure, and both CI pre-pull steps succeeded.

Review effort: Balanced
Findings: None

What changed in this PR

Moves Consul CI image pulls from ECR Public to Docker Hub while preserving reproducibility.

Changes:

  • Pins Consul 1.19 to a multi-platform digest.
  • Synchronizes workflow and Testcontainers image references.
File Description
.github/​workflows/​ci.yml Updates the pre-pulled Consul image.
test/​Extensions/​Orleans.Clustering.Consul.Tests/​ConsulTestUtils.cs Uses the same pinned image in the fixture.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI balanced review requested due to automatic review settings September 30, 2026 17:08
@ReubenBond ReubenBond changed the title ci(consul): avoid ECR pull data limits ci: mirror pinned Consul and Ryuk test images Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The mirror, fallback, digest verification, environment propagation, and self-contained tests are consistent and complete.

Review effort: Balanced
Findings: None

Copilot AI balanced review requested due to automatic review settings September 30, 2026 22:09
@ReubenBond ReubenBond changed the title ci: mirror pinned Consul and Ryuk test images ci: mirror redistributable test images Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The mirror is main-only, digest-verified, tested, and retains pinned upstream fallbacks.

Review effort: Balanced
Findings: None

Copilot AI balanced review requested due to automatic review settings September 30, 2026 22:36
@ReubenBond
ReubenBond force-pushed the rb-fix-consul-ecr-failures branch from 54def4f to 62bd794 Compare September 30, 2026 22:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The privileged image-publishing workflow and third-party redistribution choices require final human validation.

Review effort: Balanced
Findings: None

Copilot AI balanced review requested due to automatic review settings October 2, 2026 08:13
@ReubenBond
ReubenBond force-pushed the rb-fix-consul-ecr-failures branch from 62bd794 to 3fb4c62 Compare October 2, 2026 08:13
@ReubenBond ReubenBond changed the title ci: mirror redistributable test images ci: mirror pinned provider test images Oct 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The trusted package-publishing workflow, external digest pins, and post-merge GHCR activation require final human verification.

Review effort: Balanced
Findings: None

@ReubenBond
ReubenBond marked this pull request as draft October 2, 2026 22:58
@ReubenBond

Copy link
Copy Markdown
Member Author

#11399 upgrades the Consul test image from 1.19 to 1.22.7 so CI validates the existing Orleans :/@ silo keys against the fixed modern Consul key validation. When this PR rebases, please preserve #11399's Consul version and digest rather than restoring the 1.19 pin.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants