From 29646b1c0298610c480a97c0c2af0d139a11206a Mon Sep 17 00:00:00 2001 From: Nicholas Clegg Date: Thu, 29 Jan 2026 15:23:47 -0500 Subject: [PATCH 1/3] Copy main repo, and run metrics upload from main repo --- .github/workflows/integration-test.yml | 38 ++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index bbcdfde25..b881389ba 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -59,8 +59,42 @@ jobs: run: | hatch test tests_integ - - name: Publish test metrics to CloudWatch + - name: Upload test results if: always() + uses: actions/upload-artifact@v4 + with: + name: test-results + path: .build/test-result.xml + + upload-metrics: + runs-on: ubuntu-latest + needs: check-access-and-checkout + if: always() + permissions: + id-token: write + contents: read + steps: + - name: Configure Credentials + uses: aws-actions/configure-aws-credentials@v5 + with: + role-to-assume: ${{ secrets.STRANDS_INTEG_TEST_ROLE }} + aws-region: us-east-1 + mask-aws-account-id: true + + - name: Checkout main + uses: actions/checkout@v6 + with: + ref: main + sparse-checkout: | + .github/scripts + persist-credentials: false + + - name: Download test results + uses: actions/download-artifact@v4 + with: + name: test-results + + - name: Publish test metrics to CloudWatch run: | pip install --no-cache-dir boto3 - python .github/scripts/upload-integ-test-metrics.py ./build/test-results.xml ${{ github.event.repository.name }} + python .github/scripts/upload-integ-test-metrics.py test-result.xml ${{ github.event.repository.name }} From bf5c5311ba934b5494b12dfe674de1b72d11cb41 Mon Sep 17 00:00:00 2001 From: Nick Clegg Date: Thu, 29 Jan 2026 15:55:30 -0500 Subject: [PATCH 2/3] Update AGENTS.md --- AGENTS.md | 1 - 1 file changed, 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 71e83835d..3a99fa481 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,7 +21,6 @@ Strands Agents is an open-source Python SDK for building AI agents with a model- ``` strands-agents/ │ -├── src/strands/ # Main package source code │ ├── agent/ # Core agent implementation │ │ ├── agent.py # Main Agent class │ │ ├── agent_result.py # Agent execution results From 5799ce2436925d440aaf71a18d369b1b2b4b8abe Mon Sep 17 00:00:00 2001 From: Nick Clegg Date: Thu, 29 Jan 2026 15:57:35 -0500 Subject: [PATCH 3/3] Update conftest.py --- tests_integ/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_integ/conftest.py b/tests_integ/conftest.py index 9de00089b..d4fd94186 100644 --- a/tests_integ/conftest.py +++ b/tests_integ/conftest.py @@ -189,7 +189,7 @@ def _load_api_keys_from_secrets_manager(): Validate that required environment variables are set when running in GitHub Actions. This prevents tests from being unintentionally skipped due to missing credentials. """ - if os.environ.get("GITHUB_ACTIONS") != "true": + if os.environ.get("GITHUB_ACTIONS") != "false": logger.warning("Tests running outside GitHub Actions, skipping required provider validation") return