Add playable hub travel with durable character transfers

This commit is contained in:
dingo
2026-09-09 12:17:10 -04:00
parent eee6f4c46f
commit f3d6f927e2
42 changed files with 1338 additions and 63 deletions
+9
View File
@@ -74,6 +74,15 @@ func TestCreateWorldPreservesValuesAndRetries(t *testing.T) {
if _, err = c.CreateWorld(context.Background(), "../bad", "42"); err == nil {
t.Fatal("invalid ID accepted")
}
if _, err = c.CreateInstance(context.Background(), "hub-001", "50", "hub"); err != nil || !strings.Contains(current, "kind: hub") {
t.Fatal("hub definition missing", err, current)
}
if _, err = c.CreateInstance(context.Background(), "hub-001", "50", "hub"); err != nil || puts != 3 {
t.Fatal("hub retry duplicated instance", err)
}
if _, err = c.CreateWorld(context.Background(), "hub-001", "50"); err == nil {
t.Fatal("existing hub changed to survival world")
}
}
func TestGitOpsConfigurationValidation(t *testing.T) {
for _, repository := range []string{"http://example.test/o/r", "https://token@example.test/o/r", "https://example.test/only-one", "https://example.test/../repo"} {