mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
docs(unlisted-sharing): park M8.6-readiness check as 2026-05-09 plan-TODO
The CronCreate scheduler ignored the durable flag so the original in-session reminder won't survive a Claude restart. Captures the exact `psql` query to run and the decision criteria (expired-not- cleaned > 0 → start M8.6; total = 0 → keep waiting) directly in the plan doc instead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2e9ec76d60
commit
d924895de0
1 changed files with 16 additions and 0 deletions
|
|
@ -462,6 +462,22 @@ Emitted aus dem jeweiligen Store beim Publish/Revoke. Landet im `_events`-Log
|
|||
|
||||
**Aufwand:** ~1h
|
||||
|
||||
> **TODO 2026-05-09 (zwei Wochen nach M8.5):** Check ob expired-but-not-cleaned-up Rows sich stapeln — das ist das Signal, dass M8.6 jetzt fällig ist.
|
||||
>
|
||||
> ```sh
|
||||
> docker exec -i mana-postgres psql -U mana -d mana_platform -c \
|
||||
> "SELECT COUNT(*) AS total,
|
||||
> COUNT(*) FILTER (WHERE expires_at IS NOT NULL
|
||||
> AND expires_at < NOW()
|
||||
> AND revoked_at IS NULL) AS expired_not_cleaned,
|
||||
> COUNT(*) FILTER (WHERE revoked_at IS NULL) AS active
|
||||
> FROM unlisted.snapshots;"
|
||||
> ```
|
||||
>
|
||||
> - `expired_not_cleaned > 0` → M8.6 starten.
|
||||
> - `total = 0` → Feature wird noch nicht genutzt; warte länger.
|
||||
> - Erstcheck war ursprünglich für 2026-05-09 als One-Shot-Cron geplant; durable-Flag wurde vom Scheduler ignoriert, daher hier als Plan-TODO geparkt.
|
||||
|
||||
### Gesamtschätzung
|
||||
~15h über 4–5 Tage, passt für iterative Reviews zwischen Milestones.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue