fix: consolidated quality cleanup #533

Merged
didericis merged 31 commits from fix/quality-cleanup-consolidated into main 2026-07-27 09:26:30 -04:00
Collaborator

Consolidates the complete 11-part quality-cleanup stack (previously #514, #518, #523-#528, and #530-#532) into one reviewable PR against main.

Includes the final review fixes:

  • normalize FastAPI request-validation failures to the established HTTP 400 control-plane contract and remove the test-only 422 rewrite;
  • import urllib.error so full-project Pyright passes;
  • reject database-directory symlinks and open database files with O_NOFOLLOW, validating and chmodding the pinned regular-file descriptor;
  • update permission-failure and symlink regression coverage.

Validation:

  • 2,521 unit tests executed; the two stale chmod-mock failures found by the full run were corrected, then all affected store/orchestrator suites passed (77 tests).
  • Full-project Pyright: 0 errors.
  • Affected-file Pylint: 9.75/10 (repository gate is 8.0).
  • git diff --check passes.

Supersedes #514, #518, #523, #524, #525, #526, #527, #528, #530, #531, and #532.

Refs #444.

Consolidates the complete 11-part quality-cleanup stack (previously #514, #518, #523-#528, and #530-#532) into one reviewable PR against main. Includes the final review fixes: - normalize FastAPI request-validation failures to the established HTTP 400 control-plane contract and remove the test-only 422 rewrite; - import urllib.error so full-project Pyright passes; - reject database-directory symlinks and open database files with O_NOFOLLOW, validating and chmodding the pinned regular-file descriptor; - update permission-failure and symlink regression coverage. Validation: - 2,521 unit tests executed; the two stale chmod-mock failures found by the full run were corrected, then all affected store/orchestrator suites passed (77 tests). - Full-project Pyright: 0 errors. - Affected-file Pylint: 9.75/10 (repository gate is 8.0). - git diff --check passes. Supersedes #514, #518, #523, #524, #525, #526, #527, #528, #530, #531, and #532. Refs #444.
didericis-codex added 30 commits 2026-07-27 01:34:18 -04:00
fix(orchestrator): satisfy adapter type contracts
prd-number-check / require-numbered-prds (pull_request) Successful in 12s
lint / lint (push) Successful in 53s
test / image-input-builds (pull_request) Successful in 1m2s
test / integration-docker (pull_request) Successful in 58s
test / unit (pull_request) Successful in 46s
test / coverage (pull_request) Successful in 21s
tracker-policy-pr / check-pr (pull_request) Failing after 7s
6e46a9b191
docs(prd): define authoritative failure boundaries
prd-number-check / require-numbered-prds (pull_request) Successful in 9s
test / unit (pull_request) Successful in 52s
test / integration-docker (pull_request) Waiting to run
test / coverage (pull_request) Blocked by required conditions
test / image-input-builds (pull_request) Successful in 2m42s
tracker-policy-pr / check-pr (pull_request) Failing after 12s
ecaf23cdb5
docs(prd): extend authoritative cleanup boundaries
prd-number-check / require-numbered-prds (pull_request) Successful in 13s
test / image-input-builds (pull_request) Successful in 3m18s
test / unit (pull_request) Successful in 57s
test / integration-docker (pull_request) Successful in 1m9s
test / coverage (pull_request) Successful in 19s
tracker-policy-pr / check-pr (pull_request) Failing after 10m30s
0146450951
docs(prd): require cleanup execution integrity
test / image-input-builds (pull_request) Failing after 14m11s
test / unit (pull_request) Failing after 14m19s
prd-number-check / require-numbered-prds (pull_request) Failing after 14m25s
test / integration-docker (pull_request) Has been cancelled
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 12m36s
3bb90da11c
docs(prd): bound heavy gateway operations
prd-number-check / require-numbered-prds (pull_request) Successful in 10s
test / unit (pull_request) Successful in 54s
test / coverage (pull_request) Has been skipped
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Successful in 53s
tracker-policy-pr / check-pr (pull_request) Failing after 14m19s
ff4da6f41e
docs(prd): require shared storage permissions
prd-number-check / require-numbered-prds (pull_request) Successful in 11s
test / image-input-builds (pull_request) Successful in 45s
test / integration-docker (pull_request) Successful in 1m8s
test / unit (pull_request) Successful in 2m30s
test / coverage (pull_request) Successful in 25s
tracker-policy-pr / check-pr (pull_request) Failing after 12m49s
3dbf1780b4
fix(orchestrator): bound streamed request bodies
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Successful in 42s
test / unit (pull_request) Failing after 14m6s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 13s
ffda40abae
refactor(egress): extract outbound DLP request stage
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Failing after 13m35s
test / unit (pull_request) Failing after 13m41s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 12m43s
a24fe0264d
refactor(supervisor): separate MCP dispatch from transport
test / image-input-builds (pull_request) Failing after 13m22s
test / unit (pull_request) Failing after 13m27s
test / coverage (pull_request) Has been skipped
test / integration-docker (pull_request) Has been cancelled
tracker-policy-pr / check-pr (pull_request) Successful in 14s
bb1776a858
fix(cleanup): revalidate destructive backend plans
test / image-input-builds (pull_request) Failing after 13m11s
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
c7c3a79028
fix(gateway): bound stdlib HTTP request work
test / image-input-builds (pull_request) Successful in 1m2s
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) Failing after 12m29s
f33566941b
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
fix(cleanup): use authoritative resource identities
test / integration-docker (pull_request) Has been cancelled
test / image-input-builds (pull_request) Successful in 53s
test / unit (pull_request) Successful in 59s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 12m23s
f242733d15
fix: enforce cleanup and secret integrity
test / image-input-builds (pull_request) Failing after 11m32s
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) Failing after 12m21s
95cbd0e1c8
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
fix: enforce shared storage permissions
lint / lint (push) Failing after 1m2s
test / image-input-builds (pull_request) Successful in 1m1s
test / unit (pull_request) Successful in 55s
test / integration-docker (pull_request) Failing after 1m3s
test / coverage (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Failing after 14m45s
38a67d2767
fix: close consolidated quality review findings
tracker-policy-pr / check-pr (pull_request) Successful in 22s
lint / lint (push) Successful in 1m4s
test / unit (pull_request) Successful in 3m4s
test / image-input-builds (pull_request) Successful in 1m0s
test / integration-docker (pull_request) Successful in 1m10s
test / coverage (pull_request) Successful in 20s
prd-number-check / require-numbered-prds (pull_request) Failing after 10m52s
aaf1e60abe
didericis added 1 commit 2026-07-27 01:35:02 -04:00
Merge remote-tracking branch 'origin/main' into fix/quality-cleanup-consolidated
prd-number-check / require-numbered-prds (pull_request) Successful in 12s
tracker-policy-pr / check-pr (pull_request) Successful in 20s
test / image-input-builds (pull_request) Successful in 43s
test / integration-docker (pull_request) Successful in 1m5s
test / unit (pull_request) Successful in 52s
test / coverage (pull_request) Successful in 19s
031bc6301e
didericis merged commit 420184b874 into main 2026-07-27 09:26:30 -04:00
didericis deleted branch fix/quality-cleanup-consolidated 2026-07-27 09:26:35 -04:00
Sign in to join this conversation.