fix: quality cleanup - bounded heavy operations (chunk 10/11) #531

Closed
didericis-codex wants to merge 1 commits from fix/bounded-heavy-operations into fix/cleanup-execution-integrity
Collaborator

Stacked on #530. Tenth quality-cleanup chunk tracked by #444 and PRD 0082.

  • Git smart-HTTP bodies spool to disk rather than accumulating up to 100 MiB per worker in memory.
  • A separate two-slot semaphore bounds concurrent body-heavy Git operations independently of lightweight request threads.
  • Shared cleanup subprocesses use a configurable BOT_BOTTLE_CLEANUP_COMMAND_TIMEOUT_SECONDS deadline (120 seconds by default) and aggregate timeouts as mutation failures.
  • Firecracker signalling failures aggregate and allow other approved mutations to run; identity-verification uncertainty still aborts fail-closed.

Validation: 49 focused cleanup/boundary tests pass; full-repository Pyright reports 0 errors; affected-module Pylint scores 9.92/10. The complete eleven-PR stack passes all 2,520 unit tests; full-repository Pyright reports 0 errors; git diff --check passes.

Refs #444.

Final stack extension

  • #532 — fail-closed shared database and gateway credential permissions.
Stacked on #530. Tenth quality-cleanup chunk tracked by #444 and PRD 0082. - Git smart-HTTP bodies spool to disk rather than accumulating up to 100 MiB per worker in memory. - A separate two-slot semaphore bounds concurrent body-heavy Git operations independently of lightweight request threads. - Shared cleanup subprocesses use a configurable `BOT_BOTTLE_CLEANUP_COMMAND_TIMEOUT_SECONDS` deadline (120 seconds by default) and aggregate timeouts as mutation failures. - Firecracker signalling failures aggregate and allow other approved mutations to run; identity-verification uncertainty still aborts fail-closed. **Validation:** 49 focused cleanup/boundary tests pass; full-repository Pyright reports 0 errors; affected-module Pylint scores 9.92/10. The complete eleven-PR stack passes all 2,520 unit tests; full-repository Pyright reports 0 errors; `git diff --check` passes. Refs #444. **Final stack extension** - #532 — fail-closed shared database and gateway credential permissions.
didericis added 1 commit 2026-07-27 00:47:17 -04:00
fix: bound heavy gateway operations
test / image-input-builds (pull_request) Failing after 11m25s
test / unit (pull_request) Has started running
test / integration-docker (pull_request) Blocked by required conditions
test / coverage (pull_request) Blocked by required conditions
tracker-policy-pr / check-pr (pull_request) Successful in 12s
dbbb185d0a
didericis force-pushed fix/bounded-heavy-operations from 968d6c7606 to dbbb185d0a 2026-07-27 00:47:17 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - bounded heavy operations (chunk 10/10) to fix: quality cleanup - bounded heavy operations (chunk 10/11) 2026-07-27 00:51:03 -04:00
didericis-codex closed this pull request 2026-07-27 01:36:06 -04:00
Some checks are pending
test / image-input-builds (pull_request) Failing after 11m25s
test / unit (pull_request) Has started running
test / integration-docker (pull_request) Blocked by required conditions
test / coverage (pull_request) Blocked by required conditions
tracker-policy-pr / check-pr (pull_request) Successful in 12s

Pull request closed

Sign in to join this conversation.