Repository navigation
fix(a2a_agent): the validator keys its install test image by agent, so agents validated in the same second don't collide - #963
Open
earakely-scale wants to merge 1 commit into
Conversation
…o agents validated in the same second don't collide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
The A2A validator's install check uploads a one-line Dockerfile as a test image. It wrote it to
a2a_validator/install_test_image/<unix second>/, which is the same key for every agent validated in that second. The object store refuses a second write to an existing key, so when two agents were validated together, one install check failed withinstall validation raised: Object already exists at …/install_test_image/<second>/Dockerfile, and its agent failed the install check it would otherwise pass.That happened when two agents' promotions were started at the same moment. Each promotion validates its agent, the two validations reached the upload in the same second, and one of them failed.
Fix: the image is written under its universe's id instead:
a2a_validator/install_test_image/<agent>__validate-install-image-v<version>-<second>/. That key is already unique per agent, version and second. The other validator fixtures (validator_skill/,probe_fixtures/) were already keyed per agent and version.Test:
test_agents_validated_in_the_same_second_write_their_install_images_apartuploads two agents' install images in the same second. On the old key it fails with the sameObjectAlreadyExistsError, and it passes now. The existing prefix and derived-id tests still pass.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
The install validator now separates test-image uploads by agent, version, and second.
Reviews (1) · Last reviewed commit: "fix(a2a_agent): the validator keys its i..." · Reviewed by Greptile