Skip to content

fix(playwright): track and drain in-flight rendering detections on teardown - #4100

Open
Yash-Hirgude wants to merge 4 commits into
apify:masterfrom
Yash-Hirgude:feature/inFlightRenderingTypeDetectionCount
Open

fix(playwright): track and drain in-flight rendering detections on teardown#4100
Yash-Hirgude wants to merge 4 commits into
apify:masterfrom
Yash-Hirgude:feature/inFlightRenderingTypeDetectionCount

Conversation

@Yash-Hirgude

Copy link
Copy Markdown
Contributor

fix(playwright): track and drain in-flight rendering detections on teardown

  • Track active detection promises inside activeDetections
  • Expose drainRenderingDetections() to await pending detections
  • Automatically drain detections during teardown() before disposing predictor
  • Add unit tests for detection tracking and draining lifecycle

Closes #4074

@janbuchar
janbuchar self-requested a review September 3, 2026 10:32
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.

inFlightRenderingTypeDetectionCount is gone in v4

3 participants