Skip to content

feat: Upgrade A2UI examples to v0.9 schema#751

Merged
nan-yu merged 5 commits intogoogle:mainfrom
nan-yu:examples-0.9
Mar 3, 2026
Merged

feat: Upgrade A2UI examples to v0.9 schema#751
nan-yu merged 5 commits intogoogle:mainfrom
nan-yu:examples-0.9

Conversation

@nan-yu
Copy link
Collaborator

@nan-yu nan-yu commented Mar 3, 2026

Fixes: #700

Description

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

@nan-yu
Copy link
Collaborator Author

nan-yu commented Mar 3, 2026

Next step: run validations on the v0.9 examples -> Done

  • Added unit tests
  • Added CI in the github action
  • All validations passed

Copy link
Collaborator

@gspencergoog gspencergoog left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request upgrades A2UI examples to the v0.9 schema by adding new v0.9 example files, renaming the old v0.8 files, and introducing a migration script. The agent code is also updated to be version-aware, though it remains pinned to v0.8 for now. The changes are extensive and generally look correct. My review focuses on the new migration script (migrate_v08_to_v09.py), where I've identified a few potential issues that could lead to crashes or incorrect output, along with some suggestions to improve its robustness and structure.

@nan-yu nan-yu marked this pull request as ready for review March 3, 2026 05:11
@nan-yu
Copy link
Collaborator Author

nan-yu commented Mar 3, 2026

Added CI that validates the examples with the v0.9 schemas.

@nan-yu nan-yu merged commit b698146 into google:main Mar 3, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Mar 3, 2026
@nan-yu nan-yu deleted the examples-0.9 branch March 3, 2026 17:34
nan-yu added a commit that referenced this pull request Mar 3, 2026
gspencergoog pushed a commit that referenced this pull request Mar 3, 2026
nan-yu added a commit that referenced this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Migrate all agent samples to support both v0.9 and v0.8

2 participants