Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
docs: record public Windows VM runtime fix and audited acceptance boundaries
davoodmehraban89 committed
Oct 17, 2026 at 00:22 UTC
bb07b0ac2001bd9bd9aa7f9cc5c09247136f8c13
1 file changed
+18
docs/WINDOWS_VM_LAB_EVIDENCE_20261016.md
+18
@@ -106,3 +106,21 @@ The latest feature branch changes remain UNVERIFIED on Windows until both dispat
106
- **Action requires repository owner's billing authority**: inspect GitHub account Settings → Billing & licensing / Billing & plans → payment history, unpaid invoices, and Actions budget/spending limit. Resolve failed payment or approve a higher Actions budget only after reviewing monetary impact. Do not request or store bank/card data, passwords or secrets in project repository or chat.
107
- After the owner reports the specific billing issue resolved, initiate a *new* manual Windows run against the exact then-current `ci/windows-dual-app-lab-20261016` SHA. The previous failed run cannot validate Windows operation or build artifacts. Verify runner assigned, step logs, evidence and SHA. No production bank adapter or public deployment is authorized.
108
- No account billing configuration was modified, no Windows runner was started, and no additional VM job was dispatched in response to the screenshot.
109
+
110
+
111
+## Public Windows runner: build/runtime diagnosis and fixes
112
+
113
+- Repository visibility has become **PUBLIC**, verified through the authenticated GitHub repository metadata. This occurred outside this documentation edit. Public repository Actions artifacts and non-draft Releases must no longer be assumed private. **Do not stage proprietary Mayan binaries, V5 source archives, customer or banking data, passwords or keys in this public repository.** Staging such material requires an appropriately authorized private location and a separate approved workflow. The currently validated runs use only repository code, synthetic examples and BANK LIVE disabled.
114
+- Public hosted Windows runner was successfully allocated beginning with [run 38956531296](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38956531296). The earlier runner-account billing rejection on a private repo no longer blocked Windows execution; this does not prove a past invoice or charge issue was resolved.
115
+- [Run 38956531296](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38956531296): typecheck/tests/lint/build succeeded, but old `scripts/smoke.mjs` expected outdated locked-down home text and failed. Updated smoke now independently verifies local UI/login/dashboard/read-only query and blocked unconfigured production while the bank adapter remains disabled.
116
+- [Run 38957284389](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38957284389): the corrected HTTP smoke, full unit/integration checks and portable packaging passed; launcher process exited before packaged runtime readiness was observed. Subsequent test probes the actual child process instead of assuming the portable bootstrapper remains running.
117
+- [Run 38958394976](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38958394976): portable output built; the portable launcher exited code 0 without a detected app process. No runtime acceptance.
118
+- [Run 38960025414](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38960025414): standalone `win-unpacked/TreasuryFlow.exe` also exited code 0 without readiness; evidence `unpacked-runtime.json` showed nonempty stderr but original script did not capture the text.
119
+- [Run 38961051339](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38961051339): a separate short direct Electron probe failed at `ELECTRON_BINARY_MISSING` (npm's Electron binary wasn't present at its assumed path). This diagnostic did **not** actually run Electron, so it cannot establish a product runtime defect.
120
+- [Run 38961516574](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38961516574): unpacked process stderr exposed `TreasuryFlow server exited 1`; server child stderr was suppressed by default. Introduced synthetic-VM-only, bounded redacted child error reporting without changing ordinary production stderr policy.
121
+- [Run 38962167129](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38962167129): child error was `Cannot find module 'next'` from `resources/standalone/server.js`. The build had omitted a required runtime module.
122
+- [Run 38962815533](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38962815533): `prepare-standalone.mjs` bundled lockfile-installed Next/React dependencies, but `electron-builder` still omitted the `node_modules` directory inside an `extraResources` root. Corrected `package.json` to explicitly copy `.next/standalone/node_modules` into `standalone/node_modules`, and added a packaged-file presence check prior to runtime.
123
+- [Run 38963333150](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38963333150): independently verified **PASS** for Next build, Node tests, SQL browser UI HTTP smoke, real unpacked Electron process and local HTTP readiness, portable EXE build and **actual portable launch + local readiness/UI**. The NSIS stage built an installer under the portable filename instead of the separate expected Setup name; `NSIS_SETUP_EXE_MISSING` failed. NSIS installation/CDP GUI were **not executed**.
124
+- NSIS packaging now uses the target-specific `build.nsis.artifactName` in `package.json` so Setup and Portable have different names, with an additional hash comparison gate in CI. No update to production data, banking LIVE, main branch application files, or public Releases was made.
125
+- **Active run at the time of this note**: [38965182060](https://github.com/davoodmehraban89/TreasuryFlow/actions/runs/38965182060) at source SHA `0b8e85fb3765fce84e407e0e9c59f70ad901fd8a` is the attempt to validate separate NSIS + portable artifacts, silent installation and installed Electron GUI. **No final acceptance is claimed pending actual run results.** Temporary push trigger was removed again at `4bb5833645527c27ceacd24ae9e680413ed266cf`.
126
+- All Windows evidence refers to the **repository's 0.1.0 branch build**, not user V5/1.0.1, proprietary Mayan activation, authentic bank outputs, or financial runtime parity.