draft still claims backup schedules aren't API-readable (pre-#51 text) — read them and emit backup: blocks #75
Labels
No labels
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-triage
ready
release
scope:apply
scope:capture
scope:coolify-api
scope:fleet
scope:manifest
scope:secrets
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/cast#75
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
draft.ts:594still tells every draft reader that "backup schedules are not exposed by Coolify's API and are NOT in this draft" — the exact claim #51 disproved (GET /databases/{uuid}/backupsis a route, and diff/apply now read it on every run). The draft path was never brought along: it warns instead of reading, so--emit-drafthand-waves at the Backups tab for data cast can fetch itself.What to do
--emit-draft: readGET /databases/{uuid}/backupsper drafted database and emit a realbackup: { frequency, retention }block (enabled: true, single-schedule case)s3_storage_id, unmappable — see #72 findings 5/6), multiple schedules, disabled schedulesdraft.ts:594and the "backup schedules" row inNO_API_COVERAGESmall, self-contained, and the last place in the codebase still repeating the pre-#51 claim. Found in #72 (cast action items).
Partially addressed by #80 (merged,
b560317) — leaving this open, because only the third box is done.--emit-draft: readGET /databases/{uuid}/backupsper drafted database and emit a realbackup:block — not donedraft.ts:594and theNO_API_COVERAGErow — done#80 was deliberately text-only: it corrects the false claim ("backup schedules are not exposed by Coolify's API") in all three places it appeared — the
backupflag, its comment, and theNO_API_COVERAGErow — and replaces it with what is actually true: the API answers (GET /databases/{uuid}/backups, whichdiff/applyuse since #51); the draft path has not been taught to ask. So the draft still says "declare it yourself", but now for the honest reason.The read-and-emit half is untouched and still worth doing. Note it now has an exact sibling: #73/#81 left
--emit-draftin the same position for service hostnames — the API answers (GET /services/{uuid}), the draft path doesn't make the per-service GET. Both are "teach the sweep to make one supplementary read per resource", so they may be worth doing together.The service-hostname twin of this is now filed as #83 — #81 left
--emit-draftin the identical position for services (API answers viaGET /services/{uuid}, the sweep doesn't ask). Both add one supplementary GET per resource to a verb that walks every project, so the gating/parallelism decision is shared; likely worth doing together.