From cd4861c6b56f88849ab4d261938f4d35b7595e2a Mon Sep 17 00:00:00 2001 From: Sohil Kshirsagar Date: Wed, 18 Mar 2026 15:25:26 -0400 Subject: [PATCH 1/4] try non-blacksmith --- .github/workflows/tusk-drift-api-tests.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tusk-drift-api-tests.yml b/.github/workflows/tusk-drift-api-tests.yml index 8c9307f..021fe00 100644 --- a/.github/workflows/tusk-drift-api-tests.yml +++ b/.github/workflows/tusk-drift-api-tests.yml @@ -15,15 +15,22 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: "3.12" - name: Install dependencies run: pip install -r requirements.txt - - name: Install Tusk CLI - run: curl -fsSL https://cli.usetusk.ai/install.sh | sh + - name: Run Tusk Drift trace tests + uses: Use-Tusk/drift-action@v1 + with: + cache-key: ${{ runner.os }}-tusk-drift-${{ hashFiles('.tusk/config.yaml') }} + api-key: ${{ secrets.TUSK_DRIFT_API_KEY }} + run-command: tusk run -c -p --ci --validate-suite-if-default-branch --enable-service-logs - - name: Run Tusk Drift API tests - env: - TUSK_API_KEY: ${{ secrets.TUSK_DRIFT_API_KEY }} - run: tusk run --cloud --ci --print --validate-suite-if-default-branch --commit-sha=${{ github.sha }} --pr-number=${{ github.event.pull_request.number }} --branch=${{ github.event.pull_request.head.ref }} + - name: Print service logs + if: always() + run: | + for f in .tusk/logs/*.log; do + echo "=== $f ===" + cat "$f" + done From 212661719b959b2104e286193f783d67757e5218 Mon Sep 17 00:00:00 2001 From: Sohil Kshirsagar Date: Wed, 18 Mar 2026 15:49:47 -0400 Subject: [PATCH 2/4] try latest main CLI --- .github/workflows/tusk-drift-api-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tusk-drift-api-tests.yml b/.github/workflows/tusk-drift-api-tests.yml index 021fe00..ab65a4b 100644 --- a/.github/workflows/tusk-drift-api-tests.yml +++ b/.github/workflows/tusk-drift-api-tests.yml @@ -17,6 +17,10 @@ jobs: with: python-version: "3.12" + - uses: actions/setup-go@v5 + with: + go-version: "1.25" # or the current Go version required by tusk-drift-cli + - name: Install dependencies run: pip install -r requirements.txt @@ -26,6 +30,7 @@ jobs: cache-key: ${{ runner.os }}-tusk-drift-${{ hashFiles('.tusk/config.yaml') }} api-key: ${{ secrets.TUSK_DRIFT_API_KEY }} run-command: tusk run -c -p --ci --validate-suite-if-default-branch --enable-service-logs + cli-source: source - name: Print service logs if: always() From 2b61d922f58cf46589e8abc694f56f47bac4d183 Mon Sep 17 00:00:00 2001 From: JY Tan Date: Wed, 18 Mar 2026 17:14:20 -0700 Subject: [PATCH 3/4] Try with drift-action userns mapping --- .github/workflows/tusk-drift-api-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tusk-drift-api-tests.yml b/.github/workflows/tusk-drift-api-tests.yml index ab65a4b..fc2ddfc 100644 --- a/.github/workflows/tusk-drift-api-tests.yml +++ b/.github/workflows/tusk-drift-api-tests.yml @@ -25,7 +25,7 @@ jobs: run: pip install -r requirements.txt - name: Run Tusk Drift trace tests - uses: Use-Tusk/drift-action@v1 + uses: Use-Tusk/drift-action@userns-mapping with: cache-key: ${{ runner.os }}-tusk-drift-${{ hashFiles('.tusk/config.yaml') }} api-key: ${{ secrets.TUSK_DRIFT_API_KEY }} From 96960110e092eaca770ad5dcf699c2d625bdd7ba Mon Sep 17 00:00:00 2001 From: JY Tan Date: Wed, 18 Mar 2026 17:28:14 -0700 Subject: [PATCH 4/4] Change to v1 --- .github/workflows/tusk-drift-api-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tusk-drift-api-tests.yml b/.github/workflows/tusk-drift-api-tests.yml index fc2ddfc..ab65a4b 100644 --- a/.github/workflows/tusk-drift-api-tests.yml +++ b/.github/workflows/tusk-drift-api-tests.yml @@ -25,7 +25,7 @@ jobs: run: pip install -r requirements.txt - name: Run Tusk Drift trace tests - uses: Use-Tusk/drift-action@userns-mapping + uses: Use-Tusk/drift-action@v1 with: cache-key: ${{ runner.os }}-tusk-drift-${{ hashFiles('.tusk/config.yaml') }} api-key: ${{ secrets.TUSK_DRIFT_API_KEY }}