@davoodmehraban89 / VELYQOR / commits / 206ecd4
Fork 0

Intelligence, Advanced Charting & Trading Platform

docs(incident): preserve isolated version 27 diagnostic outcomes, hypothesis and user-device evidence checklist

davoodmehraban89 committed Oct 15, 2026 at 19:37 UTC 206ecd4c78405288617207c1bfe24ad6f69b5691
1 file changed +48
docs/operations/chartnova-stage2-incident-2026-10-15.md new
+48
@@ -0,0 +1,48 @@
1 +# Stage 2 — v27 rollback incident, read-only diagnosis (2026-10-15)
2 +
3 +**Scope:** incident reproduction in existing version-specific Worker Preview and disposable GitHub Actions browsers. NO production Worker deploy, data edits, secrets, mail, messages or real trades.
4 +
5 +## A. Exact deployment and Preview evidence
6 +
7 +Direct Cloudflare read-only API verification (2026-10-15):
8 +- Production Worker: **velyqor-preview**, **v26** ID **85177f9d-09c0-4763-b28c-2c6ba5ae5be5** at **100%**.
9 +- **v27** ID **2cbeb4e2-4a3e-414f-b3ad-035e2378650b**, stored but no share of production traffic.
10 +- Independent version Preview: https://2cbeb4e2-velyqor-preview.davoodmehraban89.workers.dev/ responded successfully.
11 +- Both versions expose the same binding names/types (not values): MARKET_CACHE / kv_namespace, NAVASAN_API_KEY / secret_text, OANOR_API_KEY / secret_text; fetch and scheduled handlers. Secret values not retrieved.
12 +- HTML script signature identifies version 27: 33129 inline JavaScript characters and chartnovaRefreshInFlight marker. Production v26: 32522 inline JavaScript characters and marker absent.
13 +
14 +## Browser evidence: version 27 isolated test
15 +
16 +GitHub Actions run [38765420366](https://github.com/davoodmehraban89/VELYQOR/actions/runs/38765420366), job **116527224644** passed. Script [diagnose-chartnova-v27-preview.mjs](../../scripts/diagnose-chartnova-v27-preview.mjs) tested five fresh isolated scenarios, with all API calls intercepted by test fixtures rather than sent to market providers or shared KV:
17 +1. Chromium mobile / blocked SW / deliberately 503 APIs / reload
18 +2. Chromium mobile / 7-second intentionally delayed market list
19 +3. Chromium mobile / synthetic service worker allowed / 503 APIs / reload
20 +4. WebKit mobile / blocked SW / deliberately 503 APIs / reload
21 +5. WebKit mobile / 7-second deliberately delayed market list
22 +
23 +**NOT REPRODUCED** in those five scenarios. Page shell/dashboard visibly rendered, HTML 200 and **no uncaught JavaScript exceptions**. As expected, the Browser Console recorded the deliberately generated HTTP 503 resource errors; a few requests were aborted while reloading. These are test fixture failures, **not proof that production is error-free**. During market delay the UI displayed an explicit incomplete-data status.
24 +
25 +## Actual Service Worker mechanism and limits
26 +
27 +Read-only Preview GET of /sw.js returned version 27 Service Worker code: cache key **chartnova-v1**, install precaches root plus icon and manifest, and navigation uses network-first fetch with fallback to cache.match('/'). An **existing browser cache** can therefore influence the navigation response during loss of network. However, the first five-scenario test used a synthetic SW (without this cache behavior); it does **not** prove the real SW safe. Separate [real-SW browser test](../../scripts/diagnose-chartnova-v27-sw-cache.mjs) tests cache fallback and intentionally corrupted **disposable** browser cache. Any blank page created by injecting a corrupt cache is a hypothetical mechanism, **not proof this occurred for the owner**.
28 +
29 +Actual root cause of prior v27 device failure: **تأییدنشده**. Record of rollback decision: [documented incident](https://github.com/davoodmehraban89/VELYQOR/blob/ops/chartnova-emergency-rollback-2026-10-15/PROJECT_STATE.md). The owner reported the public app stopped opening; rollback to v26 was a **precaution**, not a proven identification of a v27 JavaScript defect.
30 +
31 +## Exact information needed from owner for a conclusive device-level diagnosis
32 +
33 +Supply SANITIZED screenshots and status only; never paste credentials, session cookies, API tokens, whole HAR exports or personal address:
34 +
35 +1. Device model, OS version, browser version, and whether it is Safari tab, installed PWA/home-screen shortcut or embedded webview.
36 +2. Exact failing URL, date/time + timezone, and whether app.chartnova.ir vs chartnova.ir, Private vs normal mode differ.
37 +3. Wi-Fi/cellular/VPN/Private Relay enabled? Compare an alternate network if convenient, without revealing IP or location.
38 +4. Screenshot of blank page with address bar, with any identifiers redacted.
39 +5. Browser Console: original error text, stack trace, script file, line and column on a failing attempt.
40 +6. Network summary for document /, SW /sw.js, /api/domestic, /api/xau, /api/markets: HTTP status, elapsed time, initiator, resource size, cache/service-worker indication; redact all user query values and headers. Do not send unredacted HAR.
41 +7. Registration/state of SW, cache names and whether the browser is offline. **Capture evidence before clearing site data**; deleting cache can erase the repro.
42 +8. For iPhone Safari, use a *trusted Mac* with Safari Web Inspector (Mac Safari Develop menu → iPhone → affected Safari page). If no Mac is available, collect points 1–4; do not invent Console logs.
43 +
44 +## Rollback / acceptance
45 +
46 +No production change to roll back from Stage 2. Close/revert Draft diagnostics PR if undesirable; keep production v26. Verdict is either (1) confirmed on-device root cause with stack/DOM/network evidence, (2) NOT REPRODUCED under controlled conditions, or (3) artificially reproduced *mechanism only*. Those are distinct. Another release of v27 is **not authorized** by this diagnostic.
47 +
48 +**Still incomplete:** affected user's original cache, JS exception and network trace, verified v26 Worker source hash, provider licensing and actual end-to-end alert delivery; all **تأییدنشده**.