Skip to content

Feat: Add read only mode#1835

Open
netomi wants to merge 14 commits into
mainfrom
read-only-mode
Open

Feat: Add read only mode#1835
netomi wants to merge 14 commits into
mainfrom
read-only-mode

Conversation

@netomi
Copy link
Copy Markdown
Contributor

@netomi netomi commented May 12, 2026

This PR adds a dynamic read-only mode to Open VSX.

The idea is that dynamically at runtime via the admin dashboard, you can set the registry in read-only mode, i.e. all requests that would modify the DB are rejected with a 409 response indicating the reason.

This can be achieved with an aspect that matches any endpoint that is annotated with the MutatingOperation annotation.

@netomi netomi added the snapshot Pull requests with that label will automatically build and publish snapshot images label May 14, 2026
@netomi netomi marked this pull request as ready for review May 14, 2026 07:04
@netomi
Copy link
Copy Markdown
Contributor Author

netomi commented May 14, 2026

Read-only mode is functional, missing:

  • better UI with confirmation dialogs before saving settings changes
  • add read-only check to job handlers which run asynchronously

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

Labels

snapshot Pull requests with that label will automatically build and publish snapshot images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants