refactor(modules): drop loldle variants, semantle, doantu and dead framework surface

Removes six modules (loldle-ability/emoji/quote/splash, semantle, doantu)
and prunes the framework deps that were only there to serve them:

  - ai.Embedder + Client.Embed + embeddingModel const (semantle only)
  - Deps.Embedder + BuildOptions.Embedder
  - Deps.Env + Build(env) param + ModuleEnv config field + PHOW2SIM allowlist (doantu only)
  - internal/champname package (loldle now owns its lookup helpers directly)
  - template.yaml: Phow2simAPIURL parameter + PHOW2SIM_API_URL Lambda env

Active catalog: util, misc, wordle, loldle, lolschedule, twentyq, trading.

go build / vet / test all pass.
This commit is contained in:
tiennm99 committed 2026-05-11 16:02:06 +07:00
1 parent 50e8fe2920
commit e29d7afa0e
75 files changed
+168 -32443

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ const testCronSecret = "shared-cron-secret"
func buildRegistry(t *testing.T, factories map[string]modules.Factory, names ...string) *modules.Registry {
t.Helper()
reg, err := modules.Build(names, factories, storage.NewMemoryProvider(), nil, modules.BuildOptions{})
reg, err := modules.Build(names, factories, storage.NewMemoryProvider(), modules.BuildOptions{})
if err != nil {
t.Fatalf("modules.Build: %v", err)
}