Skip to content
Discussion options

You must be logged in to vote

Yes — this is the architectural regression guard. Commit a baseline like a lockfile for your architecture, and the PR that introduces a new cycle fails its build the same day.

1. Capture the baseline once, commit it:

./mvnw spring-boot:run \
  -Dspring-boot.run.arguments="--wiredoctor.baseline=wiredoctor-baseline.json --wiredoctor.baseline-write=true"
git add wiredoctor-baseline.json && git commit -m "chore: WireDoctor baseline"

2. Arm the gate in CI:

# application-ci.properties
wiredoctor.baseline=wiredoctor-baseline.json
wiredoctor.fail-on=new-cycle

A tripped gate fails startup with a precise message (WireDoctorRegressionException), writes wiredoctor-gate.status (PASS/FAIL) and wiredoct…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ddsha441981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant