Jump to: How It Works | Expected Response Time | Reading the Results | When to Retest
Why Test Your Environment
A validated environment directly improves code generation quality. When Blitzy can compile, run, and test your codebase, it catches its own errors in a validation loop before creating pull requests. Without a passing environment test, Blitzy falls back to static analysis only - meaning issues that a build or test run would catch surface during your review instead.How It Works
Clicking Test Setup triggers a full validation cycle:1
Provision
Blitzy spins up a clean environment matching your configuration (OS, toolchain, runtime versions).
2
Clone
Your connected repository is cloned into the environment.
3
Execute Setup Instructions
Your natural-language setup instructions are interpreted and executed step by step - installing dependencies, configuring variables, and running build commands.
4
Build and Run
Blitzy attempts to compile the application, run it, and execute any test commands defined in your instructions.
5
Report
A pass/fail status is returned with detailed logs for each stage.
Expected Response Time
Environment tests typically complete in 15-45 minutes depending on build complexity. Simpler projects with fewer dependencies land closer to 15 minutes, while larger codebases with extensive dependency installation, database migrations, or multi-service startup sequences run closer to 45 minutes.Reading the Results
All checks pass
All checks pass
Your environment is correctly configured. Blitzy can build and run your application, which enables the full validation loop during code generation. No action is needed.
Partial failure
Partial failure
Review the logs to identify which step failed. Common causes:
- Missing environment variables - A required variable or secret is not defined. Add it in Environment Configuration.
- Incorrect toolchain version - The runtime or build tool version does not match what your codebase requires. Update the version in your setup instructions.
- Inaccessible private registry - Authentication to an internal package registry failed. Verify credentials and registry URLs in your environment secrets.
- Build command failure - A dependency install or compile step errored. Check that your setup instructions match what works on a clean machine.
Complete failure
Complete failure
The environment could not be provisioned or the setup instructions could not be interpreted. Verify that:
- Instructions follow the natural-language format Blitzy expects
- All required variables and secrets are defined
- Connected repositories are accessible with the configured permissions
- The target OS matches your application’s requirements
When to Retest
Rerun Test Setup any time you change the underlying configuration:- Update setup instructions or build commands
- Add, change, or remove environment variables or secrets
- Connect additional repositories or modify repository access
- Change toolchain versions or dependency configurations
Related Guides
Environment Configuration
Configure build instructions, secrets, and private registries
Preparing Your Codebase
Repository structure and environment access levels