Fix typespec-go nightly build failure#1952
Conversation
Agent-Logs-Url: https://github.com/Azure/autorest.go/sessions/ce314106-5558-426a-a36e-174ec3063bdc Co-authored-by: JiaqiZhang-Dev <194873822+JiaqiZhang-Dev@users.noreply.github.com>
|
@copilot please revert the code change and just skip this test: test/azure-http-specs/resiliency/srvdrivennewgroup Context: |
…pespec-azure#4386 Agent-Logs-Url: https://github.com/Azure/autorest.go/sessions/9696647b-c464-4505-baa5-727a74d2c057 Co-authored-by: JiaqiZhang-Dev <194873822+JiaqiZhang-Dev@users.noreply.github.com>
Reverted the |
Agent-Logs-Url: https://github.com/Azure/autorest.go/sessions/7679fbe2-498a-4f1f-87ee-f022038d169c Co-authored-by: JiaqiZhang-Dev <194873822+JiaqiZhang-Dev@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/autorest.go/sessions/06e4a5e3-17f3-4874-971e-950b34e850a1 Co-authored-by: JiaqiZhang-Dev <194873822+JiaqiZhang-Dev@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the TypeSpec Go test dependencies and regenerated fixtures to address a typespec-go nightly pipeline failure after upstream @typespec/http-specs changes.
Changes:
- Bump
@typespec/http-specsto0.1.0-alpha.37-dev.5and update the lockfile accordingly. - Regenerate
specialwordsgroupGo test SDK artifacts, adding a newSpecialWordsReservedOperationBodyParamsClientand corresponding fake server wiring. - Adjust the XML “text value” PUT test payload to match updated spector mock server expectations.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Locks the updated @typespec/http-specs (and related snapshot key changes), including its updated Node engine requirement. |
| packages/typespec-go/package.json | Bumps @typespec/http-specs dependency version for the typespec-go package. |
| packages/typespec-go/test/http-specs/specialwordsgroup/zz_specialwordsreservedoperationbodyparams_client.go | Adds generated client for reserved operation body params scenario (WithItems). |
| packages/typespec-go/test/http-specs/specialwordsgroup/zz_specialwords_client.go | Exposes a factory method for the new reserved-operation client from SpecialWordsClient. |
| packages/typespec-go/test/http-specs/specialwordsgroup/zz_responses.go | Adds the response type for WithItems. |
| packages/typespec-go/test/http-specs/specialwordsgroup/zz_options.go | Adds the options type for WithItems. |
| packages/typespec-go/test/http-specs/specialwordsgroup/fake/zz_specialwordsreservedoperationbodyparams_server.go | Adds generated fake server transport for the new client/operation. |
| packages/typespec-go/test/http-specs/specialwordsgroup/fake/zz_specialwords_server.go | Wires the new fake server transport into the top-level SpecialWordsServerTransport. |
| packages/typespec-go/test/http-specs/payload/xmlgroup/xmlmodelwithtextvalue_client_test.go | Updates the PUT test payload content string to match new server behavior. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
21277fc to
4cba600
Compare
Upgrades @typespec/spec-api to 0.1.0-dev.3 to fix the nightly build pipeline for the typespec-go package.
Previously, this issue is solved by this PR, but it's overwritten by this PR