Commit graph

347 commits

Author SHA1 Message Date
Ilion Beyst
60e9f900bd show matches that had errors on bot page 2022-10-28 07:46:12 +02:00
Ilion Beyst
5369212cf4 update selects on SubmitPane 2022-10-28 07:34:16 +02:00
Ilion Beyst
b162d381fa hide 'older' link when there is only one page 2022-10-26 20:36:37 +02:00
Ilion Beyst
095ad981db fix ordering in list_matches 2022-10-25 18:09:58 +02:00
Ilion Beyst
55c76db7b6 fix matches page filter params propagation 2022-10-25 18:57:58 +02:00
Ilion Beyst
e3164246e1 create simple stats page 2022-10-24 07:19:52 +02:00
Ilion Beyst
03cdbbc003 only show playerlog to bot owner 2022-10-16 12:42:20 +02:00
Ilion Beyst
79479ba8ba only show bot stderr to its owner 2022-10-15 23:58:52 +02:00
Ilion Beyst
8feccfeb23 show player logs on view match page 2022-10-15 23:28:36 +02:00
Ilion Beyst
b51b7a331d allow filtering for had_errors 2022-10-14 14:09:32 +02:00
Ilion Beyst
353ecd4c16 basic test for list_matches and had_errors 2022-10-13 23:42:44 +02:00
Ilion Beyst
eb2cbb15fb save matchplayer had_errors in database 2022-10-13 22:22:45 +02:00
Ilion Beyst
2278ecd258 implement ListBotMatches, allow querying matches by bot/opponent pair 2022-10-13 17:45:11 +02:00
Stijn Seghers
ce07419bbc refactor: deduplicate match queries 2022-10-13 15:32:13 +02:00
Ilion Beyst
ae57359353 upgrade to diesel 2.0 2022-10-12 22:52:15 +02:00
Ilion Beyst
ed016773b1 filter matches for outcome 2022-10-12 21:08:00 +02:00
Ilion Beyst
19b9a6ea1b add new bot stats endpoint 2022-10-11 22:58:42 +02:00
Ilion Beyst
8651f1d8f1 CI: skip installing diesel-cli if already cached 2022-10-11 13:53:08 +02:00
Ilion Beyst
3f34ffcafc load match log asynchronously 2022-10-10 13:51:37 +02:00
Ilion Beyst
f7eedc6ca1 enable request & response compression 2022-10-10 13:23:18 +02:00
Ilion Beyst
505ea6a23d check in Cargo.lock 2022-10-09 22:42:00 +02:00
Ilion Beyst
2cfd6cdeec add test database in CI 2022-10-06 16:34:18 +02:00
Ilion Beyst
0678c21e09 add cargo cache to test build 2022-10-06 15:42:46 +02:00
Ilion Beyst
2518807c1e run matchrunner tests in CI 2022-10-06 15:31:21 +02:00
Ilion Beyst
9825d2c49e full integration test: sign up, create bot, play match 2022-10-05 21:14:09 +02:00
Ilion Beyst
df44ef055e extract poll_match_until_complete function 2022-10-05 19:44:16 +02:00
Ilion Beyst
45d6172814 refactor: separate out test setup 2022-10-04 18:44:04 +02:00
Ilion Beyst
790da3cf1a rough but functional integration test 2022-10-04 07:02:46 +02:00
Ilion Beyst
f6da362f94 clear database between test runs 2022-10-03 07:26:39 +02:00
Ilion Beyst
8f6b34db10 add integration test stub 2022-09-30 17:28:24 +02:00
Ilion Beyst
8178148996 rules: clarify combat resolution 2022-09-29 21:14:52 +02:00
Ilion Beyst
f5e96da28e add basic combat tests 2022-09-28 19:02:38 +02:00
Ilion Beyst
c4f78f2dad implement into_join_handle for RemoteBotHandle 2022-09-28 07:12:36 +02:00
Ilion Beyst
f777baa4f2 test playeroutcomes 2022-09-27 07:14:47 +02:00
Ilion Beyst
2a37b96da2 track player status and return player outcomes from match 2022-09-26 19:57:22 +02:00
Ilion Beyst
b7bcbdd3a6 propagate PlayerAction::Terminated 2022-09-25 11:06:50 +02:00
Ilion Beyst
f7261e165b detect bot crashes 2022-09-24 23:37:23 +02:00
Ilion Beyst
e86fbc7275 test regular docker runner operation 2022-09-24 22:21:38 +02:00
Ilion Beyst
6cc629a3b7 refactor: helpers for match setup 2022-09-24 22:14:36 +02:00
Ilion Beyst
332b3e4a13 remove unused function and file 2022-09-23 21:42:24 +02:00
Ilion Beyst
a1d81ac774 ensure bots cleanly stop before a match completes 2022-09-23 21:34:57 +02:00
Ilion Beyst
8f3621813e test docker runner timeouts 2022-09-22 19:38:09 +02:00
Ilion Beyst
9643ccf6d6 add a basic matchrunner test 2022-09-20 21:11:19 +02:00
Ilion Beyst
9e05a9bdd5 update docs
- divide rules doc in sections
- clarify turn order
- document logging to stderr
- bump turn limit to 500
2022-09-19 22:28:27 +02:00
Ilion Beyst
6887c8ee0e remove unneccesary print in game rules 2022-09-19 21:57:09 +02:00
Ilion Beyst
3138eca6d0 show dispatches and timeouts in outputpane 2022-09-18 13:16:57 +02:00
Ilion Beyst
3be0cfa0ea log dispatches and timeouts 2022-09-18 13:00:32 +02:00
Ilion Beyst
f5fe1c4f29 initial version of structured log display 2022-09-17 11:55:17 +02:00
Ilion Beyst
518ad1d811 log initial state 2022-09-17 11:30:52 +02:00
Ilion Beyst
a70689faa9 introduce turn-based log parser 2022-09-16 23:28:32 +02:00