Add admin 'rebuild & purge' action tying version bump to static regen and edge purge #28

Closed
opened 2026-07-01 00:58:19 +00:00 by manlycucumber · 1 comment
manlycucumber commented 2026-07-01 00:58:19 +00:00 (Migrated from github.com)

Problem

After a Core or text change, an admin must bump the data-version, regenerate static hot-path files, and purge the Cloudflare cache in one coherent action. Doing these steps separately risks serving stale or mismatched data.

Acceptance criteria

  • An authenticated admin action bumps the data-version, triggers static regeneration, and purges the edge cache.
  • The action is atomic enough that clients never see a mix of old and new versions for a key.
  • The action reports success/failure of each step.
  • The flow is covered by an integration test with a stubbed edge purge.

Notes

This is the operational counterpart to the data-version stamp.

## Problem After a Core or text change, an admin must bump the data-version, regenerate static hot-path files, and purge the Cloudflare cache in one coherent action. Doing these steps separately risks serving stale or mismatched data. ## Acceptance criteria - [ ] An authenticated admin action bumps the data-version, triggers static regeneration, and purges the edge cache. - [ ] The action is atomic enough that clients never see a mix of old and new versions for a key. - [ ] The action reports success/failure of each step. - [ ] The flow is covered by an integration test with a stubbed edge purge. ## Notes This is the operational counterpart to the data-version stamp.
manlycucumber commented 2026-07-03 06:18:59 +00:00 (Migrated from github.com)

Delivered in #138 (squash-merged to develop).

Delivered in #138 (squash-merged to `develop`).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Directorium/Api#28
No description provided.