omegazheng commented on PR #534: URL: https://github.com/apache/maven-build-cache-extension/pull/534#issuecomment-7242030802
Thank you for this fix — we hit exactly this issue in a CI evaluation on a 48-module multi-reactor with an external SNAPSHOT dependency graph. We ran our stale-restore probe (the ADR-019 D10 fixture, a synthetic reactor with a remote file repository) against 1.3.0 and against this PR head (3db7dae): - 1.3.0 baseline: all three failure modes reproduced — resolver-freshness, transitive artifact change behind an unchanged wrapper, and a wrapper POM-only graph change all restored stale outputs. - PR head: the transitive-artifact and POM-only-graph cases now invalidate correctly (0 restore lines, full recompile of the consumers), and warm-restore controls still pass, so invalidation is not over-broad at this level. - The resolver-freshness case still restores under the default daily update policy — that is Maven-resolver download-policy behavior rather than a cache-key defect, and the forced-refresh branch invalidates correctly on the patched build. We handle that layer separately in our CI (we purge the affected groups from the local repository before each build). - The PR's own suite passes: unit tests 111/0 (4 skipped), and TransitiveSnapshotTest ITs 8/8 under -Prun-its. From our side this unblocks the cache-key concern. Thanks again for preparing this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
