forked from iOfficeAI/AionUi
-
Notifications
You must be signed in to change notification settings - Fork 0
P0: functional smoke writes Python bytecode into the signed Workbench app #694
Copy link
Copy link
Open
Labels
area:native-companionNative macOS companion boundaryNative macOS companion boundaryarea:releasePackaging, signing, updater, rollbackPackaging, signing, updater, rollbackbugSomething isn't workingSomething isn't workingevaosevaOS public beta R&D workevaOS public beta R&D workkind:integrationIntegration implementation issueIntegration implementation issuepriority:P0Critical customer/runtime blocker requiring immediate attentionCritical customer/runtime blocker requiring immediate attentionpublic-betaBlocks or contributes to the public beta gateBlocks or contributes to the public beta gateready-for-agentIssue has enough handoff detail for an agent to startIssue has enough handoff detail for an agent to startrelease-train:runtime-reliabilityCross-version Workbench/runtime reliability release trainCross-version Workbench/runtime reliability release trainrisk:securitySecurity, auth, secrets, permission riskSecurity, auth, secrets, permission risk
Description
Metadata
Metadata
Assignees
Labels
area:native-companionNative macOS companion boundaryNative macOS companion boundaryarea:releasePackaging, signing, updater, rollbackPackaging, signing, updater, rollbackbugSomething isn't workingSomething isn't workingevaosevaOS public beta R&D workevaOS public beta R&D workkind:integrationIntegration implementation issueIntegration implementation issuepriority:P0Critical customer/runtime blocker requiring immediate attentionCritical customer/runtime blocker requiring immediate attentionpublic-betaBlocks or contributes to the public beta gateBlocks or contributes to the public beta gateready-for-agentIssue has enough handoff detail for an agent to startIssue has enough handoff detail for an agent to startrelease-train:runtime-reliabilityCross-version Workbench/runtime reliability release trainCross-version Workbench/runtime reliability release trainrisk:securitySecurity, auth, secrets, permission riskSecurity, auth, secrets, permission risk
P0 problem
The Workbench functional-smoke workflow invokes the packaged bridge interpreter directly for the macOS framework import probe:
"$BRIDGE_PYTHON" -I -c ...That path bypasses the normal
evaos-desktop-bridgewrapper. The workflow also runs underenv -i, while Python isolated mode (-I) ignoresPYTHON*environment variables. As a result, the wrapper's existingPYTHONDONTWRITEBYTECODE=1and externalPYTHONPYCACHEPREFIXprotections cannot apply to this probe.The currently installed v2.1.35 app contains bytecode caches written after its earlier clean installed-app proof. Those added sealed resources make current deep
codesignandspctlverification fail even though the stapled notarization ticket remains valid. This installed app is not valid release proof and must not be repaired by deleting files in place.Root cause
.github/workflows/workbench-functional-smoke.ymlpackaged bridge import probe.Contents/Resources/Bridge/evaos-desktop-bridgewrapper sets no-bytecode/external-cache policy before executing bundled Python.-Idoes not disable bytecode generation; Python's CLI-Bflag does.Required fix
"$BRIDGE_PYTHON" -I -B -c ....-Bis rejected.-Btext cannot satisfy the exact probe requirement.Acceptance criteria
-Iand-B.__pycache__directories and zero.pycfiles inside the app before smoke.codesign,stapler, andspctlverification after the smoke.Release boundary
Source and unit tests alone are not sufficient. This issue blocks a 2.1.36 release-good claim until a fresh signed artifact passes the post-smoke installed-bundle integrity checks above.