Skip to content

Fix HTTP error response leaks in browser tests - #5

Merged
icesixgod merged 1 commit into
mainfrom
codex/fix-http-error-resource-warnings
Sep 4, 2026
Merged

icesixgod merged 1 commit into
mainfrom
codex/fix-http-error-resource-warnings

Conversation

@icesixgod

Copy link
Copy Markdown
Owner

Summary

  • Close every expected urllib.error.HTTPError response in the loopback browser tests.
  • Prevent delayed Python 3.14 resource warnings from surfacing as failures in unrelated tests.
  • Make the Python 3.14 runtime matrix reject ResourceWarning and PytestUnraisableExceptionWarning regressions.

This changes test resource lifecycle and CI coverage only; user-visible runtime behavior is unchanged.

Privacy impact

None. This does not change session discovery, returned task content, redaction, full-detail consent, or any production data path.

Validation

  • uv run ruff format --check .
  • uv run ruff check .
  • uv run mypy
  • uv run mypy --no-incremental --platform win32
  • uv run pytest --cov --cov-report=term-missing — 361 passed, 43 skipped; 84.08% coverage
  • Python 3.10, 3.12, 3.13, and 3.14 non-UI matrix — 361 passed per version
  • Python 3.14 resource-warning gate — 361 passed
  • Chromium UI suite — 38 passed
  • uv run python scripts/validate_release.py
  • uv run python scripts/smoke_mcp.py
  • English and Chinese documentation remain synchronized; no behavior changed.
  • No real logs, credentials, base instructions, encrypted reasoning, or unredacted screenshots are included.

@icesixgod
icesixgod merged commit 9d5edd0 into main Sep 4, 2026
15 checks passed
@icesixgod
icesixgod deleted the codex/fix-http-error-resource-warnings branch October 22, 2026 07:44
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