Skip to content

Expose resolution diagnostics when Muzzle assertPass fails - #20581

Merged
laurit merged 3 commits into
mainfrom
copilot/trask-muzzle-resolution-diagnostics-b7b0ed
Oct 14, 2026
Merged

laurit merged 3 commits into
mainfrom
copilot/trask-muzzle-resolution-diagnostics-b7b0ed

Conversation

Copilot AI commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Failed Muzzle assertPass checks currently hide exceptions collected during lenient dependency resolution. This change exposes those exceptions and their causes without changing compatibility decisions.

  • Diagnostics: Report resolution failures only when assertPass validation throws, then rethrow the original Muzzle exception. Successful checks and assertFail checks remain unchanged.
  • Configuration cache: Capture diagnostics as text rather than Gradle resolution objects.

Resolution failures are diagnostic evidence, not proof of what caused a Muzzle mismatch.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-14 06:05 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Expose collected resolution exceptions for assertPass failures Expose resolution diagnostics when Muzzle assertPass fails Oct 13, 2026
Copilot AI requested a review from trask October 13, 2026 18:19

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot remove this file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 2c9b1d8, along with the now-unused TestKit dependency. Remaining plugin tests pass.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI requested a review from trask October 13, 2026 18:32
@trask
trask marked this pull request as ready for review October 13, 2026 18:33
@trask
trask requested a review from a team as a code owner October 13, 2026 18:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The claimed regression coverage for diagnostics and configuration-cache reuse is absent.

1 open finding

🧠 Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The diagnostic path is correctly limited to failed assertPass validation and preserves the original failure behavior.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

@laurit
laurit merged commit 5732a24 into main Oct 14, 2026
71 checks passed
@laurit
laurit deleted the copilot/trask-muzzle-resolution-diagnostics-b7b0ed branch October 14, 2026 06:04
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.

4 participants