fix: quality cleanup - gateway shutdown diagnostics (chunk 7/11) #527

Closed
didericis-codex wants to merge 1 commits from fix/gateway-output-pump-shutdown into fix/gateway-request-boundaries
Collaborator

Stacked on #526. Seventh quality-cleanup chunk tracked by #444 and PRD 0082.

Contains gateway child-output shutdown races without hiding real failures:

  • _pump treats OSError/ValueError from an already-closed child stream as normal completion.
  • The same exceptions on a stream that is not closed remain operator-visible and include the daemon name and exception type.
  • Direct regression tests cover both expected closure and unexpected I/O failure.

Final stack extension

  • #528 — authoritative resource identities and bounded artifact transfers.

Validation: 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

  • #530 — cleanup execution and mandatory authenticated-secret integrity.

Final stack extension

  • #531 — bounded heavy Git and cleanup operations.

Final stack extension

  • #532 — fail-closed shared database and gateway credential permissions.
Stacked on #526. Seventh quality-cleanup chunk tracked by #444 and PRD 0082. Contains gateway child-output shutdown races without hiding real failures: - `_pump` treats `OSError`/`ValueError` from an already-closed child stream as normal completion. - The same exceptions on a stream that is not closed remain operator-visible and include the daemon name and exception type. - Direct regression tests cover both expected closure and unexpected I/O failure. **Final stack extension** - #528 — authoritative resource identities and bounded artifact transfers. **Validation:** 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** - #530 — cleanup execution and mandatory authenticated-secret integrity. **Final stack extension** - #531 — bounded heavy Git and cleanup operations. **Final stack extension** - #532 — fail-closed shared database and gateway credential permissions.
didericis force-pushed fix/gateway-output-pump-shutdown from 3df0c77c07 to cb95d15ec5 2026-07-26 23:39:36 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - gateway shutdown diagnostics (chunk 7/7) to fix: quality cleanup - gateway shutdown diagnostics (chunk 7/8) 2026-07-26 23:42:02 -04:00
didericis force-pushed fix/gateway-output-pump-shutdown from cb95d15ec5 to 4bd42e363d 2026-07-26 23:56:00 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - gateway shutdown diagnostics (chunk 7/8) to fix: quality cleanup - gateway shutdown diagnostics (chunk 7/9) 2026-07-27 00:02:57 -04:00
didericis force-pushed fix/gateway-output-pump-shutdown from 4bd42e363d to b7f503be29 2026-07-27 00:17:29 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - gateway shutdown diagnostics (chunk 7/9) to fix: quality cleanup - gateway shutdown diagnostics (chunk 7/10) 2026-07-27 00:26:13 -04:00
didericis added 1 commit 2026-07-27 00:46:53 -04:00
fix(gateway): contain output pump shutdown races
test / image-input-builds (pull_request) Failing after 12m49s
test / unit (pull_request) Has started running
test / coverage (pull_request) Blocked by required conditions
test / integration-docker (pull_request) Blocked by required conditions
tracker-policy-pr / check-pr (pull_request) Successful in 13s
fd295d4c14
didericis force-pushed fix/gateway-output-pump-shutdown from b7f503be29 to fd295d4c14 2026-07-27 00:46:53 -04:00 Compare
didericis-codex changed title from fix: quality cleanup - gateway shutdown diagnostics (chunk 7/10) to fix: quality cleanup - gateway shutdown diagnostics (chunk 7/11) 2026-07-27 00:49:47 -04:00
didericis-codex closed this pull request 2026-07-27 01:35:45 -04:00
Some checks are pending
test / image-input-builds (pull_request) Failing after 12m49s
test / unit (pull_request) Has started running
test / coverage (pull_request) Blocked by required conditions
test / integration-docker (pull_request) Blocked by required conditions
tracker-policy-pr / check-pr (pull_request) Successful in 13s

Pull request closed

Sign in to join this conversation.