microsoft / microsoft/typespec

[python] fix pipelines to catch regeneration failures

Open
#5,557 0 comments 0 reactions 1 assignee Claimed by @iscai-msft View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.