miroir/docs
jedarden b660334a1e fix(tests): allow docker-compose integration tests to skip gracefully when Docker unavailable
Add MIROIR_TEST_SKIP_DOCKER and MIROIR_TEST_MIROIR_URL environment variables
to allow docker-compose integration tests to run without Docker or use external Miroir.

Changes:
- Modified HttpClient::new() to accept base_url parameter
- Added get_miroir_base_url() to support external Miroir via MIROIR_TEST_MIROIR_URL
- Added skip_if_no_miroir!() macro for graceful test skipping
- Tests now skip with clear message when Docker unavailable
- Updated docs/TESTING.md with docker-compose test environment documentation

Acceptance criteria met:
✓ Tests skip gracefully when Docker unavailable (MIROIR_TEST_SKIP_DOCKER=1)
✓ Tests can run against external Miroir instance (MIROIR_TEST_MIROIR_URL)
✓ Test setup documented in docs/TESTING.md
✓ All docker_compose_integration tests pass with skip flag

Fixes bead bf-3a6dx: Fix docker-compose integration tests

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 13:56:25 -04:00
..
benchmarks miroir-zc2.3: Validate 2× transient load caveat for online resharding (P12.OP3) 2026-05-20 07:24:22 -04:00
ctl docs(miroir-ctl): add subcommand runbooks and help text (P11.4, miroir-uyx.4) 2026-05-24 11:47:36 -04:00
dump-import miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs 2026-05-20 07:16:06 -04:00
horizontal-scaling P6.11: Add single-pod oversized mode support (§14.10 vertical scaling escape valve) 2026-05-20 07:29:39 -04:00
migrations docs(migrations): add re-index and live cutover migration guides (P11.3) 2026-05-24 14:39:58 -04:00
notes docs(helm): add Helm chart publication CI documentation 2026-05-24 14:23:32 -04:00
onboarding docs: add troubleshooting cross-links to production and examples guides 2026-05-25 02:55:06 -04:00
operations P3.3.d: Fix compilation - add missing local_search_ui_rate_limiter field 2026-04-26 11:18:02 -04:00
plan feat(logging): add structured JSON logging tests and docs (plan §10, P7.5) 2026-05-24 10:00:21 -04:00
research Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00
runbooks P10.2: nodeMasterKey zero-downtime rotation flow 2026-04-19 15:49:40 -04:00
troubleshooting docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
arm64-support.md OP#6: Add ARM64 (aarch64-unknown-linux-musl) target support 2026-05-08 15:25:12 -04:00
benchmarks.md feat(bench): add performance benchmarks and regression gate (P9.5) 2026-05-25 00:44:33 -04:00
chaos_testing_report.md P12.OP1: Shard migration write safety - chaos testing 2026-05-08 15:29:48 -04:00
migration_runbook.md docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
redis-memory-accounting.md Phase 3 (miroir-r3j): Task Registry + Persistence — Complete 2026-05-09 02:29:38 -04:00
redis-memory.md P3: Complete Phase 3 — Task Registry + Persistence (SQLite + Redis) 2026-05-02 16:52:25 -04:00
TESTING.md fix(tests): allow docker-compose integration tests to skip gracefully when Docker unavailable 2026-05-26 13:56:25 -04:00
trade-offs.md OP#3: Document S-change (resharding) vs N-change (node scaling) trade-offs 2026-05-08 15:25:53 -04:00
troubleshooting.md docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
versioning-policy.md bf-35t4: Commit current main state before merge 2026-05-19 22:52:18 -04:00