From f7ef39d15c0551fb4df3072e967aefc96d08af33 Mon Sep 17 00:00:00 2001 From: Brian McMahon Date: Fri, 1 May 2026 08:33:09 -0700 Subject: [PATCH] feat(ci): wire deploy.yml + deploy-infrastructure.yml into system-wide changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a final step to both deploy workflows that calls the append-changelog composite action in alpha-engine-docs. Each successful (or failed) deploy now emits one JSON to s3://alpha-engine-research/changelog/. Two distinct entries per merge that touches both surfaces: - deploy.yml → Phase 2 Lambda image rebuild + alias bump - deploy-infrastructure.yml → SF + CF stamp re-deploy Distinguished by the deploy_workflow field on each entry, so the materialized CHANGELOG.md can show both as separate items under the same SHA. Uses if: always() + ternary on job.status so failed deploys also register in the log — the failure signal is itself a useful provenance record. Companion: alpha-engine-docs PR #3 (composite action + aggregator), alpha-engine-data PR #120 (IAM grant — already merged). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/deploy-infrastructure.yml | 7 +++++++ .github/workflows/deploy.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/deploy-infrastructure.yml b/.github/workflows/deploy-infrastructure.yml index 6f2b7ea..2883c91 100644 --- a/.github/workflows/deploy-infrastructure.yml +++ b/.github/workflows/deploy-infrastructure.yml @@ -56,3 +56,10 @@ jobs: --stack-name alpha-engine-orchestration \ --query "Stacks[0].[StackStatus,Tags[?Key=='git-sha'].Value|[0]]" \ --output text + + - name: Append to system-wide deploy changelog + if: always() + uses: cipher813/alpha-engine-docs/.github/actions/append-changelog@main + with: + deploy_status: ${{ job.status == 'success' && 'success' || 'failure' }} + deploy_workflow: deploy-infrastructure.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5bf6423..4891554 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -88,3 +88,10 @@ jobs: --function-name alpha-engine-data-collector \ --query "Configuration.[LastModified,CodeSha256]" \ --output text + + - name: Append to system-wide deploy changelog + if: always() + uses: cipher813/alpha-engine-docs/.github/actions/append-changelog@main + with: + deploy_status: ${{ job.status == 'success' && 'success' || 'failure' }} + deploy_workflow: deploy.yml