From a21280f5713fca22b7aa8811f889f30871b8d185 Mon Sep 17 00:00:00 2001 From: "T.J Ariyawansa" Date: Fri, 5 Jun 2026 18:34:09 -0400 Subject: [PATCH] fix(ci): pass filesystem env vars to e2e-tests-full vitest step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Secrets Manager step retrieves E2E_EFS_ACCESS_POINT_ARN, E2E_S3_ACCESS_POINT_ARN, E2E_FILESYSTEM_SUBNET_ID, and E2E_FILESYSTEM_SECURITY_GROUP_ID at job scope, but the "Run E2E tests" step's env: block does not propagate them to the vitest subprocess. GitHub Actions does not auto-inherit job-level env vars into step subprocesses, so strands-bedrock-byo-filesystem.test.ts saw undefined values and failed at agentcore create. Symptom on run 27041082542: shards (main, 5/6) and (npm, 5/6) failed with "Create failed:" — only stderr (a Node version warning) was in the assertion message; the actual JSON error went to stdout which the test did not print. The PR-trigger workflow (e2e-tests.yml) already passes these env vars in its Run E2E tests env: block. This change brings e2e-tests-full.yml in line so the byo-filesystem test has the inputs it needs. --- .github/workflows/e2e-tests-full.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/e2e-tests-full.yml b/.github/workflows/e2e-tests-full.yml index 0d28a4711..3e3143e91 100644 --- a/.github/workflows/e2e-tests-full.yml +++ b/.github/workflows/e2e-tests-full.yml @@ -89,6 +89,10 @@ jobs: ANTHROPIC_API_KEY: ${{ env.E2E_ANTHROPIC_API_KEY }} OPENAI_API_KEY: ${{ env.E2E_OPENAI_API_KEY }} GEMINI_API_KEY: ${{ env.E2E_GEMINI_API_KEY }} + E2E_EFS_ACCESS_POINT_ARN: ${{ env.E2E_EFS_ACCESS_POINT_ARN }} + E2E_S3_ACCESS_POINT_ARN: ${{ env.E2E_S3_ACCESS_POINT_ARN }} + E2E_FILESYSTEM_SUBNET_ID: ${{ env.E2E_FILESYSTEM_SUBNET_ID }} + E2E_FILESYSTEM_SECURITY_GROUP_ID: ${{ env.E2E_FILESYSTEM_SECURITY_GROUP_ID }} CDK_TARBALL: ${{ env.CDK_TARBALL }} run: npx vitest run --project e2e --shard=${{ matrix.shard }} browser-tests: