Skip to content

feat(sourcehunt): make sandbox memory configurable with 4 GiB default - #247

Merged
jorge-garcia-le merged 2 commits into
mainfrom
feat/sourcehunt-sandbox-memory-limit
Oct 2, 2026
Merged

jorge-garcia-le merged 2 commits into
mainfrom
feat/sourcehunt-sandbox-memory-limit

Conversation

@jorge-garcia-le

@jorge-garcia-le jorge-garcia-le commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Set the SourceHunt sandbox memory default to 4096 MiB in deep and constrained modes.
  • Add --sandbox-memory-mb and carry the setting through structured config, commit monitoring, and proof runs.
  • Validate limits from 512 to 16384 MiB and cover defaults, overrides, and CLI wiring.

Verification

  • Focused sandbox, proof, and commit monitor tests: 65 passed.
  • Broader SourceHunt and sandbox regression tests: 127 passed.
  • Ruff lint and format checks pass for all changed files; git diff --check passes.
  • Full strict suite: 3767 passed, 1 skipped, 3 failed in provider routing and telemetry tests outside this patch (test_machine_cli, test_minimax_compat, test_otel). Repository-wide Ruff lint and format checks also report existing violations outside the changed files.

@jorge-garcia-le
jorge-garcia-le marked this pull request as ready for review October 1, 2026 20:58
@YoussefFadh
YoussefFadh self-requested a review October 2, 2026 23:33
@jorge-garcia-le
jorge-garcia-le merged commit b6e8eae into main Oct 2, 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.

2 participants