test: prove generated Nutrition API over external HTTP - #298
Merged
Conversation
Contributor
Author
|
API7 test reached the canonical Runtime boundary and exposed a release-safe dependency: |
artiphishle
marked this pull request as ready for review
August 17, 2026 07:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #295
Summary
ProjectManagerpipeline;nutritionAPI ininfra.apis[];@ankhorage/runtime/bindingsand@ankhorage/data-sourceswith an observable fetch boundary;products.listbecomesGET https://api.ankhorage.com/v1/nutrition/products?limit=50&offset=0;barcodeScannedbinding and proveproducts.getByBarcodebecomesGET https://api.ankhorage.com/v1/nutrition/products/by-barcode/:barcodethrough the same canonical API and released Runtime executor;nutrition_products, or generated database paths;createRuntimeApiOperationExecutorand contains no Supabase DB API wiring;@ankhorage/runtime ^2.1.0for the headless owner entrypoint.Scope
This is the API Phase-1 acceptance proof only. It adds no internal API generation, Fastify/server generation, persistence generation, or compatibility path.
Changeset
Patch: Studio now requires Runtime 2.1+ so the acceptance path can consume the public headless
@ankhorage/runtime/bindingsowner entrypoint.Validation
Green on the final head: build, repository Doctor, lint with zero warnings, format, Knip, Bun tests including generated Nutrition Products and barcode API acceptance, Studio web smoke, generated-app web E2E, typecheck, and changeset status.