Skip to content

Pin GALAXYSCOPE_MAX_WORKERS=1 in parallel scan tools (Fixes #4896) - #4899

Merged
squid-protocol merged 1 commit into
mainfrom
fix/4896-gauntlet-workers
Oct 11, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/4896-gauntlet-workers

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #4896

The unicode gauntlet ran --jobs scans in parallel, each starting its own extraction worker pool (N x N). Now sets GALAXYSCOPE_MAX_WORKERS=1 via setdefault (an explicit caller value wins), as tests/conftest.py does under xdist (#3913).

Changed: tests/tools/unicode_gauntlet.py (scan env), cultural_gauntlet.py (_run_cell, ProcessPool cells), import_graph_accuracy.py (scan_group, threaded subprocess scans). Test: tests/tools/test_unicode_gauntlet_scan_env.py.
Left: rosetta_audit.py (external verifier, <=4 jobs, 900s timeout), det_survey.py / cics_census.py (translation, no galaxyscope scan).

Evidence (heavy-run.sh, unicode_gauntlet.py, 950 cells, box_status/loadavg sampled every 10s):

  • before: wall 182s, peak 1-min load 82.5, verdict RED
  • after: wall 39s, peak load 10.5, verdict YELLOW
  • results.json and report.md byte-identical; 950/950 pass both.
    Gates: pr_gates --fast 5/5, --ratchets 7 pass 0 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX

unicode_gauntlet ran --jobs scans at once, each starting its own extraction
worker pool (N x N processes; load 79 on 12 cores). Also set in
cultural_gauntlet pool cells and import_graph_accuracy scan_group. An explicit
caller value wins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 11, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 11, 2026 13:09
@squid-protocol
squid-protocol enabled auto-merge (squash) October 11, 2026 13:09
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unicode_gauntlet: parallel scans each start their own worker pool (set GALAXYSCOPE_MAX_WORKERS=1) — one gate ran load 79 on 12 cores

1 participant