docs(deploy): document pgbouncer rollout
This commit is contained in:
+10
-1
@@ -4,7 +4,7 @@
|
||||
Continue the desktop AI monitoring implementation by first adding a client-side local scheduler with durable queueing and adaptive execution policy, then adding a reusable hidden Playwright CDP execution layer that attaches to Electron Chromium and reuses existing account partitions.
|
||||
|
||||
## Current Phase
|
||||
Phase 37
|
||||
Phase 40
|
||||
|
||||
## Phases
|
||||
### Phase 1: Progress Verification
|
||||
@@ -276,6 +276,14 @@ Phase 37
|
||||
- [x] Run workflow YAML and shell syntax checks
|
||||
- **Status:** complete
|
||||
|
||||
### Phase 40: Stable PgBouncer Deployment
|
||||
- [x] Add PgBouncer infrastructure to Docker Compose and k3s
|
||||
- [x] Route runtime services through PgBouncer while keeping migrations direct to Postgres
|
||||
- [x] Lower application-side connection pools for stability
|
||||
- [x] Include PgBouncer in offline packaging and deployment docs
|
||||
- [x] Validate rendered deployment/config files
|
||||
- **Status:** complete
|
||||
|
||||
## Key Questions
|
||||
1. How should the desktop client defer and locally optimize monitor-task execution without violating one-task-per-platform serialism?
|
||||
2. What is the smallest durable local cache that allows same-day resume while safely dropping stale next-day monitor tasks?
|
||||
@@ -343,6 +351,7 @@ Phase 37
|
||||
| `connectOverCDP()` is not wired yet even though `playwright-core` is installed | 1 | Add a dedicated hidden-browser manager instead of pushing CDP code directly into adapters or the runtime controller |
|
||||
| `pnpm --filter @geo/desktop-client typecheck` fails in `electron.vite.config.ts` due to a pre-existing Vite 5/8 plugin type mismatch | 1 | Verified this change with `pnpm --filter @geo/desktop-client build` and `pnpm --filter @geo/desktop-client test`; leave config dependency alignment as a separate fix |
|
||||
| `kubectl apply --dry-run=client` still attempted to contact the local kube-apiserver, which is not running at `127.0.0.1:26443` | 1 | Verified with `kubectl kustomize`, parsed the rendered YAML locally, and recorded that live API validation should run on the target k3s cluster |
|
||||
| Production compose PgBouncer smoke test could not start bundled Postgres containers because existing `server/docker-compose.yaml` containers already own `geo-postgres` / `geo-monitoring-postgres` names | 1 | Did not stop user/local DB containers; verified PgBouncer with a temporary test container attached to the existing `server_default` network and removed it after `SELECT 1` passed |
|
||||
|
||||
## Notes
|
||||
- Re-check task_plan.md before major implementation decisions.
|
||||
|
||||
Reference in New Issue
Block a user