Skip to content

chore(config): refactor all signaling server related configs to AppConfig - #19915

Merged
sudormant merged 3 commits into
mainfrom
refactor/config/RefactorTalkConfigToAppConfig7
Oct 28, 2026
Merged

sudormant merged 3 commits into
mainfrom
refactor/config/RefactorTalkConfigToAppConfig7

Conversation

@sudormant

Copy link
Copy Markdown
Contributor

AI (if applicable)

  • The content of this PR was partly or fully generated using AI:
    • taken getRealAppConfig() code suggestion with changes from Claude Opus 5.5.

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

refactoring all signaling server related configs to AppConfig.

These unit test failures are expected and solved by #19400:
There were 3 failures:

  1. OCA\Talk\Tests\BackgroundJob\CheckHostedSignalingServerTest::testRunWithNoChange
    Expectation failed for method name is "fetchAccountInfo" when invoked 1 time.
    Method was expected to be called 1 time, actually called 0 times.

  2. OCA\Talk\Tests\BackgroundJob\CheckHostedSignalingServerTest::testRunWithPendingToActiveChange
    Expectation failed for method name is "fetchAccountInfo" when invoked 1 time.
    Method was expected to be called 1 time, actually called 0 times.

  3. OCA\Talk\Tests\BackgroundJob\CheckHostedSignalingServerTest::testRunWithPendingToActiveIncludingStunAndTurn
    Expectation failed for method name is "fetchAccountInfo" when invoked 1 time.
    Method was expected to be called 1 time, actually called 0 times.

Checking CI for tests and clean occ app config as some types were enforced.

needs further cleaning up, tests validations, polishing and checks that signaling_servers is used as the same array type everywhere, [servers] vs [secret] vs [server, server..]

@sudormant sudormant self-assigned this Oct 19, 2026
@sudormant sudormant added feature: settings ⚙️ Settings and config related issues feature: signaling 📶 Internal and external signaling backends technical debt labels Oct 19, 2026
@sudormant sudormant added this to the ☃️ Next Major (36) milestone Oct 19, 2026
@sudormant
sudormant force-pushed the refactor/config/RefactorTalkConfigToAppConfig7 branch 4 times, most recently from b722524 to c687178 Compare October 20, 2026 13:28
@sudormant

Copy link
Copy Markdown
Contributor Author

rebased after #19400 merge and cleaned up, unit tests now pass

signaling_servers is used as the same array type everywhere, [servers] vs [secret] vs [server, server..]

that behavior remains unchanged and should be checked / streamlined in another PR.

@sudormant
sudormant marked this pull request as ready for review October 20, 2026 13:49
Comment thread lib/Settings/Admin/AdminSettings.php Outdated
Comment thread lib/Config.php Outdated
@sudormant
sudormant force-pushed the refactor/config/RefactorTalkConfigToAppConfig7 branch 5 times, most recently from b658bcf to 5c6e37a Compare October 27, 2026 16:10
Comment thread lib/Settings/Admin/AdminSettings.php Outdated
Comment thread lib/Config.php Outdated
Comment thread lib/Config.php Outdated
Comment thread lib/Config.php Outdated
…nfig

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
…ix and config lexicon entries for different key types to split off in new PRs

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
…ling secret was reverted

Signed-off-by: Christian Lorang <christian.lorang@nextcloud.com>
@sudormant
sudormant force-pushed the refactor/config/RefactorTalkConfigToAppConfig7 branch from 5c6e37a to 0c4d194 Compare October 28, 2026 08:06
@sudormant
sudormant merged commit df8c22f into main Oct 28, 2026
77 of 79 checks passed
@sudormant
sudormant deleted the refactor/config/RefactorTalkConfigToAppConfig7 branch October 28, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: settings ⚙️ Settings and config related issues feature: signaling 📶 Internal and external signaling backends technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants