microsoft / microsoft/typespec
[python] fix pipelines to catch regeneration failures
Open
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Right now, not all regeneration failures are caught by our pipeline. Either [Generate.ps1](https://github.com/microsoft/typespec/blob/main/packages/http-client-python/eng/scripts/Generate.ps1#L11) should have a status code verification check, or figure out how to log the whole error and have the [regenerate.ts](https://github.com/microsoft/typespec/blob/main/packages/http-client-python/eng/scripts/ci/regenerate.ts#L316) script throw an uncaught error
Contributor guide
Assessment
This issue has not been assessed yet.