Skip to content

feat(document): improve proxy status polling resilience#5632

Draft
joshtrichards wants to merge 2 commits intomainfrom
jtr/feat-proxy-mode-state-handling
Draft

feat(document): improve proxy status polling resilience#5632
joshtrichards wants to merge 2 commits intomainfrom
jtr/feat-proxy-mode-state-handling

Conversation

@joshtrichards
Copy link
Copy Markdown
Member

@joshtrichards joshtrichards commented May 3, 2026

  • Resolves: # (various, possibly)
  • Target version: main

Summary

  • Replace the unbounded 100ms polling loop for proxy.php status checks with limited exponential retries.
  • Split server-starting retries from transport failures so we can show a more specific fallback error when the built-in CODE server cannot be reached at all.

This avoids indefinite waiting and improves startup robustness / user feedback for built-in server deployments.

TODO

  • Adjust tests

Notes

Possible future follow-up:

  • unify/extract out shared proxy-status logic
    • we have two proxy status implementations: one in src/document.js and one in src/services/collabora.js (and Office.vue indirectly which uses the latter basically).

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

Replace the unbounded 100ms polling loop for `proxy.php` status checks with limited exponential retries. Split server-starting retries from transport failures so we can show a more specific fallback error when the built-in CODE server cannot be reached at all. This avoids indefinite waiting and improves startup robustness / user feedback for built-in server deployments.

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added bug Something isn't working enhancement New feature or request 2. developing Work in progress integration: built-in code server richdocumentscode labels May 3, 2026
Signed-off-by: Josh <josh.t.richards@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress bug Something isn't working enhancement New feature or request integration: built-in code server richdocumentscode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant