@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / 0bc1936
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 4, 08:00 UTC

docs: record failed slow-startup baseline and request-initiator next check

davoodmehraban89 committed Oct 16, 2026 at 01:29 UTC 0bc19362d22b3c152c970831b4027b27f2e985bc
1 file changed +1
PROJECT_STATE.md
+1
@@ -803,3 +803,4 @@ Owner reports login blocked with generic 'check internet/VPN' network error on l
803 - **Evidence and hypothesis:** owner Chrome waterfall on prior affected hotspot had unusually slow `generated-dynamic-handlers.js` (~43s) and accounting Pages group (~15s), plus an unexpected pending standalone `enterprise-iran.js`. Current `scripts/build-pages.mjs` inserts the CSP-safe dynamic dispatcher as a bottom classic blocking script. This can delay `DOMContentLoaded` and therefore extension bootstrap; the network/initiator root cause and live current release remain unproven. Current bundler intentionally consolidates 38 core scripts into three ordered groups and 14 extensions into one bundle.
804 - **Scoped plan:** add an isolated Playwright regression for generated `_site` Pages, with delayed dynamic dispatcher and a request ledger asserting early credential controls, expected DOM readiness sequencing, no premature workspace, complete later module readiness and no unexpected standalone legacy ERP request. Do not alter runtime/Auth/schema/RLS/roles/financial records/permissions; do not hide missing assets, bypass readiness or assume 304 is a failed response. If test reveals source defect, stop and separately review minimum fix; do not assume this QA proves owner affected-network performance.
805 - **Acceptance / rollback:** exact PR-head Quality (122+ Chromium, Golden, three disposable DB) and Security PASS; docs and test-only branch, no production writes. Restore by reverting isolated PR. Live first signed-out login on owner's impacted Chrome/ISP remains F0-01 P0 OPEN; no invoice persistence/real backup signoff.
806 +- **First independent CI result on PR #158 head `926a44321daf56f989a595b74048145e155451cc`:** Security `38813224607` SUCCESS; Quality `38813224500` FAIL, **122/123 Chromium PASS**. The one new synthetic hardened-Pages test confirmed early login remains available during deliberately delayed bottom dynamic dispatcher, but detected a standalone `enterprise-iran.js` network request, contrary to expected bundling. Three disposable DB jobs, Golden and other financial invariants passed. Do not merge or deploy this test-only PR while failing. Next: capture request resource type + Chromium Network initiator on this isolated fixture to distinguish duplicate executed script, speculative preload, or diagnostic fetch. This is an actual test failure, not yet proven runtime financial corruption or a confirmed owner-ISP fix.