1
0
Fork 0
polaris-task-force/tests
Z8MB1E c628f8a90b feat(missions): auto-complete past missions via mission-tick bin
Add the mission-tick Payload bin (external cron): sweeps missions
whose status is Scheduled/Active and whose scheduled calendar day
(classification.startDateTime, server-local) has fully passed and
sets them to Completed, emitting a mission:auto-complete event per
mission. Draft and terminal statuses are never touched; idempotent.
Notifies clients via the game-tick SSE path.

Logic lives in src/lib/intelligence/missionLifecycle.ts with an
integration test in tests/int/mission-lifecycle.int.spec.ts.
2026-08-25 12:30:04 -04:00
..
e2e test(e2e): refresh frontend login and landing smoke tests 2026-08-10 16:01:51 -04:00
int feat(missions): auto-complete past missions via mission-tick bin 2026-08-25 12:30:04 -04:00