Skip to content

feat(admin): manage OpenMapX instances through the admin panel - #692

Merged
Medformatik merged 138 commits into
mainfrom
feat/admin-instance-management-parity
Nov 5, 2026
Merged

Medformatik merged 138 commits into
mainfrom
feat/admin-instance-management-parity

Conversation

@Medformatik

@Medformatik Medformatik commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

The administration panel previously exposed incomplete host operations and left routine instance management to the CLI. This brings supported administration into the UI, with durable jobs and recovery before expanding coverage.

  • Services: truthful capability and outage states, prepared lifecycle/update workflows, presets, configuration/secrets, platform settings, release management and configurable logs.
  • Data: awaited and cancelable workflows, reversible transit sources, reviewed paired catalog pins, masked feed credentials, readiness inventory and bounded prepared-artifact transfer.
  • Accounts and integrations: effective account policy, invitation/recovery and last-admin safeguards; binding reload, configuration migration and standalone extension adoption/removal.
  • Operations: backup retention/prune, scoped cache previews and complete assisted privacy-case workflows.
  • Reliability: retained backend execution identities, keyed service/backup/maintenance admission, partial-failure outcomes, source ownership and atomic extension bookkeeping across retries and process death.

Initial host installation, offline control-plane recovery and destructive whole-stack shutdown remain documented host operations.

Verification

  • Verification covers workspace type tasks, full policy and generated API/SDK freshness checks.
  • Focused API/CLI/web/core/agent checks and real migrated PostgreSQL workflows pass, including native extension-worker death and original-job recovery.
  • Hosted CI covers Node/web/mobile, all five PostgreSQL groups, Linux user/mount-layout tests, production builds, all Docker targets and CodeQL. Use the latest check run for current results; auto-merge and release publication are skipped.
  • Production bundles and rendered administration views were inspected locally. External Docker mutation/provider/email delivery acceptance remains environment-specific.

Release and upgrade impact

Product impact: breaking, migration, operator-action

Apply the normal API migrations and upgrade the control services together. Preserve original installation keys and unresolved job records. Private host-control directory prerequisites and reserved community configuration names are documented in the release fragments. Changesets cover the public extension contracts and rebuilt extension CLI.

Review and size

Earlier focused reviews found seven defects in recovery, result truthfulness, receipt bounds and UI ownership; those were fixed. Two additional independent source reviews identified four validated important issues: ignored host backup retention, attachment cleanup after uncertain database commits, duplicate service-action admission, and missing migration/credential startup recovery. Those are now fixed with focused real PostgreSQL, serialized API, agent and UI regressions. A reported log-follow cancellation gap was already handled by the shared helper and its existing disconnect test; no redundant cancellation mechanism was added.

Removed throwing catalog-write stubs, a test-only alias, an unused publication wrapper and four internal-only exports. Shared cache namespace parsing, guarded optional browser metadata storage, and clarified session/link lifetimes and migration naming. Two optional recovery-helper refactors were excluded after a timing-sensitive workflow failed qualification; original async ordering and proof helpers remain.

The correction batch has 40 focused PostgreSQL, 103 web and 104 route cases passing, plus actual guarded Apply/Update and a nonempty credential continuation. Affected types, lint, dead-code and generator checks pass at the recorded sources. Broader local runs were interrupted and are not claimed as passes. Use the latest exact-head hosted CI/CodeQL results for current full-matrix status.

These source reviews sampled the large coordination layer; they do not establish complete protocol correctness or minimality. Live archive-parser duplication, broader legacy request-admission consistency and structural protocol consolidation remain explicit follow-up risks. This remains a draft for human review because of its breadth.

About 57% of the original added lines were generated outputs and 17% were tests/fixtures. There is still substantial handwritten control-plane code; generation alone does not justify the size. New account/privacy SDK types now stay in their family files, removing 607 generated model files and2,434 net lines. Existing client layouts are preserved. Generated SDK/OpenAPI/snapshot output is collapsed by GitHub attributes; handwritten code and SQL remain reviewable.

Suggested review order: canonical contracts/routes → desired-save and recovery boundaries in prospective-configuration.ts → core authority/target leases/retention → artifact/integration transactions → account/privacy enforcement → UI job outcomes. The largest owner files remain explicit review hotspots.

Current-main integration preserves auth security updates, OSM metadata and system-Back dialogs. A PostgreSQL upgrade regression verifies that installations already on current main receive the administration migrations; existing SQL bytes are preserved. Generic legacy-job cleanup excludes proof-owned durable receipts.

Fresh browser inspection could not run because the browser access host is unavailable; the affected rendered component interactions pass. No screenshots are included. Fresh browser inspection and live external delivery remain separate acceptance limits.

Honor host backup retention, recover migration jobs at startup, preserve
attachment bytes after uncertain commits, and retain service and backup
request identity across retries. Adapt coordinator bookkeeping without
changing its signed provenance or recovery authority.

Remove unused catalog stubs and exports, share cache namespace parsing,
handle unavailable preview storage, and clarify operator documentation.
@Medformatik
Medformatik marked this pull request as ready for review November 5, 2026 02:04
@Medformatik
Medformatik merged commit 41f64e3 into main Nov 5, 2026
33 checks passed
@Medformatik
Medformatik deleted the feat/admin-instance-management-parity branch November 5, 2026 06:06
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docker Container images and Docker build or deployment tooling integration New or changed provider, source or backend integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants