astrbot_plugin_private_comp.../tests
YokiiroBW 54f892e348 test: assert the provider-not-ready round actually writes nothing
The readiness fix had unit coverage for _chat_provider_ready and the fallback
upgrade helpers, but nothing asserting the thing that actually went wrong in
production: that a not-ready round leaves the day untouched. "It returned
None" and "it wrote a fallback and pinned the whole day" are both plausible
readings of a green pure-function test.

Three cases through _ensure_daily_plan itself: not ready writes no plan and
counts one wait; the round after the configured limit is the first one allowed
to degrade, and it must actually produce a plan; a ready provider generates
immediately and clears the wait counter, so a later genuine outage gets its
full budget.

Companion suite 246 passed, joint E2E 146/146.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 05:43:19 +08:00
..
__init__.py feat: add safe companion data migration 2026-07-24 21:10:46 +08:00
_host_stub.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_agenda_settle_cursor.py fix: settle windows from a durable cursor, align idempotency keys and clocks 2026-07-27 05:09:11 +08:00
test_agenda_system.py feat: isolate bot self storage from user memory 2026-07-25 23:22:41 +08:00
test_agenda_window_labels.py fix: clear the three P0 defects that were bleeding in production 2026-07-27 05:01:56 +08:00
test_audit_batch1.py fix: let emotion decay run during continuous conversation 2026-07-27 05:27:40 +08:00
test_b7_image_temp_files.py fix: stop leaking downloaded vision temp files on every non-group path 2026-07-27 05:36:12 +08:00
test_bot_self_store.py feat: isolate bot self storage from user memory 2026-07-25 23:22:41 +08:00
test_calendar_system.py feat: add temporal companion calendar 2026-07-25 01:35:56 +08:00
test_daily_plan_version.py fix: make the daily plan chain survive startup timing and same-day rewrites 2026-07-27 04:16:06 +08:00
test_m6_bot_personal_bridge.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_local_loop.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r1_maintenance.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r2_legacy_compat.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r4_creative_media.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r5_profile_injection.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r6_runtime_view.py feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00
test_m6_r7_privacy_residue.py fix: clear the three P0 defects that were bleeding in production 2026-07-27 05:01:56 +08:00
test_p0_runtime_fixes.py test: assert the provider-not-ready round actually writes nothing 2026-07-27 05:43:19 +08:00
test_p3_key_and_clock.py fix: settle windows from a durable cursor, align idempotency keys and clocks 2026-07-27 05:09:11 +08:00
test_provider_readiness.py fix: make the daily plan chain survive startup timing and same-day rewrites 2026-07-27 04:16:06 +08:00
test_q7_backend_contracts.py feat: freeze ops backend page contracts 2026-07-26 00:05:56 +08:00
test_temporal_context.py feat: add temporal companion calendar 2026-07-25 01:35:56 +08:00