Skip to content

Fix/pre 2.0.0 regressions - #20

Merged
dzmitry-duboyski merged 3 commits into
mainfrom
fix/pre-2.0.0-regressions
Nov 16, 2026
Merged

dzmitry-duboyski merged 3 commits into
mainfrom
fix/pre-2.0.0-regressions

Conversation

@dzmitry-duboyski

Copy link
Copy Markdown
Contributor

Fix two regressions from debug mode before the 2.0.0 release.

  • solve(): polling timeout starts after createTask again, as in 1.x.
  • Non-2xx HTTP status fails immediately without debug, instead of waiting for the body.
  • examples/debug_mode.js: no longer calls the debug log "safe to share".

dzmitry-duboyski and others added 3 commits November 17, 2026 00:39
A slow createTask call no longer eats into the polling budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without debug the error body is not needed, so a proxy that sends 502
headers and stalls the body no longer delays the error until the timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dzmitry-duboyski
dzmitry-duboyski merged commit 0270008 into main Nov 16, 2026
6 checks passed
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.

1 participant