Repository navigation
fix: run the settings reconciles after queued tasks; 35.0.3:1 → 35.0.3:2 - #185
Merged
Merged
Conversation
The external-storage, talk and office-suite oneshots ran alongside long-running-tasks, whose post-update maintenance and Repair hold Nextcloud in maintenance mode. A reconcile that started then had its occ calls refused partway, left a half-applied change, and did not retry until the next start: a Talk Calls change could leave Talk without its TURN entry for as long as the service stayed up. All three now require finish-upgrade and long-running-tasks; external-storage did not wait for finish-upgrade either. Verified on a StartOS box: with a Talk Calls change queued while stopped, the update from 35.0.3:1 starts all three only after long-running-tasks exits, and Talk's settings apply in full. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
approved these changes
Nov 16, 2026
helix-white
left a comment
Member
There was a problem hiding this comment.
No blocking findings. All three settings reconciles now wait for recovery and queued occ work, while web and cron startup remain independent. The 35.0.3:1 Talk migration is preserved under its original version, avoiding replay when updating from :1 to :2.
Static review of 0564570; merge-tree is clean. No builds or tests run by this reviewer. Both architecture builds are still in progress.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
external-storage,talkandoffice-suiteoneshots now wait forfinish-upgradeandlong-running-tasksto exit.Why.
long-running-tasksruns post-update maintenance and queued Repairs, both of which hold Nextcloud in maintenance mode, whereoccrefuses the reconciles' commands. A reconcile that started alongside one had its calls refused partway, left a half-applied change, and only retried on the next start. Found while testing #184: an update that reconfigured Talk deleted Coturn's plain TURN entry and failed to re-add it, leaving it missing for as long as the service stayed up. #184 removed that particular trigger, but a Talk Calls, Office Suite or External Storage change landing during maintenance still hit the same race.external-storagealso did not wait forfinish-upgrade.Cost. A setting changed during post-update maintenance or a Repair now applies when that work finishes, which on a large instance can be hours. The README says so.
Also corrects the README's oneshot list, which counted six and left out
office-suite.Verified on a StartOS box: installed nextcloud-talk-hpb 2.2.0:0 and Nextcloud 35.0.3:1 from beta, queued Talk Calls → High-performance backend while Nextcloud was stopped, then updated to 35.0.3:2. The log shows all three reconciles waiting on
long-running-tasks, launching only after the post-update repair exited, and Talk's TURN and signaling entries applying with no errors.🤖 Generated with Claude Code