[Feature] Design signed remote WebUI bundle loading for true hot frontend installs #204

Closed
opened 2026-07-07 09:24:37 +02:00 by zemion · 3 comments
Owner

Parent: #36

Goal

Define the future path for WebUI package changes that do not require rebuilding/reloading the core shell.

Acceptance Criteria

  • Design covers signed asset manifests, compatibility checks, CSP, cache invalidation, rollback, and local/dev behavior.
  • The design explicitly compares dynamic remote loading with the current rebuild/reload strategy.
  • Implementation is split into smaller issues after the design is accepted.
Parent: #36 ## Goal Define the future path for WebUI package changes that do not require rebuilding/reloading the core shell. ## Acceptance Criteria - Design covers signed asset manifests, compatibility checks, CSP, cache invalidation, rollback, and local/dev behavior. - The design explicitly compares dynamic remote loading with the current rebuild/reload strategy. - Implementation is split into smaller issues after the design is accepted.
Author
Owner

Codex State: ready

Summary

  • Documented remote signed WebUI bundles as future work; current installer remains build-time WebUI package based with supervised rollback.

Changed Files

  • docs/MODULE_ARCHITECTURE.md
  • docs/RELEASE_DEPENDENCIES.md

Next / Blocked

  • Design signed asset manifests, CSP/cache invalidation, frontend compatibility checks, and asset-level rollback before true hot WebUI package installs.

Suggested status label: status/ready

## Codex State: ready ### Summary - Documented remote signed WebUI bundles as future work; current installer remains build-time WebUI package based with supervised rollback. ### Changed Files - `docs/MODULE_ARCHITECTURE.md` - `docs/RELEASE_DEPENDENCIES.md` ### Next / Blocked - Design signed asset manifests, CSP/cache invalidation, frontend compatibility checks, and asset-level rollback before true hot WebUI package installs. Suggested status label: `status/ready`
Author
Owner

Codex State: progress

Summary

  • Added the first signed/hardened remote WebUI bundle contract: frontend manifests now expose signature/key/integrity metadata, and the core shell can load enabled remote modules after manifest and entry integrity checks.

Changed Files

  • src/govoplan_core/core/modules.py
  • src/govoplan_core/server/platform.py
  • webui/src/platform/modules.ts
  • webui/src/App.tsx

Verification

  • /home/zemion/.nvm/versions/node/v22.22.3/bin/npm run build in govoplan-core/webui (OK)

Next / Blocked

  • Define deployment trust-store provisioning and CSP policy before treating remote bundles as the default release path.

Suggested status label: status/in-progress

## Codex State: progress ### Summary - Added the first signed/hardened remote WebUI bundle contract: frontend manifests now expose signature/key/integrity metadata, and the core shell can load enabled remote modules after manifest and entry integrity checks. ### Changed Files - `src/govoplan_core/core/modules.py` - `src/govoplan_core/server/platform.py` - `webui/src/platform/modules.ts` - `webui/src/App.tsx` ### Verification - `/home/zemion/.nvm/versions/node/v22.22.3/bin/npm run build in govoplan-core/webui (OK)` ### Next / Blocked - Define deployment trust-store provisioning and CSP policy before treating remote bundles as the default release path. Suggested status label: `status/in-progress`
Author
Owner

Codex State: done

Summary

  • Added a dedicated remote WebUI bundle loading design covering signed manifests, compatibility checks, CSP, cache invalidation, rollback, local/dev behavior, and comparison with the supported rebuild path.

Changed Files

  • Added docs/REMOTE_WEBUI_BUNDLES.md and linked it from docs/MODULE_ARCHITECTURE.md and docs/RELEASE_DEPENDENCIES.md; the design lists follow-up implementation slices for policy flags, CSP config, installer validation, Playwright coverage, and release tooling.

Verification

  • git diff --check
## Codex State: done ### Summary - Added a dedicated remote WebUI bundle loading design covering signed manifests, compatibility checks, CSP, cache invalidation, rollback, local/dev behavior, and comparison with the supported rebuild path. ### Changed Files - `Added docs/REMOTE_WEBUI_BUNDLES.md and linked it from docs/MODULE_ARCHITECTURE.md and docs/RELEASE_DEPENDENCIES.md; the design lists follow-up implementation slices for policy flags, CSP config, installer validation, Playwright coverage, and release tooling.` ### Verification - `git diff --check`
zemion added the
type
feature
status
triage
area/release
codex/ready
labels 2026-07-07 23:08:29 +02:00
zemion added the
module/core
label 2026-07-07 23:42:34 +02:00
zemion added the
priority
p2
label 2026-07-08 02:13:37 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#204
No description provided.