Rename automation API schema test to .zod.test.ts convention + update ROADMAP#772
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… ROADMAP test count Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add unit tests for Automation API Protocol Schema
Rename automation API schema test to Feb 21, 2026
.zod.test.ts convention + update ROADMAP
hotlong
marked this pull request as ready for review
February 21, 2026 11:04
Contributor
There was a problem hiding this comment.
Pull request overview
This PR renames the automation API schema test file from automation-api.test.ts to automation-api.zod.test.ts and updates the ROADMAP to reflect the test coverage (37 schema tests). The change was motivated by #767 which required completing the test suite for the Automation API protocol schemas.
Changes:
- Renamed test file to use
.zod.test.tssuffix to explicitly indicate Zod schema testing - Updated ROADMAP.md line 157 to annotate the Automation API protocol entry with "(37 schema tests)"
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/spec/src/api/automation-api.zod.test.ts | Complete test suite covering all 9 API endpoints, path parameters, error codes, and contract registry with 37 test cases |
| ROADMAP.md | Added test count annotation "(37 schema tests)" to Automation API protocol line |
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 existing
automation-api.test.ts(37 tests covering all 9 endpoint schemas, error codes, and contract registry) wasn't matching the filename convention requested in #757's checklist item for "编写 schema 测试".automation-api.test.ts→automation-api.zod.test.tsto align with theautomation-api.zod.tssource file(37 schema tests)to reflect coverageOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.