Skip to content

ci: cut the Checks job's log noise (#2235) - #2243

Merged
zackees merged 2 commits into
masterfrom
ci/format-log-noise
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/format-log-noise

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2235.

  • RED (local, committed first): local_gate.py now runs each ci/ self-test with -W default::ResourceWarning. A file whose output contains a ResourceWarning fails. -W error can't do this, because these warnings come from destructors. With the gate change alone, test_tool_guard.py fails.
  • GREEN:
    • test_tool_guard.py closes the file it reads the shebang from.
    • test_native_cache_release_store.py closes its HTTPErrors. The 403 leak doesn't show on my local Python but does on CI's, so I fixed it anyway.
  • Checks job:
    • The ci/ Self-Tests step now runs local_gate.py --only self-test, so CI enforces the same leak check, with 8 workers.
    • The checkout is shallow, followed by one quiet fetch. Full history and tags are the same as before, without the 1,018 [new tag] / [new branch] lines. I left the swift-format job alone, since it rarely runs.
  • No new workflow file.

@zackees
zackees enabled auto-merge October 24, 2026 21:31
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 915f531 Oct 24, 2026
30 checks passed
@zackees
zackees deleted the ci/format-log-noise branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Format checks log is mostly noise (1018 fetched refs, 781 ResourceWarning lines)

1 participant