Browse Source

Update final builds with startup retry and CAPTCHA readiness

main
gudae 2 months ago
parent
commit
d6862bf0b0
  1. 18
      final-build/README.md
  2. 4
      final-build/SHA256SUMS
  3. BIN
      final-build/backend/tera-clone-demo-api
  4. BIN
      final-build/frontend/tera-clone-demo-web

18
final-build/README.md

@ -1,6 +1,6 @@
# Final frontend and backend builds # Final frontend and backend builds
Release: `20260908-firmware-progress-1` (2026-09-08) Release: `20260909-startup-retry-1` (2026-09-09)
Target: Linux ARM64 Target: Linux ARM64
| Component | Binary | Install path | | Component | Binary | Install path |
@ -8,12 +8,18 @@ Target: Linux ARM64
| Frontend | `frontend/tera-clone-demo-web` | `/usr/bin/tera-clone-demo-web` | | Frontend | `frontend/tera-clone-demo-web` | `/usr/bin/tera-clone-demo-web` |
| Backend | `backend/tera-clone-demo-api` | `/usr/bin/tera-clone-demo-api` | | Backend | `backend/tera-clone-demo-api` | `/usr/bin/tera-clone-demo-api` |
Both binary SHA-256 hashes match the installed executables on 192.168.0.223. The frontend was deployed and its service readiness and served JavaScript verified on 2026-09-08. The backend is the existing installed binary. Both binaries were deployed together to 192.168.0.223. Installed hashes matched SHA256SUMS. Readiness returned 7/7 completed stages, ready=true, and elapsed_ms=1593 during an API service restart. CAPTCHA PNG issuance and the updated login script were verified. This was not a cold-boot timing test.
The frontend adds persistent firmware upload progress, validation/apply/reboot status, automatic status polling after reconnection, and duplicate submission prevention. Completion is displayed only after the device reports success. Alt-clicking a tab close button keeps only the dashboard. Existing CAPTCHA behavior is retained. Login is enabled only after required configuration and service checks succeed. Errors are actually retried with a three-second pause; after 25 seconds an unfinished stage is shown as delayed. Calls never overlap if a device operation stops responding. Delayed stages still block login and automatically recover on success. Detailed errors remain in API logs. The progress bar represents completed stages, not estimated remaining time.
Validation: 4 firmware progress tests and 9 workspace tab tests passed; Linux ARM64 build passed. A full firmware flash was not performed for this UI release. The device's last inspected firmware journal still recorded the earlier minimum-version validation failure; this web deployment does not resolve firmware package compatibility. The CAPTCHA area explains the wait while startup is pending. The actual challenge is issued only after readiness and enabled-policy confirmation, avoiding expiry during startup. Existing firmware progress and login security remain included. Serial capture configuration is batched below the control socket request-size limit.
Verify file integrity from this directory with `sha256sum -c SHA256SUMS`. Install executable files with mode `0755`. IMPORTANT: During validation the device clock was 1970-01-01, causing TLS certificate validity errors and repeated initialization attempts. The device system clock was synchronized to the host's current UTC time before successful validation. Persistence of time across power loss/RTC/NTP remains unverified. Retry does not fix an incorrect clock or the previously observed WCH kernel RCU/IRQ fault.
This bundle contains only the web and API executables, not a complete firmware image. It requires the compatible device services and configuration already installed on the target. Runtime data, credentials, and private keys are not included. Source changes are not included in this binary-only commit. Install both files together with mode 0755; an older API lacks the readiness endpoint required by this frontend. Verify with `sha256sum -c SHA256SUMS`.
Validation: backend startup/API tests, frontend login/readiness tests, 9 JavaScript login tests, and Linux ARM64 builds passed. The broader frontend handler suite has previously observed unrelated asset-version expectation failures. No full firmware flash or complete 48-channel traffic test was performed.
Device rollback backup: `/userdata/tera-backups/login-ready-20260909-101038` (api and web).
This is a binary-only release; source changes, runtime data, credentials and private keys are not included. It requires the existing compatible device services and configuration.

4
final-build/SHA256SUMS

@ -1,2 +1,2 @@
285d86fc28d6060fd7eda86806ee6416b144bd58383de542fa4164a4b52a1c24 frontend/tera-clone-demo-web dddce7bcdad3f95fdde9b7315f9390689e6722f75c37cf307a41709b7367388c frontend/tera-clone-demo-web
161e994766eec8f85fc11fc445fc7435a7e57bc613505df2d7327481b82d2477 backend/tera-clone-demo-api db8c305bbdc6671be61b23deb45ace931b7e1f8ee758eff5ea62ded0abc1fb9b backend/tera-clone-demo-api

BIN
final-build/backend/tera-clone-demo-api

Binary file not shown.

BIN
final-build/frontend/tera-clone-demo-web

Binary file not shown.
Loading…
Cancel
Save