Network subnet summary fails with unknown_error and sits above the main panel #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Delivery status
All five commits (
044888a,53e680d,3630678,afb0eb2,6df1532) are now pushed toorigin/main. Remote HEAD was verified as6df1532cca8632c0c2c6066faf1b9ec2ab5de076.The scoped implementation and local source/browser/worker verification described below are complete and delivered. Closing this implementation/fix issue. Remaining native desktop and live-cloud acceptance is tracked centrally in #10; no native/live-cloud pass is claimed. Older paragraphs describing an unpushed change or per-issue confirmation hold are superseded by this delivery status.
User reports that inside an opened network the subnet summary shows "Cloud request failed. (unknown_error)" instead of data and is aligned above the main network panel. Investigate the real connected-session RPC path and error mapping, and align the summary with the main panel below the shared network toolbar/tabs. Earlier mocked browser checks did not exercise the actual connected worker session. Create regression evidence outside the source repository and validate relevant source contracts/builds.
Corrections implemented locally
Commit
3630678(pushed to origin/main):Evidence and remaining uncertainty
Svelte check (zero errors/warnings), Vite build, source manifests, SQLite summary tests including partial/failed first scans, and a real connected Coordinator + ResourceInventory + Connections route against a disposable HTTPS provider passed. Full CloudProfile browser checks confirmed equal panel top positions below shared navigation in overview and Ports, responsive layout, retained counts on failed refresh, and fixed actionable worker/protocol errors.
The existing bundled profile-worker was inspected and contains network_summary and its request handler. The reporter's exact underlying runtime failure has NOT been reproduced or identified; the successful connected-route test does not prove their cloud/session works. Asked how the affected app was started (rebuilt desktop app, development start, or previously installed app); answer remains pending. No real cloud mutations were performed.
Issue remains OPEN for the original runtime error and native/reporter verification. The alignment and partial-cache visibility defects have source fixes; do not interpret this as confirmation that all live summary failures are resolved.
Matching load failure reproduced and corrected
Follow-up local commit
afb0eb2(pushed to origin/main) reproduces and fixes a concrete route to the originally reported error:INSERT OR IGNOREeven for existing collections, and the old summary reservesBEGIN IMMEDIATEfor a read. They fail withsqlite3.OperationalError/SQLITE_BUSYafter about 152 ms.{"ok":false,"code":"connection_failed"}. The original frontend lacked a message for this code and displayed unknown_error.Correction: existing collection entries are read before any insertion; status reads do not create absent entries; overview aggregation uses a consistent deferred WAL read snapshot with non-creating entry lookup. Write/publication transactions still use BEGIN IMMEDIATE by default. No credential, API permission or cloud mutation behavior changed.
Verification passed: real worker process round trip with serialized profile/cache bindings; archived-code before/after failure comparison; writer contention including missing collections with SQL trace confirming no INSERT/UPDATE/DELETE/BEGIN IMMEDIATE; subsequent successful cache publications; summary paging/isolation/partial/legacy cases; cache recovery; real connected Coordinator/ResourceInventory route; operation journaling and 34 actual-SDK cases; Python/source manifests.
Build limitation: the existing packaged executable itself cannot start on this harness because its bundled math extension requires GLIBC_2.44. Archived application code was therefore executed with the compatible host Python runtime; this is not a successful native packaged-runtime test. The GLIBC mismatch is not claimed as the cause of the reporter's subnet error.
The matching contention failure is now confirmed and fixed in source. The issue remains open pending a rebuilt desktop app and reporter/native runtime confirmation.