Repository navigation
Conversation
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
mbx's low-space GC can delete a target while a program launched directly from it is still running, and drain the shared cache below its ordinary budget. This implements the host configuration for moq-dev/moq#7820, following the recorded incident.
Approach
target.keep = ["/"]. This covers direct binary execution and the gaps between benchmark runs, without requiring a lease or a process-table scan. Targets whose checkout disappeared remain collectible.gc.min_free_size = "none"to disable pressure-driven eviction. Normal action-store and incremental-state budgets remain enabled.Impact
No space left on deviceerror. This is an I/O failure policy, not a disk reservation or an early headroom check.desktop. Other hosts receive the policy when their dotfiles are updated.Alternatives and choices
Lowering the free-space threshold does not protect targets. Upgrading alone does not fix this: upstream's process protection deliberately excludes low-space collection. A lease protects wrapped commands, but does not cover a binary launched after Cargo exits or gaps between launches. Explicitly retaining existing checkouts is simpler than adding another launcher, scan, or grace period. No new refusal threshold or dependency.
The live checkout contained unrelated local commits and uncommitted changes. Source was edited and checkpointed in place; this main-based publication contains only
mbx/config.tomlanddocs/mbx.md. The existing branch and unrelated changes were preserved.Validation
100TiBfree-space minimum. A shared lease protects it. The tracked config preserves the live target with both the forced minimum and a1Btarget budget; abandoned targets are still removed./dev/full: Cargo exited 101 and printedStorageFull: No space left on device; the earlier executable remained. Explicit GC with the tracked policy preserved the populated action store and the live target.git diff --check origin/main...fix/mbx-target-retentionpasses. Both mbx versions parse the config; the live settings report["/"]andnone.quest gate nix develop --command python3 -B -m unittest discover -s <snapshot>/tests -vruns 71 tests, 70 pass.test_normal_run_avoids_cargo_repository_scanerrors because its expected stub log is absent. The identical error reproduces on unchanged main0b312644d3e9bc2c98cda485ebb39d346915f357, also 70/71. The live checkout's additional existing tests give 88/89 with the same sole error. This is not reported as a full-suite pass.Review
Skipped for
26d375495bfad24cdac99f035cc67e35d7e9a045: two documented retention settings and their usage guide, with no new executable logic. Manually checked the current and 1.25.0 collection paths and validated the behavioral boundary with both released binaries. No sub-agents were started.Follow-ups
Investigate the pre-existing cleanup shell-dispatch test's missing stub log under this development environment. No matching fix was found among the open dotfiles PRs. Disk reclamation remains an ownership-aware maintenance action; no shared cache or other checkout was deleted here. No new quests or upstream public posts were created.
(Written by GPT-6.1 Sol)