OpenProgram Docs

Windows CI completion

Native x64 and ARM64 jobs run platform contracts and the complete unit suite with four workers. A blocked diagnostic process and ordinary failed tests must each emit their details and exit unsuccessfully.

Those two legs set PYTHONUTF8=1, the mode the released launchers start Python in. A third x64 leg sets PYTHONUTF8=0 for the processes the product still starts in the system code page.

ConcernRule
Long test IDsLarge parametrized payloads use explicit short IDs: pytest writes the node ID into PYTEST_CURRENT_TEST, and Windows caps environment values below 32767 characters. Payload bytes are unchanged.
POSIX assertionsMode checks apply only on POSIX; the catalogue round-trip still runs on Windows
OutputUnbuffered Python; unit results name each test; full output and a traceback file are uploaded on success and failure
HangsA process-wide traceback deadline replaces the pytest faulthandler plugin and also covers reporting and shutdown; the step and job have finite limits
Failed testsKeep their nonzero exit status; none are removed or accepted as passing
DeadlinesSynchronization deadlines are watchdogs, not performance assertions
Fixture ownership and document reads
AreaRule
Document publicationBinds file identity by device and inode at open and compares metadata stability separately within descriptor and pathname stat APIs, since Windows may represent their timestamps differently. A change within either API, or a content revision mismatch, rejects publication and keeps the original bytes.
Document route fixturesIsolate HOME and USERPROFILE and resolve state with the original path function, so lazy imports follow the current environment
History ownership fixturesRegister SessionStore.close right after construction; closing cancels and joins deferred index writers before the production-thread teardown guard runs
Tracked-dispatch fixturesKeep their JobRunner and register cleanup on acquiring it; request the non-waiting singleton shutdown, then join dispatcher, reconciler and budget threads before closing the SessionStore
Subprocess event cleanupAssert the result returns while a callback is blocked, then release and join it; setup and host scheduling time do not count as latency

Implementation status

Native confirmation of the final x64 and ARM64 regression runs is outstanding. The PYTHONUTF8=0 leg and, in the install smoke workflow, the App steps (scripts/release/smoke-windows-desktop.ps1), the x64 files on the Arm runner and the tool call through the worker (scripts/release/smoke-tool-call.py) have not run.

Last updated · 2026-11-25