Repository navigation
v0.70.0
Getting started
- Sign up free at studio.poly.ai
- Install:
uv tool install polyai-adk - Set up:
poly setup(signs you in, saves an API key, installs shell completion and AI coding-agent skills)
Already installed? Run poly update to get this release and the latest skills.
v0.70.0 (2026-10-14)
This release is published under the Apache-2.0 License.
Bug Fixes
Summary
poly test run --files now accepts bare file names, paths with or without the test_suite/ prefix, and globs. --files and --tag now fail with a clear error when any entry matches no test, instead of silently skipping it.
Motivation
--files only matched the exact path relative to the project root (test_suite/greeting_flow_test.yaml). Passing just the file name, which is what most people type, found nothing and reported "No tests found". Separately, if one of several --files or --tag entries matched nothing, it was dropped without a word, so a typo could quietly shrink a run.
Changes
- Each
--filesentry is matched against the end of a test's path, sogreeting_flow_test.yaml,greeting_flow_test,./test_suite/greeting_flow_test.yamland an absolute path inside the project all select the same test. Globs such as"booking_*"also work. A file name under the wrong directory still doesn't match. - If any--filesor--tagentry matches no test,resolve_testsraises aValueErrornaming the entries that didn't match. - Updated thepoly test runhelp text,docs/docs/reference/cli/test.mdand thepoly-adk-testingskill.
Test strategy
- Added/updated unit tests - [x] Manual CLI testing (
poly <command>) - [x] Tested against a live Agent Studio project - [ ] N/A (docs, config, or trivial change)
New cases in ResolveTestsTest cover bare names with and without .yaml, ./-prefixed and absolute paths, globs, the wrong directory, and partly unmatched files and tags.
Checklist
-
ruff check .andruff format --check .pass - [x]pytestpasses - [x] No breaking changes to thepolyCLI interface (or migration path documented) - [x] PR title follows conventional commits, and its type matches the change (feat:for anything user-visible; see CONTRIBUTING.md) - [x] User-facing changes are reflected indocs/docs/,src/poly/docs/(resource shapes) andskills/
Co-authored-by: Claude Opus 5.5 (1M context) noreply@anthropic.com
Features
Summary
poly test run --json now includes a next_command field with the poly test show command to check on the run it just triggered. The docs and the testing skill now say that --json returns immediately and never polls.
Motivation
poly test run --json returns as soon as the run is triggered, with status pending. The docs said the CLI polls after triggering and made no exception for --json, so callers expected to get final results.
Returning straight away is the right behaviour for --json. Its callers are mostly agents and scripts, and a run can take several minutes, longer than a typical agent's shell timeout. What was missing was saying so, and telling the caller how to follow up.
Changes
poly test run --jsonoutput gainsnext_command, e.g.poly test show <run_id> --json. It includes--pathwhen the project isn't in the current directory, and quotes paths that contain spaces. - The plain-text--dont-pollhint uses the same command, so it also includes--pathwhen it's needed. - The--dont-pollhelp text notes that--jsonnever polls. -docs/docs/reference/cli/test.mdexplains that--jsondoesn't poll and how to poll withnext_command, and the JSON example includesstatusandnext_command. Thepoly-adk-testingskill has the same note.
Test strategy
- Added/updated unit tests - [ ] Manual CLI testing (
poly <command>) - [ ] Tested against a live Agent Studio project - [ ] N/A (docs, config, or trivial change)
New TestRunJsonTest cases check that --json doesn't poll, that next_command is correct, and that --path is kept and quoted.
Checklist
-
ruff check .andruff format --check .pass - [x]pytestpasses - [x] No breaking changes to thepolyCLI interface (or migration path documented) - [x] PR title follows conventional commits, and its type matches the change (feat:for anything user-visible; see CONTRIBUTING.md) - [x] User-facing changes are reflected indocs/docs/,src/poly/docs/(resource shapes) andskills/
🤖 Generated with Claude Code
Co-authored-by: Claude Opus 5.5 (1M context) noreply@anthropic.com
Detailed Changes: v0.69.0...v0.70.0