Skip to content

fix(studio): Split zod files by operation#19

Merged
steramae-nvidia merged 2 commits into
mainfrom
steramae/sdk-split
May 22, 2026
Merged

fix(studio): Split zod files by operation#19
steramae-nvidia merged 2 commits into
mainfrom
steramae/sdk-split

Conversation

@steramae-nvidia
Copy link
Copy Markdown
Contributor

This PR fixes https://linear.app/nvidia/issue/ASTD-156/evaluate-evaluator-zod-schema-import-size-in-metric-route by ensuring the generated files are split by operation. This dramatically reduces the file import size 1,432 kB → 139 kB

@steramae-nvidia steramae-nvidia requested review from a team as code owners May 21, 2026 21:44
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

Suite Lines Covered Line Rate Branch Rate
Unit Tests 18200/24152 75.4% 61.8%
Integration Tests 11648/22934 50.8% 26.0%

@steramae-nvidia steramae-nvidia force-pushed the steramae/sdk-split branch 2 times, most recently from ec3790b to e773efe Compare May 22, 2026 03:19
Split large orval tag-mode zod files into per-operation modules during
post-generation so route chunks do not pull entire tag files. Mark the SDK
package as sideEffect-free. Keeps main's generate-on-install flow.

Signed-off-by: Sean Teramae <steramae@nvidia.com>
Signed-off-by: Sean Teramae <steramae@nvidia.com>
@steramae-nvidia steramae-nvidia added this pull request to the merge queue May 22, 2026
Merged via the queue into main with commit dac8622 May 22, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants