Repository navigation
feat: report Talk Calls setup in a health check; 35.0.3:2 → 35.0.3:3 - #186
Conversation
With Talk Calls on Coturn or the HPB, nothing told the user when setup did not happen: a missing service, secret or address made the reconcile do nothing without a word, and its other stops went only to the log. A Talk Calls health check now reports what the chosen mode is missing, why the talk oneshot stopped (Talk app disabled, a hand-added signaling server, a failed occ call), that it is waiting for maintenance or applying, or that it succeeded. The signaling URL also falls back past the .local name: a public domain, then a private domain, then .local, then a LAN IPv4. A Nextcloud reached only by a private domain or IP previously got no signaling server at all. An IP host gets no hosts mapping. Verified on a StartOS box: the check reports HPB not installed, Talk app missing, success, a blocking hand-added signaling server, Coturn not installed, and is absent in Direct mode; adding a private domain moves the signaling URL to it, and creating a Talk room through it succeeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Helix-Harness: pi Helix-Model: openai-codex/gpt-6.1-sol
helix-white
left a comment
There was a problem hiding this comment.
Requesting changes for three health-reporting paths:
-
[P2] Check enabled Talk before returning
appliedfor matching settings (startos/main.ts:1327–1328). Configure Coturn/HPB successfully, then disable/remove Talk and restart without changing the endpoints. The signature shortcut returnsappliedbeforereadEnabledApps, so the new check stays green even after restart. An incompatible Nextcloud upgrade can reach the same state. The proposal preserves the zero-occDirect-only shortcut, checks Talk availability before accepting an unchanged active configuration, and records that contract atreconcileTalk. -
[P2] Distinguish an unreadable app list from disabled Talk (
startos/main.ts:1345–1354).readEnabledAppsthrows on a failedocc app:listor invalid output. Catching that as{}produces the cached “Install and enable” diagnosis even when Talk is enabled. The proposal returnsfailedinstead, using the existing restart/log-details message. -
[P2] Include restart in the disabled-app recovery instruction (
startos/main.ts:881). Installing/enabling Talk through Nextcloud does not rebuild this daemon chain or rerun its oneshot. Following the displayed instruction therefore leaves setup unapplied and the check red until a restart. The proposal adds that step in every translation.
Documentation cleanup: remove the contradictory claims that missing relay prerequisites report no error, and align the README/instructions with the health check and restart requirement.
Proposed changes: c5d2500...proposal/186
git merge-tree found no conflicts with origin/master. CI discovery passed; x86 and ARM builds are still running. No builds, tests, typechecks, or runtime checks were run for this review. Please verify the configure → disable Talk → restart and missing Talk → enable → restart transitions when adopting the proposal.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
Adopted proposal/186 as-is. Verified on a StartOS box with it installed: HPB applied (success) → disable Talk and restart → failure, Install and enable the Talk app in Nextcloud, then restart Nextcloud. → re-enable Talk: still that failure until a restart → restart: success, with the signaling server still configured. |
helix-white
left a comment
There was a problem hiding this comment.
Re-reviewed 01c2ca3 against the previously reviewed c5d2500. All three findings are addressed:
- Selected relays check whether Talk is enabled before accepting matching stored settings, with the contract recorded at
reconcileTalk; the Direct-only no-op remains intact. - Failed app-list reads now produce
failed, not a disabled-app diagnosis. - The recovery message includes restarting Nextcloud in every translation, and the documentation matches.
The reported StartOS disable → restart → failure → re-enable → restart → success verification covers the lifecycle regression. No remaining correctness findings.
git merge-tree reports no conflicts with origin/master. Current-head CI is still running. No builds, tests, typechecks, or runtime checks were run for this review.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Adds a Talk Calls health check and widens the signaling URL fallback. Refs #183, where the reporter set Talk Calls to the HPB and nothing happened, with no indication why.
The check (
talk-calls, present only while Talk Calls is Coturn or High-performance backend) reports:talkoneshot stopped: Talk app not enabled, a hand-added signaling server blocking HPB setup, or a failedocccall (cleared by a restart, which is when it retries).reconcileTalknow returns its outcome; the resolvers return the message naming what is missing instead ofnull. The outcome lives for the daemon chain, so a Talk app disabled after setup is noticed on the next start.Signaling URL fallback. The host was the Web UI's public domain or else its
.localname. It now takes a public domain, then a private domain, then.local, then a LAN IPv4, so a Nextcloud reached only by a private domain or IP gets a signaling server. An IP host gets no/etc/hostsmapping.Verified on a StartOS box (this build, nextcloud-talk-hpb 2.2.0:0 from beta): the check read Install and start Nextcloud Talk HPB… with the HPB absent, Install and enable the Talk app… once it was installed, success after installing Talk, the blocking-server message with a hand-added signaling server, Install and start Coturn… in Coturn mode without Coturn, success again back in HPB mode, and was absent in Direct mode. Adding a private domain moved the signaling URL from the
.localaddress tohttps://nc-hpb.home/standalone-signaling/, and creating a Talk room through that domain succeeded (Nextcloud calls the signaling server to create it). The LAN-IPv4 fallback was not exercised.🤖 Generated with Claude Code