Skip to content

test: build the integration tests' Debian from the image CI pre-pulls - #983

Closed
michaelzheng67 wants to merge 1 commit into
mainfrom
debian-ci-image
Closed

michaelzheng67 wants to merge 1 commit into
mainfrom
debian-ci-image

Conversation

@michaelzheng67

@michaelzheng67 michaelzheng67 commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

this patch looks to change the image source registry from mirror.gcr.io to public.ecr.aws due to the fact that CI already pre-pulls this image down for tst/data/claude_code_install/debian/Dockerfile so we can avoid 429 requests transiently failing on CI due to repeated image pulls.

How it was tested

image digests from both sources remain the same, CI successful on this PR is sanity check this is maintaining correctness

Confidence Score: 4/5RetriggerView in Greptile

Prepare Debian in the fast integration job, or keep its mirror references, before merging.

FindingsFix All in Cursor

  1. P1 Fast tests hit pull limits ▶
Fix with agent prompt
### Issue 1
tst/integration/task_step/test_run_container_result_files_local.py:22
The two changed task-step tests run in `integration-local`, which has no base-image pre-pull step. Only the slow and gateway jobs prepare the ECR name. If the fast runner lacks this Debian image, these tests now pull directly from public ECR and can fail on its documented shared-IP pull limits before reaching their assertions. Keep the mirror references for these tests, or prepare Debian in the fast job too.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Changes four integration-test Debian references from Google’s mirror to public ECR.

  • Integration tests now pull Debian from the same registry as CI.

Reviews (1) · Last reviewed commit: "test: build the integration tests' Debia..." · Reviewed by Greptile

@michaelzheng67

Copy link
Copy Markdown
Collaborator Author

@greptileai

pytestmark = pytest.mark.integration

IMAGE = "mirror.gcr.io/library/debian:bookworm-slim"
IMAGE = "public.ecr.aws/docker/library/debian:bookworm-slim"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Fast tests hit pull limits

The two changed task-step tests run in integration-local, which has no base-image pre-pull step. Only the slow and gateway jobs prepare the ECR name. If the fast runner lacks this Debian image, these tests now pull directly from public ECR and can fail on its documented shared-IP pull limits before reaching their assertions. Keep the mirror references for these tests, or prepare Debian in the fast job too.

Knowledge Base Used: Pull release image bases through the mirror before CI builds

Prompt To Fix With AI
This is a comment left during a code review.
Path: tst/integration/task_step/test_run_container_result_files_local.py
Line: 22

Comment:
**Fast tests hit pull limits**

The two changed task-step tests run in `integration-local`, which has no base-image pre-pull step. Only the slow and gateway jobs prepare the ECR name. If the fast runner lacks this Debian image, these tests now pull directly from public ECR and can fail on its documented shared-IP pull limits before reaching their assertions. Keep the mirror references for these tests, or prepare Debian in the fast job too.

**Knowledge Base Used:** [Pull release image bases through the mirror before CI builds](https://app.greptile.com/-/switch-tenant?tenant=scale-ai&next=%2Fcustom-context%2Fknowledge-base%2Fscaleapi%2Fagentenv-framework%2F-%2Freverts%2Fincident-mitigation_275-20261022-ecr-base-pull-rate-limit-bc3db30.md)

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Cursor Fix in Claude Code Fix in Codex

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.

1 participant