← 输入框|github.com|刷新
Skip to content

chore(api-gate): clear the installed baseline before comparing so the branch build doesn't shadow it - #491

Merged
dargmuesli merged 1 commit into
mainfrom
chore/api-gate-clear-baseline
Nov 4, 2026
Merged

dargmuesli merged 1 commit into
mainfrom
chore/api-gate-clear-baseline

Conversation

@dargmuesli

Copy link
Copy Markdown
Member

The API compatibility gate compares the current build against the last stable release, but when the branch version equals the baseline (the normal case between releases) the build step first installs that version into the local Maven repository, so japicmp resolved the branch's own build as the baseline and compared it against itself, passing regardless of what the PR changed.

The workflow now clears that baseline from the local repository before running the comparison, forcing it to re-resolve from Maven Central, and the pom comment documents the same clearing step for local runs so the trap is visible there too.

@dargmuesli
dargmuesli enabled auto-merge November 4, 2026 13:49
@dargmuesli
dargmuesli merged commit 1dcd80e into main Nov 4, 2026
9 checks passed
@dargmuesli
dargmuesli deleted the chore/api-gate-clear-baseline branch November 4, 2026 13:50
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.70%. Comparing base (2f966eb) to head (57fb1af).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #491   +/-   ##
=========================================
  Coverage     46.70%   46.70%           
  Complexity      692      692           
=========================================
  Files           209      209           
  Lines          6276     6276           
  Branches        759      759           
=========================================
  Hits           2931     2931           
  Misses         2783     2783           
  Partials        562      562           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant