Skip to content

test(server-utils): Remove ioredis unit test that replicated SDK async-context logic#22099

Merged
andreiborza merged 1 commit into
developfrom
ab/remove-ioredis-unit-test
Jul 8, 2026
Merged

test(server-utils): Remove ioredis unit test that replicated SDK async-context logic#22099
andreiborza merged 1 commit into
developfrom
ab/remove-ioredis-unit-test

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 8, 2026

Copy link
Copy Markdown
Member

Removes the ioredis unit test that stubbed the SDK's async context strategy to drive spans, which replicated SDK internals in the test layer. Per the review thread in #21885, we rely on the integration tests instead.

The orchestrion path is covered by the redis (ioredis scenario) and redis-cache node integration suites. The responseHook and connect-span cases aren't cleanly testable on the orchestrion path (the hook is wired internally for caching) and these suites are Docker-gated, so they're left as a possible follow-up rather than migrated now.

Ref: #21885 (comment)

…c-context logic

The suite stubbed the SDK's async context strategy via `setAsyncContextStrategy` to
drive spans, duplicating SDK internals in the test layer. The ioredis node integration
suite already covers the orchestrion path end to end.

Co-Authored-By: Opus 4.8 <noreply@anthropic.com>
@andreiborza andreiborza requested a review from a team as a code owner July 8, 2026 15:25
@andreiborza andreiborza requested review from JPeer264, chargome, isaacs, logaretm and mydea and removed request for a team July 8, 2026 15:25
@andreiborza andreiborza merged commit 8cb9a9a into develop Jul 8, 2026
416 of 419 checks passed
@andreiborza andreiborza deleted the ab/remove-ioredis-unit-test branch July 8, 2026 16:48
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.

2 participants