Skip to content

Build API from its deployed runtime revision - #346

Merged
OziinG merged 2 commits into
mainfrom
cc-240-runtime-image-scope
Aug 29, 2026
Merged

Build API from its deployed runtime revision#346
OziinG merged 2 commits into
mainfrom
cc-240-runtime-image-scope

Conversation

@OziinG

@OziinG OziinG commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • compare delivery-api paths from API_RUNTIME_REVISION
  • keep web/static scope based on the overall deployed commit
  • expose API-specific changed files for workflow evidence

Why

A metadata-only rollout can advance COMMIT_SHA while reusing the prior API image. Subsequent deploys must compare API changes from the revision embedded in the running image or they can permanently skip an API asset update.

Verification

  • deploy contract test
  • Route Ops change classifier test
  • npm run check:env-authority
  • git diff --check

OziinG added 2 commits August 29, 2026 17:38
Constraint: Release metadata can advance while a prior API image remains deployed.\nRejected: Force every deploy to rebuild the API | unnecessary builds would erase the lean deployment lane.\nConfidence: high\nScope-risk: narrow\nDirective: Compute API scope from API_RUNTIME_REVISION, not the overall deploy metadata commit.\nTested: deploy contract test, classifier regression test, env authority test, git diff check\nNot-tested: GitHub-hosted deployment until merged
Constraint: Deployment workflow fixes need validation before they reach main.\nRejected: Rely only on post-merge main CI | defects would be discovered after merge.\nConfidence: high\nScope-risk: narrow\nDirective: Keep deploy workflow, wrapper, and contract-test paths in the PR trigger.\nTested: deploy contract test, classifier test, git diff check\nNot-tested: GitHub path-filter trigger until push
@OziinG
OziinG merged commit 6023672 into main Aug 29, 2026
6 checks passed
@OziinG
OziinG deleted the cc-240-runtime-image-scope branch August 29, 2026 08:41
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.

1 participant