Skip to content

Fix the build - #20859

Merged
trask merged 1 commit into
mainfrom
trask-ci-failure-analysis-5e6
Oct 22, 2026
Merged

trask merged 1 commit into
mainfrom
trask-ci-failure-analysis-5e6

Conversation

@trask

@trask trask commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Use the existing TEST_HASH_MAP constant in the Lettuce 5 Redis error classification test. The stale field name prevents CI from compiling tests.

#20841 renamed the field from testHashMap to TEST_HASH_MAP, while #20778 added a test referencing the old name. Both changes merged without a textual conflict, leaving main unable to compile the test.

Use the renamed TEST_HASH_MAP constant in the Redis error classification test.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0e29dd24-2961-451c-8c29-a44d4b5ab078
@opentelemetry-pr-dashboard

Copy link
Copy Markdown

Pull request dashboard status

Waiting on the author · refreshed 2026-10-22 15:43 UTC

Move out of draft to request review.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@trask trask changed the title Fix Lettuce async test hash map reference Fix the build Oct 22, 2026

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 single-line correction uses the existing initialized fixture and leaves no unresolved review issues.

No open issues 🎉

What changed in this PR

Corrects the Lettuce 5 async Redis error-classification test to use its existing fixture constant, addressing the stale reference that prevented test compilation.

Changes:

  • Replaces testHashMap with TEST_HASH_MAP without changing the test’s intended behavior.
File Description
instrumentation/​lettuce/​lettuce-5.0/​javaagent/​src/​test/​java/​io/​opentelemetry/​javaagent/​instrumentation/​lettuce/​v5_0/​LettuceAsyncClientTest.java Corrects the hash-map fixture reference.

Review effort: Balanced

@trask
trask marked this pull request as ready for review October 22, 2026 16:00
@trask
trask requested a review from a team as a code owner October 22, 2026 16:00
@trask
trask enabled auto-merge (squash) October 22, 2026 16:01
@trask
trask merged commit e6f73ec into main Oct 22, 2026
70 checks passed
@trask
trask deleted the trask-ci-failure-analysis-5e6 branch October 22, 2026 16:06
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.

3 participants