Skip to content

fix(ci): skip the font regeneration that restarts OnlyOffice - #3996

Merged
v-scharf merged 1 commit into
opencloud-eu:mainfrom
pbleser-oc:fix-3994-onlyoffice-generate-fonts
Nov 15, 2026
Merged

v-scharf merged 1 commit into
opencloud-eu:mainfrom
pbleser-oc:fix-3994-onlyoffice-generate-fonts

Conversation

@pbleser-oc

Copy link
Copy Markdown
Member

The OnlyOffice scenarios of apiCollaboration/checkFileInfo.feature fail now and then in test-API-wopi-posix, all together (#3994).

The entrypoint of the OnlyOffice image regenerates the fonts after the document server first started, and restarts the document server about 30 s later. wait-for-weboffices only sees the first instance, and the wopi-onlyoffice collaboration service fetches the WOPI discovery once at startup: when that fetch hits the restart, it gets a 502, registers without mimetypes, and every OnlyOffice app-open fails until its next registration 30 s later. #3994 has the logs and timings.

The image comes with the fonts already generated, so this skips the regeneration with GENERATE_FONTS=false: the document server no longer restarts, and it is ready a bit sooner.

The collaboration service's own part (no quick retry after a failed fetch, /readyz reporting ready meanwhile) is #3995.

Fixes #3994

AI assistance: Claude Code (claude-opus-5-5) analysed the CI logs and wrote the change and this description.

The entrypoint of the OnlyOffice image regenerates the fonts after the
document server first started, and restarts it about 30 s later. The
wait step only sees the first instance, and the collaboration service
fetches the WOPI discovery once at startup: when that fetch hits the
restart, it gets a 502, registers without mimetypes, and every
OnlyOffice app-open fails until its next registration 30 s later.

The image comes with the fonts already generated, so skip the
regeneration with GENERATE_FONTS=false.

Fixes opencloud-eu#3994

Assisted-by: Claude Code:claude-opus-5-5
@codacy-production

codacy-production Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · -0.02% coverage variation

Metric Results
Coverage variation ✅ -0.02% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (15d181d) 94236 28112 29.83%
Head commit (728a489) 94236 (+0) 28096 (-16) 29.81% (-0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3996) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@pbleser-oc
pbleser-oc requested a review from v-scharf November 14, 2026 01:25

@micbar micbar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@v-scharf v-scharf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@v-scharf
v-scharf merged commit 9856b44 into opencloud-eu:main Nov 15, 2026
63 checks passed
@openclouders openclouders mentioned this pull request Nov 15, 2026
@pbleser-oc
pbleser-oc deleted the fix-3994-onlyoffice-generate-fonts branch November 16, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky test: apiCollaboration/checkFileInfo.feature OnlyOffice scenarios, OnlyOffice restarts during startup

3 participants