You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/09 20:49:25 UTC

(maven-gh-actions-shared) branch agent/bench-defender created (now 5dc3e19)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch agent/bench-defender
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


      at 5dc3e19  TEMP: A/B benchmark harness for the Defender exclusions

This branch includes the following new commits:

     new 5dc3e19  TEMP: A/B benchmark harness for the Defender exclusions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-gh-actions-shared) 01/01: TEMP: A/B benchmark harness for the Defender exclusions

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch agent/bench-defender
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git

commit 5dc3e19224f9f75ba0340fdec5f8d142543b4d50
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Aug 9 22:49:16 2026 +0200

    TEMP: A/B benchmark harness for the Defender exclusions
    
    Delete with the branch once the numbers are in.
    
    Generated-by: Claude Opus 5 (1M context)
---
 .github/workflows/zz-bench-defender.yml | 43 +++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/.github/workflows/zz-bench-defender.yml b/.github/workflows/zz-bench-defender.yml
new file mode 100644
index 0000000..219a6d1
--- /dev/null
+++ b/.github/workflows/zz-bench-defender.yml
@@ -0,0 +1,43 @@
+# TEMPORARY - benchmark harness for the Defender exclusion change. Delete before merge.
+name: zz-bench-defender
+
+on:
+  workflow_dispatch:
+
+permissions: {}
+
+jobs:
+  bench:
+    name: bench ${{ matrix.arm }} run-${{ matrix.rep }}
+    runs-on: windows-latest
+    timeout-minutes: 60
+    strategy:
+      fail-fast: false
+      matrix:
+        arm: [ 'baseline', 'excluded' ]
+        rep: [ 1, 2 ]
+
+    steps:
+      - name: Exclude build directories from Microsoft Defender
+        if: matrix.arm == 'excluded'
+        uses: apache/maven-gh-actions-shared/.github/actions/windows-defender-exclusions@agent/windows-defender-exclusions
+
+      - name: Checkout maven-dependency-plugin
+        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+        with:
+          repository: apache/maven-dependency-plugin
+          ref: 192310dadb536d34cd1f2981ac09fdc6bfb53f9c
+          persist-credentials: false
+
+      - name: Set up JDK
+        uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
+        with:
+          java-version: '21'
+          distribution: 'zulu'
+          cache: 'maven'
+
+      - name: Set up Maven
+        run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-6"
+
+      - name: Build with Maven
+        run: ./mvnw --errors --batch-mode --show-version -D"invoker.streamLogsOnFailures" -P run-its verify