Files
computer-playbook/scripts/tests/environment
kevinveenbirkenbachandClaude Opus 4.7 7322c9637b test(environment): assert local caches saw deploy traffic
`07_deploy_minimal.sh` now snapshots Nexus request-log line count and
registry-cache HIT count before the deploy, runs the deploy, snapshots
again, and fails if neither counter grew. Catches regressions where
the runner-side wiring stops routing through the cache stack.

Helpers `cache_snapshot` and `assert_cache_used` live in `lib.sh` so
other environment scripts can reuse the same check.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 01:18:33 +02:00
..
…

Environment Test Suite

This directory contains the modular environment test suite for Infinito.Nexus. It validates the full local development flow from a clean state.

The entry point is 00_orchestrator.sh.

Structure

File Purpose
00_orchestrator.sh Runs all numbered steps in order
01_install.sh Installs package prerequisites and repository dependencies
02_system.sh Shows disk usage and purges cached state
03_build.sh Builds the local Docker image
04_bootstrap.sh Bootstraps the development environment and starts the stack
05_commit.sh Validates pre-commit hook enforcement and --no-verify bypass
06_test.sh Runs the full validation suite
07_deploy_minimal.sh Deploys on minimal hardware with service exclusion
08_deploy_performance.sh Deploys the full application set on performance hardware
09_deploy_reuse.sh Redeploys reusing existing inventory and packages
10_teardown.sh Shuts down the stack and reverses environment changes
lib.sh Shared variables and helper functions

Usage

Run the full suite via the entry point:

bash scripts/tests/environment/00_orchestrator.sh

For documentation on the overall development workflow, see the Deploy Guide.