Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/java-agent.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Java Agent

on:
# Deliberately unfiltered: the Woodpecker pipeline this replaced ran the
# matrix on every pull request regardless of target, and this repo has
# several long-lived integration branches that would otherwise get no CI.
# Fail-open filter: skip only pull requests whose changes stay entirely
# inside the standalone keploy-junit5/ Maven module (tested by
# junit5-sdk.yml). Any change to keploy-sdk/, root pom.xml, scripts/,
# workflows, or any new top-level path still runs the full matrix on every
# pull request regardless of target branch, and every push to main runs
# unfiltered.
pull_request:
paths-ignore:
- "keploy-junit5/**"
push:
branches: [main]

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/junit5-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
- ".github/workflows/junit5-sdk.yml"
push:
branches: [main]
paths:
- "keploy-junit5/**"
- ".github/workflows/junit5-sdk.yml"
# keploy-junit5-release.yml runs these rows and the e2e lane on a release
# tag before it publishes.
workflow_call:
Expand All @@ -22,6 +19,14 @@ jobs:
rows:
name: rows (JDK ${{ matrix.java }}, JUnit ${{ matrix.junit }})
runs-on: ubuntu-latest
# Derived from all 6 historical runs (41519655857..44957704902,
# 2026-11-02..2026-11-21; n=17 successful legs across JDK 8/17/21):
# min 16 s, p50 25 s, p95 88 s, max 88 s -> 2x p95 = 176 s (2.93 m).
# Floored at 10 minutes (max(2x p95, 10 m)) because 6 historical runs are
# too few to size a 3-minute bound safely against shared GitHub runner and
# Maven Central jitter, while 10 minutes still stops a 6-hour hang with no
# flake risk.
timeout-minutes: 10
strategy:
# One leg failing must not cancel the others: each leg's result is its
# own.
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/keploy-junit5-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ jobs:
name: release build, dry run
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
# Derived from all 5 historical runs (41519655995..44957701223,
# 2026-11-02..2026-11-21; n=5 successful runs): min 31 s, p50 31 s,
# p95 49 s, max 49 s -> 2x p95 = 98 s (1.63 m). Floored at 10 minutes
# (max(2x p95, 10 m)) because 5 historical runs are too few to size a
# 2-minute bound safely against shared GitHub runner and Maven Central
# jitter, while 10 minutes still stops a 6-hour hang with no flake risk.
timeout-minutes: 10
defaults:
run:
shell: bash # -eo pipefail: a failed command before a pipe fails the step
Expand Down
Loading