From 89df1f4a66f8de53bf3f3cd145762e9dd8b863a5 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Tue, 6 Oct 2026 23:43:32 +0000 Subject: [PATCH 1/3] ci: run shared workflows on the CodeBuild runner Bump the aws-durable-execution-ci and conformance-tests orchestrator pins to the commits that accept a runner input, and pass the CodeBuild runner label from every thin shell. --- .github/workflows/ai-pr-review.yml | 5 ++++- .github/workflows/issue-triage.yml | 6 +++++- .github/workflows/notify.yml | 6 +++++- .github/workflows/otel-conformance-tests.yml | 5 ++++- .github/workflows/stale-issue-closer.yml | 5 ++++- 5 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ai-pr-review.yml b/.github/workflows/ai-pr-review.yml index 31d4e7977..c5619b25e 100644 --- a/.github/workflows/ai-pr-review.yml +++ b/.github/workflows/ai-pr-review.yml @@ -12,8 +12,11 @@ jobs: contents: write id-token: write pull-requests: write - uses: aws/aws-durable-execution-ci/.github/workflows/ai-pr-review.yml@d6b017da14385908951d23e26c790b28a4e5f9f0 + uses: aws/aws-durable-execution-ci/.github/workflows/ai-pr-review.yml@d901b2f1a50731f46bb791b7cae6cbe7f56ae917 with: + # CodeBuild-hosted runner in the JavaScript testing account; the label must + # match the CodeBuild project name. + runs-on: codebuild-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }} prompt-path: .github/prompts/ai-pr-review.md run-claude: false secrets: inherit diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 0a07ad1c2..ca03bc41c 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -12,5 +12,9 @@ jobs: contents: read id-token: write issues: write - uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@d6b017da14385908951d23e26c790b28a4e5f9f0 + uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@d901b2f1a50731f46bb791b7cae6cbe7f56ae917 + with: + # CodeBuild-hosted runner in the JavaScript testing account; the label must + # match the CodeBuild project name. + runs-on: codebuild-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }} secrets: inherit diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index c2eb601b2..43a2958c4 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -16,7 +16,11 @@ jobs: contents: read models: read id-token: write - uses: aws/aws-durable-execution-ci/.github/workflows/notify.yml@d6b017da14385908951d23e26c790b28a4e5f9f0 + uses: aws/aws-durable-execution-ci/.github/workflows/notify.yml@d901b2f1a50731f46bb791b7cae6cbe7f56ae917 + with: + # CodeBuild-hosted runner in the JavaScript testing account; the label must + # match the CodeBuild project name. + runs-on: codebuild-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }} secrets: BEDROCK_ROLE_ARN: ${{ secrets.BEDROCK_ROLE_ARN }} SLACK_WEBHOOK_URL_PR: ${{ secrets.SLACK_WEBHOOK_URL_PR }} diff --git a/.github/workflows/otel-conformance-tests.yml b/.github/workflows/otel-conformance-tests.yml index 894630fb9..4ba75bfda 100644 --- a/.github/workflows/otel-conformance-tests.yml +++ b/.github/workflows/otel-conformance-tests.yml @@ -76,8 +76,11 @@ jobs: actions: write contents: read id-token: write - uses: aws/aws-durable-execution-conformance-tests/.github/workflows/opentelemetry-orchestrator.yml@a628f5589bbf067a441696c792ab3023c0d0899b + uses: aws/aws-durable-execution-conformance-tests/.github/workflows/opentelemetry-orchestrator.yml@3542852f918f515d7c6a53af1eb0d5aa83d1eb1e with: + # CodeBuild-hosted runner in the JavaScript testing account; the label must + # match the CodeBuild project name. + runs_on: codebuild-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }} language: javascript resource_prefix: js sdk_repository: aws/aws-durable-execution-sdk-js diff --git a/.github/workflows/stale-issue-closer.yml b/.github/workflows/stale-issue-closer.yml index 3a0350047..fa51353ec 100644 --- a/.github/workflows/stale-issue-closer.yml +++ b/.github/workflows/stale-issue-closer.yml @@ -14,7 +14,10 @@ jobs: permissions: contents: read issues: write - uses: aws/aws-durable-execution-ci/.github/workflows/stale-issue-closer.yml@48b3b4349f7d00a6212b9d959427bd7df81ea99d + uses: aws/aws-durable-execution-ci/.github/workflows/stale-issue-closer.yml@d901b2f1a50731f46bb791b7cae6cbe7f56ae917 with: + # CodeBuild-hosted runner in the JavaScript testing account; the label must + # match the CodeBuild project name. + runs-on: codebuild-github-actions-runner-${{ github.run_id }}-${{ github.run_attempt }} days-until-close: 14 close-reason: not_planned From 03e6bf139dac179a4ededbc867575b23a4955683 Mon Sep 17 00:00:00 2001 From: Alex Wang Date: Wed, 7 Oct 2026 00:28:51 +0000 Subject: [PATCH 2/3] ci: select Node 22 with nvm or n in the OTel setup command The CodeBuild standard image has no nvm; it ships n with Node 22 preinstalled. Fall back to n when nvm is absent and fail if neither yields Node 22. --- .github/workflows/otel-conformance-tests.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/otel-conformance-tests.yml b/.github/workflows/otel-conformance-tests.yml index 4ba75bfda..e9ff76f57 100644 --- a/.github/workflows/otel-conformance-tests.yml +++ b/.github/workflows/otel-conformance-tests.yml @@ -91,12 +91,23 @@ jobs: # repo's bundled examples/javascript. Path is relative to the conformance workspace, # where this repo is checked out at .build/durable-sdk. examples_dir: .build/durable-sdk/packages/aws-durable-execution-sdk-js-conformance-tests-otel + # Node 22 on either runner image: GitHub-hosted runners ship nvm, the + # CodeBuild standard image ships `n` with Node 22 preinstalled. Fail if + # neither yields Node 22 rather than building against whatever is on PATH. setup_command: | - export NVM_DIR="${NVM_DIR:-$HOME/.nvm}" - source "$NVM_DIR/nvm.sh" - nvm install 22 - nvm use 22 + if [ -s "${NVM_DIR:-$HOME/.nvm}/nvm.sh" ]; then + export NVM_DIR="${NVM_DIR:-$HOME/.nvm}" + source "$NVM_DIR/nvm.sh" + nvm install 22 + nvm use 22 + elif command -v n >/dev/null 2>&1; then + n 22 + fi node --version + case "$(node --version)" in + v22.*) ;; + *) echo "The runner does not provide Node 22"; exit 1 ;; + esac # Unlike the conformance repo's examples/javascript, this package consumes the SDK and # the OTel plugin as workspace siblings, so there is no tarball install step: a root # npm ci links them and building them in place is enough. From 09df804a0adab4f5860dd7c174647d5c30dbe709 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Tue, 13 Oct 2026 18:28:45 -0700 Subject: [PATCH 3/3] ci: pin shared workflows to latest CI main --- .github/workflows/ai-pr-review.yml | 2 +- .github/workflows/issue-triage.yml | 2 +- .github/workflows/notify.yml | 2 +- .github/workflows/stale-issue-closer.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ai-pr-review.yml b/.github/workflows/ai-pr-review.yml index 1e18ac21d..5c8fafdda 100644 --- a/.github/workflows/ai-pr-review.yml +++ b/.github/workflows/ai-pr-review.yml @@ -12,7 +12,7 @@ jobs: contents: write id-token: write pull-requests: write - uses: aws/aws-durable-execution-ci/.github/workflows/ai-pr-review.yml@288e4317948ca778ebf01acca9342d8b898a1dc2 + uses: aws/aws-durable-execution-ci/.github/workflows/ai-pr-review.yml@8ea82196db65b5b0dd67f0b72bb03fa2fa9cf65b with: # CodeBuild-hosted runner in the JavaScript testing account; the label must # match the CodeBuild project name. diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 0c63a18bd..138f51af8 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -12,7 +12,7 @@ jobs: contents: read id-token: write issues: write - uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@288e4317948ca778ebf01acca9342d8b898a1dc2 + uses: aws/aws-durable-execution-ci/.github/workflows/issue-triage.yml@8ea82196db65b5b0dd67f0b72bb03fa2fa9cf65b with: # CodeBuild-hosted runner in the JavaScript testing account; the label must # match the CodeBuild project name. diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index dd41c4a54..1060fec61 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -16,7 +16,7 @@ jobs: contents: read models: read id-token: write - uses: aws/aws-durable-execution-ci/.github/workflows/notify.yml@288e4317948ca778ebf01acca9342d8b898a1dc2 + uses: aws/aws-durable-execution-ci/.github/workflows/notify.yml@8ea82196db65b5b0dd67f0b72bb03fa2fa9cf65b with: # CodeBuild-hosted runner in the JavaScript testing account; the label must # match the CodeBuild project name. diff --git a/.github/workflows/stale-issue-closer.yml b/.github/workflows/stale-issue-closer.yml index 8e5dd760b..9f99cc9a3 100644 --- a/.github/workflows/stale-issue-closer.yml +++ b/.github/workflows/stale-issue-closer.yml @@ -14,7 +14,7 @@ jobs: permissions: contents: read issues: write - uses: aws/aws-durable-execution-ci/.github/workflows/stale-issue-closer.yml@288e4317948ca778ebf01acca9342d8b898a1dc2 + uses: aws/aws-durable-execution-ci/.github/workflows/stale-issue-closer.yml@8ea82196db65b5b0dd67f0b72bb03fa2fa9cf65b with: # CodeBuild-hosted runner in the JavaScript testing account; the label must # match the CodeBuild project name.