Repository navigation
ci: add measured job timeouts to junit5 workflows and fail-open path triggers - #199
Merged
Merged
Conversation
Add measured job timeouts (with a 10-minute floor) to the two GitHub
Actions jobs that still fell back to GitHub's 6-hour default, and align
path triggers to run all suites on main pushes while staying fail-open on
pull requests:
- .github/workflows/junit5-sdk.yml:
- Set timeout-minutes: 10 on jobs.rows, derived from all 6 historical runs
(41519655857..44957704902, 2026-11-02..2026-11-21; n=17 successful
matrix legs across JDK 8/17/21: min 16s, p50 25s, p95 88s, max 88s ->
2x p95 = 176s), floored at max(2x p95, 10m) so small-sample runner/Maven
Central jitter cannot flake the job while still stopping a 6-hour hang.
- Remove the push path filter on main so every push to main exercises
junit5-sdk (pull_request path filter and workflow_call unchanged).
- .github/workflows/keploy-junit5-release.yml:
- Set timeout-minutes: 10 on jobs.dry-run, derived from all 5 historical
runs (41519655995..44957701223, 2026-11-02..2026-11-21; n=5: min 31s,
p50 31s, p95 49s, max 49s -> 2x p95 = 98s), floored at max(2x p95, 10m).
- .github/workflows/java-agent.yml:
- Add fail-open pull_request paths-ignore for keploy-junit5/** (isolated
standalone Maven module not listed in root pom.xml and not consumed by
keploy-sdk build, tests, or scripts). Any change to keploy-sdk/, root
pom.xml, scripts/, workflows, or any new top-level path still runs the
full 4-JDK matrix on every pull request, and pushes to main stay
unfiltered.
No jobs, JDK matrix entries, steps, or pinned action SHAs are removed or weakened.
Signed-off-by: slayerjain <shubhamkjain@outlook.com>
slayerjain
force-pushed
the
chore/ci-parity-java-sdk-timeouts
branch
from
November 29, 2026 07:55
7f1f959 to
0fbc1b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Close the remaining GitHub Actions job-timeout and path-filter gaps in
keploy/java-sdk(rebased ontomainafter #197) without removing or weakening any job, JDK leg, or test step:junit5-sdk.ymlrowsjob (timeout-minutes: 10):41519655857..44957704902,2026-11-02..2026-11-21;n=17successful matrix legs across JDK 8/17/21): min16 s, p5025 s, p9588 s, max88 s->2 × p95 = 176 s (2.93 m).max(2 × p95, 10 minutes)(10minutes) because 6 historical runs are too small a sample 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.keploy-junit5-release.ymldry-runjob (timeout-minutes: 10):.github/workflows/falling back to GitHub's 6-hour default).41519655995..44957701223,2026-11-02..2026-11-21;n=5): min31 s, p5031 s, p9549 s, max49 s->2 × p95 = 98 s (1.63 m), floored atmax(2 × p95, 10 minutes)(10minutes).junit5-sdk.ymlon every push tomain:paths:fromon.pushin.github/workflows/junit5-sdk.ymlso every commit landed onmainruns the fullkeploy-junit5matrix and e2e suite (on.pull_request.pathsandworkflow_callare unchanged).pull_requestfilter onjava-agent.yml:paths-ignore: ["keploy-junit5/**"]underon.pull_requestin.github/workflows/java-agent.yml(while keepingon.push: branches: [main]completely unfiltered and preserving feat(dedup): enable safe dedup on Jetty 11/12 and Undertow 2.2/2.3 #197'stimeout-minutes: 20).main(2dc7ff2): rootpom.xmllists only<module>keploy-sdk</module>, andkeploy-junit5/is not consumed bykeploy-sdk's build, tests, orscripts/.paths-ignoreis fail-open, any change tokeploy-sdk/, rootpom.xml,scripts/,.github/workflows/, or any new top-level file/directory still runs the full 4-JDK matrix on every pull request regardless of target branch.mainhas no required status checks that a filtered PR would block.Verification
.github/workflows/and verified every non-reusable job now declarestimeout-minutes >= 10:java-agent.yml:verify(20, from feat(dedup): enable safe dedup on Jetty 11/12 and Undertow 2.2/2.3 #197)junit5-sdk.yml:rows(10),e2e(15)keploy-junit5-release.yml:publish(150),dry-run(10)release.yml:publish(150),github-release(45)junit5-sdk.ymlandkeploy-junit5-release.ymlvsorigin/main(2dc7ff2).