Skip to content

[v3-3-test] Run UI compile checks in CI when only an OpenAPI spec changes (#70643) - #70672

Open
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-b43a87e-v3-3-test
Open

[v3-3-test] Run UI compile checks in CI when only an OpenAPI spec changes (#70643)#70672
github-actions[bot] wants to merge 1 commit into
v3-3-testfrom
backport-b43a87e-v3-3-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

#68919 changed _private_ui.yaml without regenerating the TypeScript client
and CI stayed green: selective checks decide whether to skip the
ts-compile-lint-* hooks from file groups that do not cover the UI codegen
input specs, while the hooks themselves trigger on any yaml under the
openapi directories. The stale client then masked a type error that broke
main for every PR running full static checks. The same gap applied to
v2-simple-auth-manager-generated.yaml, so a spec-only change also skipped
the simple auth manager UI hook. Track the codegen-input specs in their own
file group so spec-only changes run the UI hooks without forcing the full
test matrix, and drop the main UI hook trigger for the simple auth manager
spec: that pattern was copied in when the hook was created (#51725), a
month after the spec was renamed v1 to v2 (#50705), so it has never matched
a file - #53636 fixed the sibling hook's copy but missed this one. The main
UI codegen does not consume that spec either.
(cherry picked from commit b43a87e)

Co-authored-by: Shahar Epstein 60007259+shahar1@users.noreply.github.com

@pierrejeambrun

Copy link
Copy Markdown
Member

@shahar1 Something is off here, I wonder if it's transient or caused by the PR.

…nges (#70643)

#68919 changed _private_ui.yaml without regenerating the TypeScript client
and CI stayed green: selective checks decide whether to skip the
ts-compile-lint-* hooks from file groups that do not cover the UI codegen
input specs, while the hooks themselves trigger on any yaml under the
openapi directories. The stale client then masked a type error that broke
main for every PR running full static checks. The same gap applied to
v2-simple-auth-manager-generated.yaml, so a spec-only change also skipped
the simple auth manager UI hook. Track the codegen-input specs in their own
file group so spec-only changes run the UI hooks without forcing the full
test matrix, and drop the main UI hook trigger for the simple auth manager
spec: that pattern was copied in when the hook was created (#51725), a
month after the spec was renamed v1 to v2 (#50705), so it has never matched
a file - #53636 fixed the sibling hook's copy but missed this one. The main
UI codegen does not consume that spec either.
(cherry picked from commit b43a87e)

Co-authored-by: Shahar Epstein <60007259+shahar1@users.noreply.github.com>
@potiuk
potiuk force-pushed the backport-b43a87e-v3-3-test branch from d4919f9 to ed99d11 Compare July 30, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants