Skip to content

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
mainfrom
edgararakelyan/validator-install-image-key
Open

earakely-scale wants to merge 1 commit into
mainfrom
edgararakelyan/validator-install-image-key

Conversation

@earakely-scale

@earakely-scale earakely-scale commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

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 with install 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_apart uploads two agents' install images in the same second. On the old key it fails with the same ObjectAlreadyExistsError, 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.RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The install validator now separates test-image uploads by agent, version, and second.

  • Each agent gets its own A2A install-test image folder.

Reviews (1) · Last reviewed commit: "fix(a2a_agent): the validator keys its i..." · Reviewed by Greptile

…o agents validated in the same second don't collide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@earakely-scale
earakely-scale requested a review from a team as a code owner November 30, 2026 16:10

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.

1 participant