Commit graph

334 commits

Author SHA1 Message Date
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
Ilion Beyst
36c16aa8c7 log bad commands 2022-09-15 21:59:03 +02:00
Ilion Beyst
ecd378f0d9 remove obsolete test code 2022-09-15 18:07:28 +02:00
Ilion Beyst
46efe3c5fa docs: extend docker instructions 2022-09-14 21:46:26 +02:00
Ilion Beyst
1a5755f0a3 add basic markdown document styling 2022-09-14 20:50:47 +02:00
Ilion Beyst
3eedbc0b85 add prism syntax highlighting theme 2022-09-13 21:24:11 +02:00
Ilion Beyst
380a1d8f4e add local development doc page 2022-09-13 20:40:35 +02:00
Ilion Beyst
7f1b6c06b6 add toc sidebar to docs site 2022-09-12 21:55:16 +02:00
Ilion Beyst
66162ea43c redirect /docs to /docs/rules 2022-09-11 10:56:36 +02:00
Ilion Beyst
9e574f08ee show bot versions on bot page 2022-09-10 18:57:38 +02:00
Ilion Beyst
3058028edc allow retrieving bot code 2022-09-10 18:56:03 +02:00
Ilion Beyst
78a6032b60 refactor: introduce promise helper type 2022-09-10 16:13:43 +02:00
Ilion Beyst
8eeb81bd5a client_api: allow player to connect before match has started 2022-09-09 21:56:11 +02:00
Ilion Beyst
d68731a114 translate rules view to markdown 2022-09-05 19:21:37 +02:00