Skip to content

[SUPERSEDED / UNMERGED] Real async-child reap regression integrated into MVP #181 - #179

Closed
mark-e-deyoung wants to merge 2 commits into
integration/mvp-cross-layer-atomicity-20261121from
rdte/mvp-async-subprocess-reap-20261121
Closed

mark-e-deyoung wants to merge 2 commits into
integration/mvp-cross-layer-atomicity-20261121from
rdte/mvp-async-subprocess-reap-20261121

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Purpose

The canonical MVP integration (#176) already has synthetic broker STOP_NOW revocation and cancellation tests, and async_subprocess_context attempts to terminate/reap the direct child. Existing tests had not observed a real subprocess PID through cancellation. This is the next bounded source-to-behavior check, isolated from the canonical combined-head CI.

Source custody

  • Base: canonical draft [SUPERSEDED / UNMERGED] Cross-layer formal/recovery/durability integrated into MVP #181 #176 at 3cdfdc2299f732d2d2e23139b6a05a919e4106b5, including separately qualified [SUPERSEDED / UNMERGED] Durable metadata writer carried by MVP #176 #177 durability and formal TLC path triggers.
  • This draft: tests/test_mvp_inflight_cancel.py adds one real, benign Python child, PID readiness handshake, a cancelled run_async_command task, and exact no-existing-PID condition after cancellation. A finally cleanup kills synthetic child on regression. No X11/Wine, network, user data, real input or actuator invocation.
  • .github/workflows/formal-cross-layer-tlc.yml triggers TLC on changes to the cancellation regression as well as existing safety source/tests.
  • The test already lives in the mandatory scripts/ci/test.sh manifest, no broad automatic test discovery or bypass.

Acceptance and limits

Require exact-head public GitHub Actions full CI, formal TLC (three blue models + both deliberately unsafe counterexample controls), and public security/provenance gates. On red, inspect actual job failure and fix source/test; no waivers or private GitHub minutes. This proves direct-child termination/reap on a synthetic free-tier Linux worker only. It cannot undo events already delivered to X11/Wine, kill independent grandchildren or guarantee process-group / AHK cancellation. Hold DRAFT: do not merge, release or enable hardware without separate review and owner promotion.

Exercise real subprocess cancellation, bounded PID readiness, task
cancellation and direct child reap. Do not weaken STOP_NOW or make
distributed process-group/guest input atomicity claims.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 — synthetic native-child cancellation proof workcell, exact-source verification

Observe: Canonical combined MVP #176 at 3cdfdc2299f732d2d2e23139b6a05a919e4106b5 includes direct async subprocess termination/reap in async_subprocess_context, but earlier tests/test_mvp_inflight_cancel.py only mocked asynchronous I/O and proved task cancellation. No measured real direct-child exit on STOP_NOW. This is a real backend qualification gap, not grounds to rewrite a function already containing a cleanup finally.

Apply: Stacked DRAFT #179 exact HEAD 5271b6040d78de6cb3cf7a40e7ce612f70ebed7b, two commits / exactly two changed paths by compare: (1) one additional test in existing mandatory tests/test_mvp_inflight_cancel.py, launching benign sys.executable child with bounded PID-file handshake, cancelling its run_async_command task, requiring CancelledError and no live PID; conservative finally kill safety net. (2) one extra formal-workflow path trigger for this changed safety regression. No production input code, no Wine GUI, user data, detached child collection, raw trace or external test content.

Verify: exact branch/compare readback passed: ahead 2 / behind 0, paths ONLY tests/test_mvp_inflight_cancel.py and .github/workflows/formal-cross-layer-tlc.yml. Public TLC #44873076199 SUCCESS with blue models and negative controls; BuildKit guard #44873076238 SUCCESS. Full CI #44873076259 IN_PROGRESS at last observation. No PASS claim until actual native child regression executes on exact head.

Boundary: establishes only direct-child reaping for a synthetic, controllable subprocess on a free public runner; not arbitrary descendants/groups, synchronous AHK, guest process callbacks, irrevocable events already delivered to Windows, or completed atomic host/guest transaction. Remain draft, no merge/release/hardware/private minutes.

mark-e-deyoung added a commit that referenced this pull request Nov 21, 2026
Carry byte-identical test and formal-path source from exact-head green
#179 onto fully CI-green observer consumer #180. Preserve executable
mandatory test runner and validated source blobs. This is a source-only
integration candidate; terminal combined-head CI and review remain gates.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 — final DLE supersession / no source loss

Authoritative single direct review candidate: #181 exact eda01696f297b930185546993a2f5184e340603c, now based directly on owning MVP #158 exact 9809519b94b9074ed681b297237f6dec89d43186 (not on #176). Source/custody proof: the real subprocess cancel/reap test blob 6d73239ad56b4a8ec23733ef3b59d80aaa317099 and widened formal workflow blob c67060667eb50ca7c834b89f6cde9c777d0c335f are exact in #181; standalone #179 full CI #44873076259/TLC #44873076199 PASS. Canonical unified #181 source exact full CI #44912186223 and formal TLC #44912186227 SUCCESS, alongside all eight focused guards. No changed source hash from base retarget.

Close this PR as SUPERSEDED / UNMERGED to remove duplicate review and merge paths, preserving the Git commit graph, original branch, PR conversation, evidence/run links and independent source history. Closure is not a claim of integration into protected main, native WinInspect v0.5 qualification, hardware readiness, owner release approval, or cross-host CAS. #181 and owning #158 remain DRAFT; source-only formal/process-admission follow-ons #182/#183 are separate and held for review/qualification. No branch force/deletion, private runner minutes, local hardware, paid service, image promotion or secret/source declassification.

@mark-e-deyoung mark-e-deyoung changed the title [DRAFT RDTE] Prove cancelled MVP async input reaps real subprocess [SUPERSEDED / UNMERGED] Real async-child reap regression integrated into MVP #181 Nov 21, 2026
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.

1 participant