Repository navigation
Qualify isolated Windows temporary APIs without enabling cleanup - #13
Merged
Merged
Conversation
zhenkun26
marked this pull request as ready for review
October 31, 2026 03:54
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.
Scope
Add an explicitly authorized, fixture-only Windows API observation probe in ordinary and optimized modes on the existing Windows Server 2025 x64 / CPython 3.13 runner. Internal 55-second worker / 60-second supervisor bounds and two-minute step bounds remain. Existing matrix, permissions, checks and job limits are unchanged.
The probe accepts no caller-selected path and never recursively cleans residues. Uncertain fixtures are retained. Product Windows managed cleanup remains unsupported; API success does not establish directory-entry or power-loss persistence or satisfy Session.persist().
Failure evidence and repair
Runs 41153921446 and 41157059455 completed the maintained checks and applicable mutations before both native modes failed at Win32 rename with error 87. Correcting the allocation from 50 to 54 bytes did not resolve the runtime failure; the exact rejected Win32 parameter remains unidentified.
Commit bda0b0e changes only the experiment's rename invocation to NtSetInformationFile (native FileRenameInformation=10). It preserves the source and pinned directory handles, full buffer and no-replacement semantics, makes one attempt, and requires both return status zero and a written successful IOSB. Pending, error or missing completion stops execution. No path reopening or failed-call fallback is added. The completed-report parser requires this evidence; all 44 observation labels remain mandatory.
Verified results
CI 41162317247, attempt 1 passed all three jobs for that head, testing candidate 484558f against base 7e21cf3.
The successful direct native path does not prove universal Win32 relative-root incompatibility. Both real reports retain native_qualified=false, product_support=NOT_ENABLED and durability=UNKNOWN. This is experiment evidence, not production cleanup enablement or power-loss qualification. No deployment, credentials or merge is included.