tenseleyflow/shithub / fedac0a

Browse files

changelog: note S50 §13 part 4 actions caches — §13 closure

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
fedac0a2e7d47f7b7704d8b196c18dbc75e13b1b
Parents
53b2399
Tree
890d2be

1 changed file

StatusFile+-
M CHANGELOG.md 16 0
CHANGELOG.mdmodified
@@ -344,6 +344,22 @@ between minor releases.
344344
   is dev-only behavior.
345345
 - **Capabilities:** `actions-secrets`, `actions-variables` added to
346346
   `/api/v1/meta`.
347
+- **REST: actions caches (S50 §13 part 4 — §13 closure).** New
348
+  migration `0065_workflow_caches` adds the `workflow_caches` table
349
+  keyed on `(repo_id, cache_key, cache_version, git_ref)` with
350
+  size + last_accessed_at + object_key columns and a unique
351
+  constraint. REST surface:
352
+  `GET /api/v1/repos/{o}/{r}/actions/caches` (paginated; optional
353
+  `?key=` and `?ref=` filters; standard `Link:` headers; sorted
354
+  recency-DESC by `last_accessed_at`),
355
+  `DELETE .../actions/caches/{cache_id}` (single delete with
356
+  cross-repo 404 guard + best-effort async S3 cleanup),
357
+  `DELETE .../actions/caches?key=...[&ref=...]` (bulk delete by
358
+  key; idempotent — 204 even with zero matches). The runner-side
359
+  upload protocol that POPULATES this table is a future sprint;
360
+  this REST surface lands first so operators have an audit + purge
361
+  seat for when caches arrive.
362
+- **Capability:** `actions-caches` added to `/api/v1/meta`.
347363
 
348364
 ### Added (internal)
349365