Skip to content

Validate wiki universal identifier, disallow updating it#24085

Open
NobodysNightmare wants to merge 2 commits into
devfrom
uid-validation
Open

Validate wiki universal identifier, disallow updating it#24085
NobodysNightmare wants to merge 2 commits into
devfrom
uid-validation

Conversation

@NobodysNightmare

@NobodysNightmare NobodysNightmare commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Adding a health check to confirm that the ID didn't change compared to setup and stop updating it during provider updates.

(see commits for more details)

This check is intended to detect whether the installation id of
an instance changed, which would point at the possibility that
the underlying XWiki instance changed. If that was the case,
previous links might not work anymore.
We do not support changing the actual instance identity under the
same configured provider on the OpenProject side. If someone changes the
URL and this changes the identity of the remote XWiki instance, this would
mean that existing access tokens and page links are most likely broken.

Thus we stop updating the instance id, after it was initially fetched.
The previously created health check will ensure to notify users of such an error.

For the rare cases where the change of the installation id might be an error and everything
is fine otherwise, this will mean that a manual change via the rails console would be necessary.
@NobodysNightmare NobodysNightmare requested a review from a team July 3, 2026 07:39
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Warning

This pull request does not link an OpenProject work package.

Please add a link to the work package in the description, or reference it in the
title in square brackets, e.g. [SLUG-123] My title here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant