Skip to content

Conversation

@staverm
Copy link
Member

@staverm staverm commented Dec 20, 2025

  • Add tests that run against an agent url (checks agent card and basic response format)
  • Workflow now builds image, runs it, runs tests against it, and if tests pass, pushes the image

@staverm staverm force-pushed the staverm/a2a_tests branch 2 times, most recently from 2ecbbd5 to 1916594 Compare December 20, 2025 18:20
@staverm staverm marked this pull request as ready for review December 20, 2025 18:37
errors.append(
"Field 'skills' must be an array of AgentSkill objects."
)
elif not card_data['skills']:
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Validation code was taken from a2a-inspector which was developed by google so I assumed it's correct. The A2A SDK doesn't enforce non-empty skills list, but the type annotation is list[AgentSkill] and not list[AgentSkill] | None = None (which they do for some other fields). So I think their intention was for there to always be at least one skill. Still I wouldn't mind relaxing this.

Copy link
Member

Choose a reason for hiding this comment

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

Probably makes sense to stick with the check then--just remember to verify debater example when you rebase 😄

@staverm staverm merged commit a57602d into main Dec 22, 2025
1 check passed
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.

3 participants