Skip to content

Remove redundant logging preview-test coverage - #20579

Merged
laurit merged 2 commits into
mainfrom
copilot/task-20510-logging-cleanup
Oct 13, 2026
Merged

laurit merged 2 commits into
mainfrom
copilot/task-20510-logging-cleanup

Conversation

Copilot AI commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Remove duplicate common-preview test configuration from the logging appenders while preserving their supported regression coverage.

  • Log4j: Remove the redundant preview task; retain the root-context regression test.
  • Logback: Drop the obsolete preview override; retain all three structured-attribute exclusion tasks.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Clean up logging preview-test by removing duplicates Remove redundant logging preview-test coverage Oct 13, 2026
Copilot AI requested a review from trask October 13, 2026 17:25
@opentelemetry-pr-dashboard

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

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-10-13 18:40 UTC

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

@trask
trask marked this pull request as ready for review October 13, 2026 17:42
@trask
trask requested a review from a team as a code owner October 13, 2026 17:42
@opentelemetry-pr-dashboard
opentelemetry-pr-dashboard Bot requested a balanced review from Copilot October 13, 2026 17:46

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 removed configuration is redundant with defaults, and the relevant regression tasks remain wired into verification.

0 open findings

What changed in this PR

Removes redundant v3-preview test configuration while retaining targeted logging regression coverage.

Changes:

  • Removes Log4j’s duplicate preview test task.
  • Runs the root-context regression under the default configuration.
  • Removes Logback’s redundant explicit default override.
File Description
instrumentation/​logback/​logback-appender-1.0/​javaagent/​build.gradle.kts Simplifies structured-attribute exclusion tasks.
instrumentation/​log4j/​log4j-appender-2.17/​library/​src/​test/​java/​io/​opentelemetry/​instrumentation/​log4j/​appender/​v2_17/​OpenTelemetryAppenderTest.java Removes an unnecessary default-mode annotation.
instrumentation/​log4j/​log4j-appender-2.17/​javaagent/​build.gradle.kts Removes duplicate preview task and wiring.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@laurit
laurit merged commit b323000 into main Oct 13, 2026
127 of 129 checks passed
@laurit
laurit deleted the copilot/task-20510-logging-cleanup branch October 13, 2026 18:39
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