projects-timfalken-com allianties
unit_tests
Passed Started 4 days ago by timfa
Running on Steve
Log timestamps in UTC.
- 123:26:51
Using docker image node:20-bookworm ... - 223:26:51
Using docker image sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 for node:20-bookworm with digest node@sha256:8f693eaa7e0a8e71560c9a82b55fd54c2ae920a2ba5d2cde28bac7d1c01c9ba5 ...
- 323:26:51
Running on Steve via BlueGit... - 423:26:51
Working directory: /workspace - 523:26:51
Pipeline #707, job #2744
- 623:26:53
debconf: delaying package configuration, since apt-utils is not installed - 723:26:58
TAP version 13 - 823:26:58
# Subtest: deploy_guard - 923:26:58
# Subtest: expands $timftproot and ${timftproot} and collapses double slashes - 1023:26:58
ok 1 - expands $timftproot and ${timftproot} and collapses double slashes - 1123:26:58
--- - 1223:26:58
duration_ms: 46.753148 - 1323:26:58
... - 1423:26:58
# Subtest: refuses the FTP root, a missing secret, and a non-allianties leaf - 1523:26:58
ok 2 - refuses the FTP root, a missing secret, and a non-allianties leaf - 1623:26:58
--- - 1723:26:58
duration_ms: 40.254088 - 1823:26:58
... - 1923:26:58
# Subtest: the CLI exits 0 for a good path and does not print the path - 2023:26:58
ok 3 - the CLI exits 0 for a good path and does not print the path - 2123:26:58
--- - 2223:26:58
duration_ms: 14.328718 - 2323:26:58
... - 2423:26:58
1..3 - 2523:26:58
ok 1 - deploy_guard - 2623:26:58
--- - 2723:26:58
duration_ms: 102.469902 - 2823:26:58
type: 'suite' - 2923:26:58
... - 3023:26:58
# Subtest: assert_safe_target - 3123:26:58
# Subtest: allows a new, empty, previous, or leftover-files folder and only logs foreign names - 3223:26:58
ok 1 - allows a new, empty, previous, or leftover-files folder and only logs foreign names - 3323:26:58
--- - 3423:26:58
duration_ms: 26.941257 - 3523:26:58
... - 3623:26:58
# Subtest: the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 3723:26:58
ok 2 - the FTP mirror never deletes, never uploads favicon.ico, and leaves data/ alone - 3823:26:58
--- - 3923:26:58
duration_ms: 24.041989 - 4023:26:58
... - 4123:26:58
1..2 - 4223:26:58
ok 2 - assert_safe_target - 4323:26:58
--- - 4423:26:58
duration_ms: 51.215525 - 4523:26:58
type: 'suite' - 4623:26:58
... - 4723:26:58
# Subtest: auth_config_php - 4823:26:58
# Subtest: is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 4923:26:58
ok 1 - is covered by ci/test_deploy_auth.py (PHP escaping, empty secret, no leak in lftp) - 5023:26:58
--- - 5123:26:58
duration_ms: 46.074697 - 5223:26:58
... - 5323:26:58
1..1 - 5423:26:58
ok 3 - auth_config_php - 5523:26:58
--- - 5623:26:58
duration_ms: 46.331803 - 5723:26:58
type: 'suite' - 5823:26:58
... - 5923:26:58
# Subtest: i18n catalog - 6023:26:58
# Subtest: lists every supported locale - 6123:26:58
ok 1 - lists every supported locale - 6223:26:58
--- - 6323:26:58
duration_ms: 1.073775 - 6423:26:58
... - 6523:26:58
# Subtest: has the same non-empty keys in every language - 6623:26:58
ok 2 - has the same non-empty keys in every language - 6723:26:58
--- - 6823:26:58
duration_ms: 1.935811 - 6923:26:58
... - 7023:26:58
# Subtest: keeps English placeholders in every translation - 7123:26:58
ok 3 - keeps English placeholders in every translation - 7223:26:58
--- - 7323:26:58
duration_ms: 2.989849 - 7423:26:58
... - 7523:26:58
# Subtest: never translates the game name Allianties - 7623:26:58
ok 4 - never translates the game name Allianties - 7723:26:58
--- - 7823:26:58
duration_ms: 0.204065 - 7923:26:58
... - 8023:26:58
# Subtest: maps every known server error code - 8123:26:58
ok 5 - maps every known server error code - 8223:26:58
--- - 8323:26:58
duration_ms: 0.157167 - 8423:26:58
... - 8523:26:58
1..5 - 8623:26:58
ok 4 - i18n catalog - 8723:26:58
--- - 8823:26:58
duration_ms: 7.377055 - 8923:26:58
type: 'suite' - 9023:26:58
... - 9123:26:58
# Subtest: Rules grid and Chebyshev - 9223:26:58
# Subtest: suggests max(10, players + 1), capped at 24 - 9323:26:58
ok 1 - suggests max(10, players + 1), capped at 24 - 9423:26:58
--- - 9523:26:58
duration_ms: 0.68882 - 9623:26:58
... - 9723:26:58
# Subtest: uses Chebyshev distance (diagonals included) - 9823:26:58
ok 2 - uses Chebyshev distance (diagonals included) - 9923:26:58
--- - 10023:26:58
duration_ms: 0.120557 - 10123:26:58
... - 10223:26:58
# Subtest: passable accounts for arena inset - 10323:26:58
ok 3 - passable accounts for arena inset - 10423:26:58
--- - 10523:26:58
duration_ms: 0.13279 - 10623:26:58
... - 10723:26:58
1..3 - 10823:26:58
ok 5 - Rules grid and Chebyshev - 10923:26:58
--- - 11023:26:58
duration_ms: 1.884544 - 11123:26:58
type: 'suite' - 11223:26:58
... - 11323:26:58
# Subtest: Rules cease-fire, midnight wrap and DST - 11423:26:58
# Subtest: treats 23:30 as cease-fire wrapping to 06:00 next day - 11523:26:58
ok 1 - treats 23:30 as cease-fire wrapping to 06:00 next day - 11623:26:58
--- - 11723:26:58
duration_ms: 24.220665 - 11823:26:58
... - 11923:26:58
# Subtest: treats the end timestamp as exclusive - 12023:26:58
ok 2 - treats the end timestamp as exclusive - 12123:26:58
--- - 12223:26:58
duration_ms: 12.546225 - 12323:26:58
... - 12423:26:58
# Subtest: handles a second daytime range and countdown seconds - 12523:26:58
ok 3 - handles a second daytime range and countdown seconds - 12623:26:58
--- - 12723:26:58
duration_ms: 29.783298 - 12823:26:58
... - 12923:26:58
# Subtest: shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours - 13023:26:58
ok 4 - shortens 01:00–04:00 across the 2026 spring-forward to 2 real hours - 13123:26:59
--- - 13223:26:59
duration_ms: 16.554756 - 13323:26:59
... - 13423:26:59
# Subtest: lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours - 13523:26:59
ok 5 - lengthens 01:00–03:30 across the 2026 fall-back to 3.5 real hours - 13623:26:59
--- - 13723:26:59
duration_ms: 19.196129 - 13823:26:59
... - 13923:26:59
# Subtest: is inactive when the rule is off or ranges are empty - 14023:26:59
ok 6 - is inactive when the rule is off or ranges are empty - 14123:26:59
--- - 14223:26:59
duration_ms: 1.321613 - 14323:26:59
... - 14423:26:59
# Subtest: merges overlapping ranges for the countdown - 14523:26:59
ok 7 - merges overlapping ranges for the countdown - 14623:26:59
--- - 14723:26:59
duration_ms: 13.409694 - 14823:26:59
... - 14923:26:59
# Subtest: formats HH:MM:SS countdowns - 15023:26:59
ok 8 - formats HH:MM:SS countdowns - 15123:26:59
--- - 15223:26:59
duration_ms: 0.19582 - 15323:26:59
... - 15423:26:59
1..8 - 15523:26:59
ok 6 - Rules cease-fire, midnight wrap and DST - 15623:26:59
--- - 15723:26:59
duration_ms: 117.971922 - 15823:26:59
type: 'suite' - 15923:26:59
... - 16023:26:59
# Subtest: Rules timelineIndex (nearest event) - 16123:26:59
# Subtest: returns 0 when there are no spends - 16223:26:59
ok 1 - returns 0 when there are no spends - 16323:26:59
--- - 16423:26:59
duration_ms: 0.174339 - 16523:26:59
... - 16623:26:59
# Subtest: maps 0 to the start and 1 to live (after the last spend) - 16723:26:59
ok 2 - maps 0 to the start and 1 to live (after the last spend) - 16823:26:59
--- - 16923:26:59
duration_ms: 0.172856 - 17023:26:59
... - 17123:26:59
# Subtest: jumps to the nearest event along the bar - 17223:26:59
ok 3 - jumps to the nearest event along the bar - 17323:26:59
--- - 17423:26:59
duration_ms: 0.119745 - 17523:26:59
... - 17623:26:59
1..3 - 17723:26:59
ok 7 - Rules timelineIndex (nearest event) - 17823:26:59
--- - 17923:26:59
duration_ms: 0.640919 - 18023:26:59
type: 'suite' - 18123:26:59
... - 18223:26:59
1..7 - 18323:26:59
# tests 25 - 18423:26:59
# suites 7 - 18523:26:59
# pass 25 - 18623:26:59
# fail 0 - 18723:26:59
# cancelled 0 - 18823:26:59
# skipped 0 - 18923:26:59
# todo 0 - 19023:26:59
# duration_ms 243.175837 - 19123:26:59
auth-config ok - 19223:26:59
Engine: grid suggestion and placement - 19323:26:59
ok 1 player → 10 (min suggestion) - 19423:26:59
ok 2 players → 10 (max(10, 3)) - 19523:26:59
ok 9 players → 10 (max(10, 10)) - 19623:26:59
ok 10 players → 11 - 19723:26:59
ok 16 players → 17 - 19823:26:59
ok capped at MAX_GRID 24 - 19923:26:59
ok gridSize aliases suggestedGrid - 20023:26:59
ok clamp below min → 6 - 20123:26:59
ok clamp above max → 24 - 20223:26:59
ok clamp mid unchanged - 20323:26:59
ok 6×6 fits 2 - 20423:26:59
ok 6×6 has enough tiles for 16 - 20523:26:59
ok below MIN_GRID does not fit - 20623:26:59
ok above MAX_GRID does not fit - 20723:26:59
ok 6×6 max inset 1 (leaves 4×4, min arena 3) - 20823:26:59
ok 7×7 max inset 2 (leaves 3×3) - 20923:26:59
ok 4 starting positions - 21023:26:59
ok starting positions are unique - 21123:26:59
ok start in bounds 3,1 - 21223:26:59
ok start in bounds 4,3 - 21323:26:59
ok start in bounds 3,4 - 21423:26:59
ok start in bounds 1,3 - 21523:26:59
Engine: Chebyshev range - 21623:26:59
ok diagonal 2 is range 2 - 21723:26:59
ok orthogonal 2 is range 2 - 21823:26:59
ok same tile is 0 - 21923:26:59
Engine: midnight Amsterdam - 22023:26:59
ok next midnight after 23:30 is 00:00 next day: 2026-11-14 00:00:00 - 22123:26:59
ok at exactly 00:00, next is tomorrow - 22223:26:59
ok DST: next midnight still 00:00: 2026-03-29 00:00:00 - 22323:26:59
Engine: lobby and start - 22423:26:59
ok new lobby - 22523:26:59
ok jury default ON - 22623:26:59
ok shrink default OFF - 22723:26:59
ok shrink interval default 7 - 22823:26:59
ok ceasefire default OFF - 22923:26:59
ok ceasefire ranges empty by default - 23023:26:59
ok vis_shots default public - 23123:26:59
ok vis_gifts default public - 23223:26:59
ok vis_ap default public - 23323:26:59
ok vis_range default public - 23423:26:59
ok vis_lives default public - 23523:26:59
ok ap_loot default OFF - 23623:26:59
ok ap_time default 00:00 - 23723:26:59
ok lobby suggested grid 10 for 1 player - 23823:26:59
ok grid_auto default ON - 23923:26:59
ok game.grid mirrors suggestion in lobby - 24023:26:59
ok host is creator - 24123:26:59
ok start alone: min_players - 24223:26:59
ok 2 players - 24323:26:59
ok non-host cannot start - 24423:26:59
ok started - 24523:26:59
ok auto grid for 2 players is 10 - 24623:26:59
ok start with 1 AP - 24723:26:59
ok start with 3 lives - 24823:26:59
ok start with range 2 - 24923:26:59
ok not overlapping - 25023:26:59
ok next AP at next midnight: 2026-11-14 00:00:00 - 25123:26:59
Engine: move, blocked, AP - 25223:26:59
ok Alice has at least one move - 25323:26:59
ok moved - 25423:26:59
ok spent 1 AP - 25523:26:59
ok move event - 25623:26:59
ok move is a spend tick - 25723:26:59
ok no AP: invalid_move - 25823:26:59
Engine: shoot and death and win - 25923:26:59
ok Bob is in range 2 (actually dist 1) - 26023:26:59
ok Bob has 2 lives - 26123:26:59
ok Bob is dead - 26223:26:59
ok game finished - 26323:26:59
ok Alice wins - 26423:26:59
ok death event - 26523:26:59
ok win event - 26623:26:59
Engine: give AP and upgrade - 26723:26:59
ok Alice spent 2 - 26823:26:59
ok Bob received 2 - 26923:26:59
ok bad_give - 27023:26:59
ok range is now 3 - 27123:26:59
ok upgrade costs 1 - 27223:26:59
Engine: out of range and occupied - 27323:26:59
ok Bob at (5,5) is out of range 2 from (0,0) - 27423:26:59
ok out_of_range - 27523:26:59
ok cannot move onto Bob - 27623:26:59
Engine: surrender - 27723:26:59
ok Bob surrendered - 27823:26:59
ok flagged surrendered - 27923:26:59
ok Alice wins after surrender - 28023:26:59
Engine: daily AP grant - 28123:26:59
ok day is 1 - 28223:26:59
ok Alice got 1 AP - 28323:26:59
ok Bob got 1 AP - 28423:26:59
ok caught up to day 3, day=3 - 28523:26:59
ok 3 AP after 3 days (started 0): 3 - 28623:26:59
Engine: jury - 28723:26:59
ok still running with 2 alive - 28823:26:59
ok c voted a - 28923:26:59
ok d changed vote to b - 29023:26:59
ok living cannot vote - 29123:26:59
ok Alice (living) has no vote - 29223:26:59
ok Charlie sees own vote - 29323:26:59
ok votes not in present payload - 29423:26:59
ok Alice got 1+1 (tie): 2 - 29523:26:59
ok Bob got 1+1 (tie): 2 - 29623:26:59
ok votes reset after distribution - 29723:26:59
ok Alice unique jury winner: 2 - 29823:26:59
ok Bob only regular 1: 1 - 29923:26:59
ok jury off: cannot_vote - 30023:26:59
Engine: shrinking arena - 30123:26:59
ok host-chosen 6×6 - 30223:26:59
ok shrink in 2 days (interval 2, day 0): 2 - 30323:26:59
ok day 1 - 30423:26:59
ok no shrink on day 1 - 30523:26:59
ok Alice still on (0,0) - 30623:26:59
ok Alice still 3 lives - 30723:26:59
ok shrink in 1 day - 30823:26:59
ok day 2 - 30923:26:59
ok inset is 1 - 31023:26:59
ok Alice lost 1 life: 2 - 31123:26:59
ok Alice pushed inward to passable 1,1 - 31223:26:59
ok not onto Bob - 31323:26:59
ok Bob unhurt in centre - 31423:26:59
ok Alice got day-1 and day-2 AP after surviving shrink: 2 - 31523:26:59
ok legal move 1,2 is passable - 31623:26:59
ok legal move 2,1 is passable - 31723:26:59
ok does not shrink past max inset: 1 - 31823:26:59
ok no upcoming shrink at max - 31923:26:59
Engine: shrink kills and crush and draw - 32023:26:59
ok Alice died on shrink (1 life) - 32123:26:59
ok Bob died on shrink (1 life) - 32223:26:59
ok finished - 32323:26:59
ok draw when both die in the same shrink - 32423:26:59
Engine: notes and chat privacy - 32523:26:59
ok Alice sees her note on Bob - 32623:26:59
ok Bob does not see Alice’s note - 32723:26:59
ok Alice sees chat - 32823:26:59
ok Bob sees chat - 32923:26:59
Engine: modular rule flags - 33023:26:59
ok jury "0" is false - 33123:26:59
ok shrink "1" is true - 33223:26:59
ok interval clamped to max 30: 30 - 33323:26:59
ok ceasefire "1" is true - 33423:26:59
Engine: cease-fire ranges and midnight wrap - 33523:26:59
ok 2 valid ranges: 2 - 33623:26:59
ok sorted, first is 12:00 - 33723:26:59
ok wrap range kept - 33823:26:59
ok 23:30 is cease-fire (wrap) - 33923:26:59
ok ends at 06:00 next day: 2026-11-14 06:00 - 34023:26:59
ok Attack disabled during cease-fire - 34123:26:59
ok legal.ceasefire true - 34223:26:59
ok non-shoot actions still considered - 34323:26:59
ok can still move during cease-fire - 34423:26:59
ok error code ceasefire: ceasefire - 34523:26:59
ok 06:00 exactly is not cease-fire (end exclusive) - 34623:26:59
ok next cease-fire at 12:00: 12:00 - 34723:26:59
ok 12:30 is cease-fire - 34823:26:59
ok ends 13:00: 13:00 - 34923:26:59
ok 15:00 is free - 35023:26:59
ok until 22:00: 2026-11-14 22:00 - 35123:26:59
ok can shoot when not in cease-fire - 35223:26:59
ok shot landed outside cease-fire - 35323:26:59
ok 21:59 is free - 35423:26:59
ok 60 seconds until cease-fire: 60 - 35523:26:59
ok 05:59 still cease-fire - 35623:26:59
ok 60 seconds left in cease-fire: 60 - 35723:26:59
Engine: cease-fire DST spring-forward (2026-03-29 02:00→03:00) - 35823:26:59
ok 01:00 CEST-transition day is cease-fire - 35923:26:59
ok ends 04:00: 2026-03-29 04:00 - 36023:26:59
ok spring-forward 01:00-04:00 is 2 real hours: 7200 - 36123:26:59
ok 03:00 (after the jump) is still cease-fire - 36223:26:59
ok 1 hour left at 03:00: 3600 - 36323:26:59
ok 00:30 is free - 36423:26:59
ok 30 min until 01:00: 1800 - 36523:26:59
Engine: cease-fire DST fall-back (2026-10-25 03:00→02:00) - 36623:26:59
ok 01:00 fall-back day is cease-fire - 36723:26:59
ok ends 03:30: 2026-10-25 03:30 - 36823:26:59
ok fall-back 01:00-03:30 is 3.5 real hours: 12600 - 36923:26:59
ok first 02:15 (still DST) is cease-fire - 37023:26:59
ok second 02:15 (CET) is still cease-fire - 37123:26:59
ok 03:30 exactly is free (end exclusive) - 37223:26:59
Engine: cease-fire off or empty ranges - 37323:26:59
ok rule off → no info (ranges ignored) - 37423:26:59
ok on but empty ranges → treated as no cease-fire - 37523:26:59
Engine: overlapping ranges merge for countdown - 37623:26:59
ok merged overlapping ends at 13:00: 13:00 - 37723:26:59
Engine: visibility defaults and invalid values fall back to public - 37823:26:59
ok bad vis_shots → public - 37923:26:59
ok bad vis_gifts → public - 38023:26:59
ok bad vis_ap → public - 38123:26:59
ok bad vis_range → public - 38223:26:59
ok bad vis_lives → public - 38323:26:59
ok accepts elim_known_target - 38423:26:59
ok accepts anonymous - 38523:26:59
ok accepts vis_ap within_range - 38623:26:59
ok accepts known_in_range - 38723:26:59
ok accepts vis_lives within_range - 38823:26:59
ok accepts manual grid 14 - 38923:26:59
ok still accepts hidden - 39023:26:59
ok unknown vis_ap/lives values → public - 39123:26:59
Engine: vis shots — public (everyone sees, including lives_left when lives public) - 39223:26:59
ok shooter sees public shot - 39323:26:59
ok target sees public shot - 39423:26:59
ok third party sees public shot - 39523:26:59
ok third party sees shooter id - 39623:26:59
ok public lives_left on shot - 39723:26:59
ok damage is 1 - 39823:26:59
ok public lives in state - 39923:26:59
Engine: vis shots — elim_public (non-elim hidden from third party, visible to target) - 40023:26:59
ok shooter sees non-elim - 40123:26:59
ok target sees non-elim under elim_public - 40223:26:59
ok third party does not see non-elim - 40323:26:59
ok no death on non-elim - 40423:26:59
ok third party sees only the eliminating shot: 1 - 40523:26:59
ok the visible shot is the kill - 40623:26:59
ok third party sees death - 40723:26:59
ok elim_public death includes killer - 40823:26:59
ok target sees killer - 40923:26:59
ok death/alive is always public - 41023:26:59
Engine: vis shots — known_target (others never see the shot, death without by) - 41123:26:59
ok shooter sees known_target shot - 41223:26:59
ok target sees known_target shot - 41323:26:59
ok third party does not see known_target shot - 41423:26:59
ok third party still sees that B died - 41523:26:59
ok killer stripped for third party under known_target - 41623:26:59
ok target still sees who shot them - 41723:26:59
Engine: vis shots — elim_known_target (non-elim hidden even from target) - 41823:26:59
ok shooter sees non-elim under elim_known_target - 41923:26:59
ok target does NOT see non-elim shot (must deduce) - 42023:26:59
ok third party does not see non-elim - 42123:26:59
ok target still sees own lives drop - 42223:26:59
ok lives still public in this game (default) - 42323:26:59
ok target sees only the eliminating shot - 42423:26:59
ok elim shot names the shooter for the target - 42523:26:59
ok third party never sees shots under elim_known_target - 42623:26:59
ok third party death has no by - 42723:26:59
Engine: vis shots + hidden lives — lives_left stripped except for the target - 42823:26:59
ok shooter does not get target lives_left - 42923:26:59
ok target sees own lives_left - 43023:26:59
ok third party does not get lives_left - 43123:26:59
ok shooter still sees damage 1 - 43223:26:59
ok own lives always visible - 43323:26:59
ok other lives hidden from shooter - 43423:26:59
ok other lives hidden from third party - 43523:26:59
ok target sees own lives - 43623:26:59
ok alive flag still present when lives hidden - 43723:26:59
Engine: vis gifts — public, known_recipient, anonymous - 43823:26:59
ok public gift visible to third party with giver and amount - 43923:26:59
ok giver sees own gift - 44023:26:59
ok recipient sees giver - 44123:26:59
ok third party does not see known_recipient gift - 44223:26:59
ok giver sees full anonymous gift in their own log - 44323:26:59
ok recipient sees an anonymous gift event - 44423:26:59
ok event marked anonymous - 44523:26:59
ok giver id stripped for recipient - 44623:26:59
ok recipient sees the AP amount - 44723:26:59
ok recipient is named as target - 44823:26:59
ok third party does not see anonymous gift - 44923:26:59
ok recipient AP actually increased - 45023:26:59
ok stored event still has the giver (present does not mutate) - 45123:26:59
ok sanity - 45223:26:59
ok clone is independent of stored event - 45323:26:59
Engine: vis AP totals hidden - 45423:26:59
ok own AP visible when hidden rule is on - 45523:26:59
ok other AP hidden - 45623:26:59
ok third party does not see A’s AP - 45723:26:59
ok daily event present - 45823:26:59
ok hidden AP: only own grant in daily event: {"a":1} - 45923:26:59
ok jury vote counts stripped - 46023:26:59
Engine: vis range — hidden and known_in_range - 46123:26:59
ok own range after upgrade - 46223:26:59
ok other range hidden - 46323:26:59
ok upgrader sees own upgrade - 46423:26:59
ok third party does not see hidden upgrade - 46523:26:59
ok B is within A’s range, sees A’s range - 46623:26:59
ok A is within B’s range, sees B’s range - 46723:26:59
ok C is outside A’s range (dist 3 > 2) - 46823:26:59
ok A is outside C’s range (dist 3 > 2) - 46923:26:59
ok C always sees own range - 47023:26:59
ok after upgrade, C is within A’s range and sees it - 47123:26:59
ok C now also sees the upgrade event - 47223:26:59
ok A is still outside C’s range 2 - 47323:26:59
Engine: movement is always public, even with everything hidden - 47423:26:59
ok move is public - 47523:26:59
ok move names the player and destination - 47623:26:59
ok new position is in the public state - 47723:26:59
ok AP still hidden after the move - 47823:26:59
ok lives still hidden - 47923:26:59
ok range still hidden - 48023:26:59
Engine: present() does not leak hidden keys with real values - 48123:26:59
ok JSON-facing ap is null - 48223:26:59
ok JSON-facing lives is null - 48323:26:59
ok JSON-facing range is null - 48423:26:59
ok no numeric secrets for a - 48523:26:59
ok no numeric secrets for b - 48623:26:59
Engine: nextDistribution (per-lobby AP time) and DST - 48723:26:59
ok 14:00 → today 15:00: 2026-11-14 15:00:00 - 48823:26:59
ok exactly 15:00 → tomorrow 15:00: 2026-11-15 15:00:00 - 48923:26:59
ok 16:00 → tomorrow 15:00: 2026-11-15 15:00:00 - 49023:26:59
ok 00:00 path equals nextMidnight - 49123:26:59
ok ap_time normalised to HH:MM - 49223:26:59
ok bad ap_time → 00:00 - 49323:26:59
ok 24:00 invalid → 00:00 - 49423:26:59
ok DST spring: 02:30 candidate is strictly after 01:30 - 49523:26:59
ok DST spring: still that calendar day: 2026-03-29 03:30:00 CEST - 49623:26:59
ok DST spring: 04:00 exact: 2026-03-29 04:00:00 - 49723:26:59
ok DST fall-back: 02:30 that day: 2026-10-25 02:30:00 CEST - 49823:26:59
Engine: AP at a non-midnight lobby time - 49923:26:59
ok start schedules 15:00 - 50023:26:59
ok day increments at 15:00 - 50123:26:59
ok AP granted at 15:00 - 50223:26:59
ok one second before 15:00: no grant - 50323:26:59
Engine: AP loot default off; on only for eliminating shots - 50423:26:59
ok B is dead - 50523:26:59
ok dead B has 0 AP - 50623:26:59
ok loot off: A spent 1, did not receive B’s 4 (has 2) - 50723:26:59
ok loot off: no loot field on the kill shot - 50823:26:59
ok loot on: B dead, AP zeroed - 50923:26:59
ok loot on: A spent 1 (3→2) then looted 4 → 6: 6 - 51023:26:59
ok shooter sees loot amount - 51123:26:59
ok public AP: third party sees loot - 51223:26:59
ok shooter sees loot even if AP totals hidden - 51323:26:59
ok third party does not see loot amount when AP is hidden - 51423:26:59
ok shooter sees own AP including loot - 51523:26:59
ok third party still does not see A’s total - 51623:26:59
ok non-elim: no loot - 51723:26:59
ok non-elim: B keeps AP - 51823:26:59
ok B surrendered - 51923:26:59
ok surrender does not transfer AP - 52023:26:59
ok surrendered AP is zeroed, not looted - 52123:26:59
Engine: vis lives+AP within_range uses the VIEWER's range - 52223:26:59
ok A always sees own lives/AP - 52323:26:59
ok A sees B (dist 1 ≤ A’s range 2) - 52423:26:59
ok A does not see C (dist 3 > A’s range 2) - 52523:26:59
ok B sees A (dist 1 ≤ B’s range 2) - 52623:26:59
ok B does not see C (dist 3 > 2) - 52723:26:59
ok C sees neither A - 52823:26:59
ok C sees neither B - 52923:26:59
ok C sees own lives - 53023:26:59
ok within_range lives/AP: A still cannot see C (C is outside A’s range) - 53123:26:59
ok within_range lives/AP: C can see A (A is inside C’s range 4) - 53223:26:59
ok known_in_range: A CAN see C’s range (A is inside C’s range 4) — opposite of lives/AP - 53323:26:59
ok known_in_range: C cannot see A’s range (C is outside A’s range 2) - 53423:26:59
ok A range is 3 - 53523:26:59
ok after A upgrades to 3, A sees C’s lives/AP - 53623:26:59
ok A sees lives_left (B in A’s range) - 53723:26:59
ok B sees own lives_left - 53823:26:59
ok C does not see lives_left (B outside C’s range) - 53923:26:59
ok C still sees damage on a public shot - 54023:26:59
ok C does not see B’s lives in state - 54123:26:59
ok A’s daily grants: own + B, not C: {"a":1,"b":1} - 54223:26:59
ok C’s daily grants: only own: {"c":1} - 54323:26:59
ok A sees loot on eliminating shot - 54423:26:59
ok C sees the public kill shot - 54523:26:59
ok C does not see loot (A is outside C’s range) - 54623:26:59
ok shrink event present for A - 54723:26:59
ok stored shrink has hurt list - 54823:26:59
ok A’s filtered hurt id a is someone whose lives A may see - 54923:26:59
Engine: lobby grid option — auto suggestion and manual lock - 55023:26:59
ok new lobby 10 and auto - 55123:26:59
ok 9 players - 55223:26:59
ok still 10 at 9 players (max(10,10)) - 55323:26:59
ok 10th player bumps suggestion to 11 - 55423:26:59
ok leave drops suggestion back to 10 - 55523:26:59
ok manual 14 - 55623:26:59
ok 16 players - 55723:26:59
ok manual 14 stays at 16 players (suggestion would be 17) - 55823:26:59
ok starts on host’s 14×14 - 55923:26:59
ok all 16 placed - 56023:26:59
ok placed in bounds - 56123:26:59
ok unique start 7,1 - 56223:26:59
ok placed in bounds - 56323:26:59
ok unique start 9,1 - 56423:26:59
ok placed in bounds - 56523:26:59
ok unique start 10,3 - 56623:26:59
ok placed in bounds - 56723:26:59
ok unique start 12,4 - 56823:26:59
ok placed in bounds - 56923:26:59
ok unique start 12,7 - 57023:26:59
ok placed in bounds - 57123:26:59
ok unique start 12,9 - 57223:26:59
ok placed in bounds - 57323:26:59
ok unique start 10,10 - 57423:26:59
ok placed in bounds - 57523:26:59
ok unique start 9,12 - 57623:26:59
ok placed in bounds - 57723:26:59
ok unique start 7,12 - 57823:26:59
ok placed in bounds - 57923:26:59
ok unique start 4,12 - 58023:26:59
ok placed in bounds - 58123:26:59
ok unique start 3,10 - 58223:26:59
ok placed in bounds - 58323:26:59
ok unique start 1,9 - 58423:26:59
ok placed in bounds - 58523:26:59
ok unique start 1,7 - 58623:26:59
ok placed in bounds - 58723:26:59
ok unique start 1,4 - 58823:26:59
ok placed in bounds - 58923:26:59
ok unique start 3,3 - 59023:26:59
ok placed in bounds - 59123:26:59
ok unique start 4,1 - 59223:26:59
ok host may start a 6×6 - 59323:26:59
ok auto start uses suggested 10 - 59423:26:59
Engine: no hearts, no buying lives (options do not exist) - 59523:26:59
ok hearts / buy-lives are not accepted rule keys - 59623:26:59
- 59723:26:59
Engine passed: 367 Failed: 0 - 59823:26:59
Store: lobby, join, start, actions, sync - 59923:26:59
ok create lobby - 60023:26:59
ok status lobby - 60123:26:59
ok 6-char code: 2FV7KH - 60223:26:59
ok jury on - 60323:26:59
ok shrink off - 60423:26:59
ok ceasefire off - 60523:26:59
ok start alone refused - 60623:26:59
ok Bob joined - 60723:26:59
ok same lobby - 60823:26:59
ok re-join is idempotent - 60923:26:59
ok non-host refused - 61023:26:59
ok host set shrink on - 61123:26:59
ok interval 3 - 61223:26:59
ok ceasefire on - 61323:26:59
ok one range stored - 61423:26:59
ok started - 61523:26:59
ok 1 AP at start - 61623:26:59
ok view running - 61723:26:59
ok legal moves in view - 61823:26:59
ok has version - 61923:26:59
ok has server_now - 62023:26:59
ok timezone - 62123:26:59
ok unchanged sync - 62223:26:59
ok no full state when unchanged - 62323:26:59
ok lightweight fields present - 62423:26:59
ok Alice can move - 62523:26:59
ok AP spent - 62623:26:59
ok Bob sees a change - 62723:26:59
ok full state on change - 62823:26:59
ok Bob sees Alice’s new position - 62923:26:59
ok Alice sees her note - 63023:26:59
ok Bob does not - 63123:26:59
ok Alice sees message - 63223:26:59
ok Bob sees message - 63323:26:59
ok join after start refused - 63423:26:59
ok locale stored - 63523:26:59
ok locale read - 63623:26:59
ok zh-Hans normalised to zh - 63723:26:59
ok listed running game - 63823:26:59
ok Dan wins after Cara surrenders - 63923:26:59
ok unknown_code - 64023:26:59
ok bad shoot refused: out_of_range - 64123:26:59
ok AP unchanged after refused action (rollback) - 64223:26:59
safeNext - 64323:26:59
ok null next - 64423:26:59
ok empty next - 64523:26:59
ok plain path - 64623:26:59
ok join query with = - 64723:26:59
ok ampersand - 64823:26:59
ok hash fragment - 64923:26:59
ok rejects scheme - 65023:26:59
ok rejects protocol-relative - 65123:26:59
ok rejects absolute path - 65223:26:59
ok rejects backslash - 65323:26:59
- 65423:26:59
Total passed: 420 Failed: 0