Add a test seeder behind the unsafe_test_mode feature

For the end-to-end tests: with the feature, /test/seeder answers the calls the
SDK's live tests make to a seeder API (POST /seed with SingleUserScene or
TestVectorUserScene, DELETE /seed/<playId>), behind HTTP basic auth from
TEST_SEEDER_USERNAME and TEST_SEEDER_PASSWORD, and 404 without them.

It creates accounts without any checks, so no release build has the feature.
CI builds and tests it with sqlite.
This commit is contained in:
Daniel García committed 2026-11-13 14:38:03 +01:00
1 parent 975f316110
commit 81fcc94e86
9 files changed
+630 -1

No files matched your search

Generated
+1
View File
@@ -6270,6 +6270,7 @@ dependencies = [
"rustls",
"semver",
"serde",
"serde_cbor_2",
"serde_json",
"subtle",
"svg-hush",