[eas-build-job] Add local composite function schema - #3928
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
622179a to
ff953ae
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3928 +/- ##
==========================================
+ Coverage 61.12% 61.13% +0.01%
==========================================
Files 970 971 +1
Lines 43423 43431 +8
Branches 9135 9135
==========================================
+ Hits 26538 26546 +8
Misses 15439 15439
Partials 1446 1446 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ff953ae to
77773ec
Compare
85cc322 to
244427d
Compare
|
Subscribed to pull request
Generated by CodeMention Warning: The preamble and epilogue options in commentConfiguration are deprecated. Use template instead. |
244427d to
e64f37d
Compare
06676aa to
581492e
Compare
6c02b08 to
b9e22f0
Compare
e9427a7 to
ec3a2b1
Compare
🤖 AI code reviewDecision: Approve All specialist reviewers (correctness, consistency, security) returned no findings. The PR introduces only a Zod schema and TypeScript type for composite function configuration with no runtime behavior changes. No findings. This review is advisory — it never blocks a merge and never auto-approves. |
ec3a2b1 to
b4397b8
Compare
|
⏩ The changelog entry check has been skipped since the "no changelog" label is present. |

Why
First step toward local composite functions for EAS Workflows: reusable step groups referenced via
uses:in.eas/workflows/*.yml.This PR adds the shared contract in
@expo/eas-build-jobso all consumers agree on composite function config shape.How
Introduce the composite function config schema in
@expo/eas-build-job, the single source of truth for the shape of afunction.ymlfile. No runtime behavior changes yet.Added:
CompositeFunctionConfigZ/CompositeFunctionConfig: Zod schema and type forfunction.yml(inputs, outputs, runs.steps)CompositeFunctionCatalog: map of normalized path → configTest Plan
Added unit tests for
CompositeFunctionConfigZ.