Repository navigation
ci: switch both CI jobs to standard Maven -T1C, drop mvnd - #3539
Merged
xzxiaoshan merged 2 commits intoOct 14, 2026
Merged
Conversation
- Linux/Windows: -T1 -> -T1C (one thread per core); Maven schedules parallel builds by the dependency graph, so reactor ordering holds — the old -T1 rationale was an mvnd-specific spotless lock issue - Windows: use the preinstalled standard Maven; remove MVND_VERSION, mvnd cache/install steps, mvnd-cache-path and -Dmvnd.maxLostKeepAlive
10s was the only failure observed under heavy parallel test load (32 concurrent test JVMs); 30s keeps the CI signal clean under -T1C.
jujn
approved these changes
Oct 14, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Oct 14, 2026
jujn
pushed a commit
that referenced
this pull request
Oct 14, 2026
…#3543) Follow-up to #3526 and #3539 from the same CI build-time effort. Two independent workflow-level changes, split into separate commits. ## Summary - Add a workflow-level `concurrency` group so a new push to a PR cancels that PR's superseded in-flight run. Pushes to main are unaffected: they use a separate group, and `cancel-in-progress` is only true for `pull_request` events. - On the Linux build step, skip javadoc/source jars — but only for `pull_request`-triggered runs, via an event-gated env var (`PR_SKIP_FLAGS`). Pushes to main still build them, so javadoc/doclint breakage still surfaces on main before a release. The pom is untouched: local builds and the release process behave exactly as before.
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.
Follow-up to #3526, from the same CI build-time investigation.
Summary
-T1C(one thread per core) using the standard Maven preinstalled on both runners, replacing the single-threaded-T1(Windows previously ran mvnd pinned to-T1, so it never actually built in parallel).MVND_VERSION, theCache mvnd/Install mvndsteps,mvnd-cache-pathin the matrix, and-Dmvnd.maxLostKeepAlive=120..block(...)timeout inAnthropicChatModelAuthenticationTest.assertExchangeto 30s. This was the only failure observed under heavy parallel test load (32 concurrent test JVMs) — a test-robustness issue unrelated to build correctness, but one that would pollute the CI signal under-T1C.Why
-T1can be lifted-T1was introduced in Introduce multiagent pattern practices and docs. #910 to keep reactor order so agentscope-core is built before the modules that resolve it. That rationale does not hold:clean verifynever installs anything, and Maven's parallel builder schedules modules by the dependency graph, so reactor ordering is guaranteed at any thread count.-T1actually papered over was spotless lock contention under mvnd's parallel execution (spotless-maven-plugin:check failed: Could not acquire lock(s), about a dozen modules). Reproduced locally on the Introduce multiagent pattern practices and docs. #910 tree with mvnd 1.0.3 at default parallelism; the same tree with standard Maven at-T1C(32 threads) builds clean, and spotless 3.3.0/3.4.0 under 12-way standard-Maven concurrency shows no lock errors. The module that originally triggered it was removed in cc3b2ee (2026-06).mvnremoves the remaining mvnd-specific failure sources plus the mvnd install/cache overhead.Verification (local, 32-core / Maven 3.9.9 standard mvn)
-T1C(32 threads) full lifecycle without executing tests: clean, zero remote resolution ofio.agentscopeartifacts.-T1Cfull build with tests (32 concurrent test JVMs): all green except one 10s-timeout flake inAnthropicChatModelAuthenticationTest; the same class re-run in isolation passes 13/13 (addressed by the companion commit).-T4(CI 4-vCPU equivalent) full build with tests: 10,582 tests, 0 failures, 0 errors.-T1Cdependency-chain build of the anthropic module plusAnthropicChatModelAuthenticationTest: 13/13 pass.Rollback
Workflow/command-line-level change only — no artifact content changes; reverting the commit fully rolls back.