mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-11 05:11:49 +01:00
Merge codex/sleep-25-voice-call-reports into codex/sleep-26-teams-consent-expiry
Co-Authored-By: Paperclip <noreply@paperclip.ing> * codex/sleep-25-voice-call-reports: test(server): verify voice report resume at its retained deadline test(server): verify retention resume at its retained deadline
This commit is contained in:
commit
0bb6de2343
3 files changed
+34
-4
No files matched your search
@@ -50,3 +50,23 @@ then verifies the saved reply sends on resume without another producer.
|
||||
|
||||
All later shared-worker consumers inherit this repair through the stack. Their
|
||||
combined-tip checks and PR checks still need fresh verification after propagation.
|
||||
|
||||
## Retention resume assertion
|
||||
|
||||
The combined-tip consumer run exposed a retention test that called flush after
|
||||
resume and assumed a zero activity counter meant the retained retry had run. Its
|
||||
helper checks active work only; zero is now also the correct paused state. The
|
||||
owner test now advances the actual retained nextWakeAt, waits for row removal,
|
||||
and checks disarm. Before resume it also proves a stable idle snapshot through a
|
||||
minute of quiet. All 11 retention cases pass in /tmp/sleep24-drain-tests.log.
|
||||
No production scheduling deadline or dispatch behavior changed for this repair.
|
||||
|
||||
## Report resume assertion
|
||||
|
||||
The report test had the same active-counter-only flush assumption. It now checks
|
||||
idle snapshot stability while paused, advances the retained nextWakeAt on resume,
|
||||
and verifies one fetch and the available durable report before testing rollback.
|
||||
All 14 report cases pass in /tmp/sleep25-drain-tests.log. An intermediate new
|
||||
assertion incorrectly expected state=completed; the schema uses status=available.
|
||||
That test-authoring failure is retained in /tmp/sleep25-drain-invalid-assertion.log.
|
||||
The scheduler repair and business deadlines were not changed to satisfy tests.
|
||||
Reference in new issue
Block a user