Skip to content

fix: restore Kaggle worker and repair failing fast tests on main - #229

Merged
jdueadev merged 1 commit into
mainfrom
fix/main-test-failures
Nov 13, 2026
Merged

jdueadev merged 1 commit into
mainfrom
fix/main-test-failures

Conversation

@jdueadev

Copy link
Copy Markdown
Owner

Fixes the 19 make test-fast failures on main (surfaced by the new Tests workflow in #228).

Real bugs

  • Kaggle worker restored. 6d9fe7f deleted scripts/kaggle_worker_entry.py and scripts/kaggle_runtime_env.py as obsolete, but kaggle_runner, kernel_package, remote_package and colab_runner still package and run them, so every Kaggle launch would fail during bootstrap. Restored from 6d9fe7f~1.
  • rollout-phase-profile crash. SystemExit(msg, file=sys.stderr) raises TypeError. It now exits with the message, and a test covers this.
  • Kaggle submission closure. factored_decode_scan, map_pool/load and map_pool/bake are imported by packaged modules but weren't in RUNTIME_FILES.

Stale tests and docs

  • src.training.curriculum → src.opponents.curriculum (moved in d00030e).
  • bounds_exit_time test assumed a 1-unit board. BOARD_SIZE is 100, so the test now starts at the right edge.
  • Preflight sweep reseed_every_updates was intentionally changed to 100 in 9c8af31.
  • Doc links to files removed at retirement and to uncommitted outputs/ are fixed.

Testing

Locally (Windows), the targeted files pass. The full fast suite shows 1335 passed and 9 failed, and all 9 are Windows-only (path separators, .netrc, Cursor hooks) and not in the Linux CI failure list. CI on this PR is the authoritative check.

🤖 Generated with Claude Code

- Restore scripts/kaggle_worker_entry.py and scripts/kaggle_runtime_env.py.
  6d9fe7f removed them as obsolete, but the Kaggle/Colab launchers
  (kaggle_runner, kernel_package, remote_package, colab_runner) still
  package and run them, and benchmark_jax_rl imports kaggle_runtime_env.
- rollout-phase-profile: SystemExit() takes no `file=` kwarg, so a missing
  integration worktree crashed with TypeError instead of a clean message.
- Kaggle submission packager: add factored_decode_scan, map_pool/load and
  map_pool/bake to RUNTIME_FILES; packaged modules import them, so the
  submission would fail with ModuleNotFoundError.
- Tests: src.training.curriculum moved to src.opponents.curriculum;
  bounds_exit_time test used a 1-unit board (BOARD_SIZE is 100);
  preflight sweep reseed_every_updates was deliberately raised to 100.
- Docs: drop links to files removed at retirement and to uncommitted
  outputs/, and reword AGENTS.md so it no longer names removed doc dirs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jdueadev
jdueadev force-pushed the fix/main-test-failures branch from a97e4ea to f628885 Compare November 13, 2026 00:09
@jdueadev
jdueadev merged commit e137e9d into main Nov 13, 2026
1 check 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