From c393be7a2f5cde844e7cfe272d3917ef08fc2bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20J=C4=99drecki?= Date: Tue, 25 Aug 2026 13:54:18 +0200 Subject: [PATCH 1/3] Don't fail entire test-pypi deploys on AppInspect failing --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 97d0b317..bc497eac 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -51,6 +51,7 @@ jobs: - name: Build packages for distribution run: uv build - name: Run AppInspect + if: startsWith(github.ref, 'refs/tags/') == true uses: ./.github/actions/run-appinspect - name: Upload distributables uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a From 699f8157df33c3502efc84980990a77a99544023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20J=C4=99drecki?= Date: Tue, 25 Aug 2026 15:16:10 +0200 Subject: [PATCH 2/3] Disable AppInspect in PRs, fix warnings --- .github/workflows/appinspect.yml | 4 +--- .github/workflows/cd.yml | 2 +- .github/workflows/lint.yml | 1 - .github/workflows/test.yml | 6 ++---- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/appinspect.yml b/.github/workflows/appinspect.yml index 9bb08895..f4ad1dd5 100644 --- a/.github/workflows/appinspect.yml +++ b/.github/workflows/appinspect.yml @@ -2,11 +2,10 @@ name: Validate SDK with Splunk AppInspect on: push: branches: [develop, master] - pull_request: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: {} @@ -21,7 +20,6 @@ jobs: persist-credentials: false - uses: ./.github/actions/setup-sdk-environment with: - python-version: 3.13 deps-group: lint - name: Run AppInspect uses: ./.github/actions/run-appinspect diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bc497eac..cc22a376 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: false permissions: {} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aaad004f..0d341bdd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,7 +21,6 @@ jobs: persist-credentials: false - uses: ./.github/actions/setup-sdk-environment with: - python-version: ${{ matrix.python-version }} deps-group: lint - name: Verify uv.lock is up-to-date run: uv lock --check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 75ab36f7..bc645e1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,6 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.13] splunk-version: [latest] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 @@ -25,7 +24,6 @@ jobs: persist-credentials: false - uses: ./.github/actions/setup-sdk-environment with: - python-version: ${{ matrix.python-version }} deps-group: test - name: Download Splunk MCP Server App continue-on-error: true @@ -57,8 +55,8 @@ jobs: uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 with: path: .pytest_cache - key: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}-${{ github.sha }} - restore-keys: pytest-cache-${{ runner.os }}-py${{ matrix.python-version }}-${{ github.ref_name }}- + key: pytest-cache-${{ runner.os }}-${{ github.ref_name }}-${{ github.sha }} + restore-keys: pytest-cache-${{ runner.os }}-${{ github.ref_name }}- - name: Run unit tests run: make test-unit - name: Run integration/system tests From 7cf6e73709d7f966f5d16abfc76ab84ee1d3ff53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20J=C4=99drecki?= Date: Tue, 25 Aug 2026 16:43:58 +0200 Subject: [PATCH 3/3] Reenable AppInspect in PRs --- .github/workflows/appinspect.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appinspect.yml b/.github/workflows/appinspect.yml index f4ad1dd5..08718566 100644 --- a/.github/workflows/appinspect.yml +++ b/.github/workflows/appinspect.yml @@ -2,10 +2,11 @@ name: Validate SDK with Splunk AppInspect on: push: branches: [develop, master] + pull_request: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true permissions: {}