Commit graph

3 commits

Author SHA1 Message Date
jedarden
dee4367a24 P6.11: Add single-pod oversized mode support (§14.10 vertical scaling escape valve)
Add test fixture and documentation for single-pod mode with oversized resources
(4 vCPU / 8 GB) for dev clusters, very small deployments, or constrained environments.

- Add charts/miroir/tests/valid-single-pod-oversized.yaml test fixture
- Add docs/horizontal-scaling/single-pod.md with configuration example, memory
  multiplier behavior table, and fault tolerance trade-offs
- Update charts/miroir/tests/README.md to document the new test case
- Update charts/miroir/tests/run-tests.sh to include the test in validation

Acceptance criteria:
-  Fixture boots a single 4-vCPU/8-GB pod successfully
-  values.schema.json accepts the oversized-single-pod combination
-  Memory-multiplier behavior documented with operator override option
-  single-pod.md includes fault tolerance trade-off explanation
-  README.md "When to use" section calls out single-pod mode

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 07:29:39 -04:00
jedarden
02ad8fce9b P11.7: Add quick-start example artifacts (Docker Compose + config)
Adds the on-disk examples referenced by plan §11 "Quick start (local, Docker Compose)":

- examples/docker-compose-dev.yml: 3 Meilisearch nodes + 1 Miroir orchestrator
- examples/dev-config.yaml: Matching Miroir config (16 shards, RF=1)
- examples/README.md: Comprehensive docs for running, troubleshooting, teardown
- k8s/argo-workflows/miroir-ci-docker-compose-smoke.yaml: CI smoke tests

The README.md quick start section already references these examples.

Acceptance:
 docker-compose-dev.yml boots via docker compose up
 dev-config.yaml mounted into Miroir container
 examples/README.md documents usage and teardown
 CI smoke job exercises compose stack (health + index + search tests)
 README.md quick start points to examples/docker-compose-dev.yml

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Bead-Id: bf-3lad
2026-05-20 06:50:43 -04:00
jedarden
f20c1bae4d bf-1p4v: Verify compile error already fixed
The borrow-of-moved-value error for `state` was already fixed in the codebase.
Line 568 uses `.with_state(state.clone())` and `UnifiedState` derives Clone.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 06:49:04 -04:00