apple / apple/servicetalk

Test that all filters with deferred state correctly propagate AsyncContext

Open
#1,312 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
1k
Forks
230
Avg merge
23h 23m
Merged PRs (30d)
16

Description

We had a few cases when we used `Single.defer` operator in filters but did not apply `Single.subscribeShareContext()` operator. For example, see #1302 and #1308. Ideally we should improve our test harness for `AsyncContext` to be able to test that any filters propagate `AsyncContext` correctly.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the cases in issues #1302 and #1308 involving Single.defer without Single.subscribeShareContext(). Then inspect the existing AsyncContext test harness and filter tests to identify how deferred state is exercised. Done means the harness verifies that all relevant filters correctly propagate AsyncContext.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.