Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
test: run the GBRA-133 provenance and database-stop arms in the Postgres unit lane; regenerate llms-full.txt
garrytandba8be9841ae
diff --git a/llms-full.txt b/llms-full.txtindex f568860bf9..f93dbecf15 100644--- a/llms-full.txt+++ b/llms-full.txt@@ -6082,11 +6082,21 @@ Size the pooler for every process at once:```long-running processes x GBRAIN_POOL_SIZE- + processes with GBRAIN_DIRECT_DATABASE_URL x GBRAIN_DIRECT_POOL_SIZE (default 3)- + one-shot commands running at the same time x their pool+ + processes whose direct route lands on this pooler x GBRAIN_DIRECT_POOL_SIZE (default 3)+ + one-shot commands running at the same time x their pool (a full `gbrain sync` is one too)+ + parallel import workers x 2 (an unmanaged sync of more than 100 files, `--workers N`, or the sync a serve runs)<= the pooler's client limit (Supabase Supavisor: the project's pool_size)```+The direct route lands on the pooler when `GBRAIN_DIRECT_DATABASE_URL` names it,+and also when gbrain derives it from a Supabase pooler URL whose user does not+name the project (`postgres.<ref>`): the derived route keeps the pooler host on+port 5432, its session port, even when the main URL uses transaction mode+(6543). Two long-running processes at the+defaults (10 + 3 each) already pass a client limit of 25, so a scheduled+`gbrain sync` next to a `gbrain serve` on the same session port can exhaust it.+`GBRAIN_MAX_CONNECTIONS` caps a sync's worker fan-out to fit a budget.+When the sum does not fit, run fewer long-running processes (for example oneshared `gbrain serve --http` instead of one stdio `serve` per agent session),or raise the pooler's limit. Do not lower a long-running process below 6.diff --git a/test/postgres-unit-arms.txt b/test/postgres-unit-arms.txtindex 450c8cbb8c..f0ce9f1ed0 100644--- a/test/postgres-unit-arms.txt+++ b/test/postgres-unit-arms.txt@@ -374,6 +374,7 @@ test/recall-page-fill.test.tstest/receipt-compaction-newest-sync-gbra130.test.tstest/remediation-manual-only.test.tstest/repair-apply-pending-6543.test.ts+test/repair-database-stop-gbra133.test.tstest/repair-embedding-effects.test.tstest/repair-failed-writes-conflict-6429.test.tstest/repair-failed-writes-drift-w411.test.ts@@ -381,6 +382,7 @@ test/repair-fences.test.tstest/repair-file-drift-deleted-6712.test.tstest/repair-file-drift-held-6712.test.tstest/repair-file-drift-held-window-gbra133.test.ts+test/repair-file-drift-provenance-gbra133.test.tstest/repair-frontmatter-keys-sweep-6454.test.tstest/repair-frontmatter.test.tstest/repair-receipt-compaction.test.ts