Repository navigation
test: build the integration tests' Debian from the image CI pre-pulls - #983
Closed
michaelzheng67 wants to merge 1 commit into
Closed
michaelzheng67 wants to merge 1 commit into
michaelzheng67 wants to merge 1 commit into
Conversation
Collaborator
Author
| pytestmark = pytest.mark.integration | ||
|
|
||
| IMAGE = "mirror.gcr.io/library/debian:bookworm-slim" | ||
| IMAGE = "public.ecr.aws/docker/library/debian:bookworm-slim" |
There was a problem hiding this comment.
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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/5

Prepare Debian in the fast integration job, or keep its mirror references, before merging.
Findings
Fix with agent prompt
Summary
Changes four integration-test Debian references from Google’s mirror to public ECR.
Reviews (1) · Last reviewed commit: "test: build the integration tests' Debia..." · Reviewed by Greptile