Skip to content

Fix SDK async file IO, session races and resource cleanup - #30

Merged
Cavanshirpro merged 10 commits into
python-libraryfrom
codex/sdk-night-maintenance
Oct 17, 2026
Merged

Cavanshirpro merged 10 commits into
python-libraryfrom
codex/sdk-night-maintenance

Conversation

@Cavanshirpro

@Cavanshirpro Cavanshirpro commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

The SDK now handles non-standard JSON numeric constants, overflowing floating-point exponents and interpreter-limited integers through its HTTP-error/observer contract. Finite numbers/null retain their usual values. Error text redacts full URL credentials before truncation so long passwords cannot leak their prefix.

Earlier maintenance isolates stale auth/session responses, owns asynchronous file IO and HTTP response/transport closure, drains cluster resources, validates numeric concurrency policies, preserves valid JSON null and confines source manifests. Existing keyed POST retry/failover remains an explicit caller promise that the server endpoint implements idempotency; this contract is unchanged.

Validation:236 tests passed,90.95% branch-aware coverage and all critical floors. Ruff/format/compile/Bandit,68-file manifest, isolated wheel+sdist and current Main ASGI contract passed. All 26 latest-head GitHub checks passed.

Frozen v0.5.2 drafts/tags/assets are unchanged and do not contain these maintenance fixes. Shipping them requires reviewed merges, rebuilt verified candidates and a refreshed release plan. No public release was published.

@Cavanshirpro Cavanshirpro changed the title Prevent file upload replay and drain cancelled SDK bulk work Fix SDK async file IO, session races and resource cleanup Oct 12, 2026
@Cavanshirpro
Cavanshirpro marked this pull request as ready for review October 17, 2026 16:33
@Cavanshirpro
Cavanshirpro merged commit 36a7cb5 into python-library Oct 17, 2026
26 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