Skip to content

fix: Fix archetype tests in CI - #1259

Merged
Jonas-Isr merged 3 commits into
mainfrom
fix-archetype-tests
Aug 25, 2026
Merged

fix: Fix archetype tests in CI#1259
Jonas-Isr merged 3 commits into
mainfrom
fix-archetype-tests

Conversation

@Jonas-Isr

@Jonas-Isr Jonas-Isr commented Aug 25, 2026

Copy link
Copy Markdown
Member

Context

A new archetype (spring-boot4) got added recently. Unfortunately, that caused a degradation in the CI pipeline:

The build job of the CI pipeline runs Maven with --threads 1C (multi-threaded) and thus both archetype modules write to the shared ~/.m2/repository/archetype-catalog.xml during mvn install. This causes a race condition where one archetype's entry can overwrite the other's, leaving the catalog with potentially only one entry. The test-archetypes job then fails with "Specified archetype not found" for spring-boot3 — seemingly randomly depending on thread scheduling. (See for example here.)

Additionally, the new archetype spring-boot4 is never tested in in the CI pipeline.

This PR addresses both issues by building the archetypes sequentially and adding the new archetype to the test matrix.

Successful CI run with the new setup here.

@Jonas-Isr Jonas-Isr changed the title fix: Fix archetype tests fix: Fix archetype tests in CI Aug 25, 2026
@Jonas-Isr Jonas-Isr self-assigned this Aug 25, 2026
@Jonas-Isr Jonas-Isr added the please review Request to review a pull request label Aug 25, 2026
@Jonas-Isr
Jonas-Isr merged commit 70f6e0e into main Aug 25, 2026
26 checks passed
@Jonas-Isr
Jonas-Isr deleted the fix-archetype-tests branch August 25, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please review Request to review a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants