fix(settings): connect to the decoder URL shown in the field
Connect now used the saved URL even after a new one was typed; typed decoder URLs are now saved first. Adds a browser test for saving a new decoder port and connecting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
abed53fb32
commit
cdde070c1c
7 files changed
+76
-4
No files matched your search
+13
@@ -924,6 +924,19 @@ Verified 2026-10-11:
|
||||
- Open Practice shows "23L 0:15.833 -" with the best lap once.
|
||||
- 73 browser scenarios pass.
|
||||
|
||||
## Decoder URL on its own port (2026-10-17)
|
||||
|
||||
Reported by the user: AMMC runs as their own systemd service on port 9443, but RaceCore showed "Decoder offline" and the UI log still said 9000.
|
||||
|
||||
Checked:
|
||||
- The "AMMC WebSocket port 9000" and its log belong to Managed AMMC only (started 17:02, stopped 17:09). The decoder URL had been set to `:9000` by "Use server WS URL".
|
||||
- No code path changes the URL by itself.
|
||||
- A new browser test (`tests/browser_decoder_url.js`) types a new URL, saves and connects, and comes online on that port, so the app flow works. What remains on the user's side is reachability of port 9443 from the browser (firewall/UFW only opened 9000-9003 in the README).
|
||||
|
||||
- [x] Found while checking: "Connect now" used the saved URL even when the field showed a typed one. It now saves typed decoder URLs first. Covered by the same browser test (connects to the typed port without pressing Save).
|
||||
|
||||
Verified: 265 unit and 75 browser scenarios pass.
|
||||
|
||||
## Documentation maintenance
|
||||
|
||||
- [x] Update the architecture's module/dependency inventory as modules change.
|
||||
|
||||
Reference in new issue
Block a user