Add deltas/cursors for admin operational and governance lists #2

Closed
opened 2026-07-09 16:22:59 +02:00 by zemion · 1 comment
Owner

Several admin lists are still snapshot-only: governance templates and module installer runs/requests. Private ETags cover unchanged reloads, but longer-running installations need row deltas or cursor-safe history reads.

Scope:

  • Add row-delta support for governance templates, including tombstones if templates are retired or hidden.
  • Review module installer run/request history: if it remains filesystem-backed, add stable cursor reads and ETag-friendly snapshots; if it moves into database state, record changes in core_change_sequence.
  • Keep existing list endpoints for compatibility.
  • Update admin WebUI panels to prefer delta/cursor endpoints where available.
  • Add focused tests for governance template create/update and installer history cursor stability.

Related platform work: govoplan-core#222.

Several admin lists are still snapshot-only: governance templates and module installer runs/requests. Private ETags cover unchanged reloads, but longer-running installations need row deltas or cursor-safe history reads. Scope: - Add row-delta support for governance templates, including tombstones if templates are retired or hidden. - Review module installer run/request history: if it remains filesystem-backed, add stable cursor reads and ETag-friendly snapshots; if it moves into database state, record changes in `core_change_sequence`. - Keep existing list endpoints for compatibility. - Update admin WebUI panels to prefer delta/cursor endpoints where available. - Add focused tests for governance template create/update and installer history cursor stability. Related platform work: govoplan-core#222.
Author
Owner

Implemented and verified the admin operational/governance list work.

Changes:

  • Added governance-template row deltas, including delete tombstones.
  • Added optional cursor windows for filesystem-backed installer run/request history using stable run_id / request_id anchors and first-window fallback when an anchor disappears.
  • Exposed cursor metadata in admin WebUI API types.
  • Added focused smoke coverage for governance create/update/delete deltas and installer history cursor stability.

Verification: test_governance_template_delta_tracks_create_update_and_delete and test_module_installer_history_supports_cursor_windows pass.

Implemented and verified the admin operational/governance list work. Changes: - Added governance-template row deltas, including delete tombstones. - Added optional cursor windows for filesystem-backed installer run/request history using stable `run_id` / `request_id` anchors and first-window fallback when an anchor disappears. - Exposed cursor metadata in admin WebUI API types. - Added focused smoke coverage for governance create/update/delete deltas and installer history cursor stability. Verification: `test_governance_template_delta_tracks_create_update_and_delete` and `test_module_installer_history_supports_cursor_windows` pass.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-admin#2
No description provided.