Pushing is the deploy. After
floo apps github connect, every git push to your default branch deploys to dev automatically. floo preflight is the local check you run before that push — there is no separate floo deploy step in the everyday flow. See git-push deploys for the full trigger table.Arguments
| Argument | Description | Default |
|---|---|---|
PATH | Project directory to validate | . (current directory) |
Flags
| Flag | Description |
|---|---|
--app APP | Existing app name to validate against |
--services NAME | Validate only specific services (repeatable) |
Examples
What it checks
- Config files — reads
floo.app.toml(and any per-servicefloo.service.tomlin a delegated layout) and validates structure - Service discovery — resolves all services, checks for duplicates and naming rules
- Port validation — verifies ports are set and match Dockerfile
EXPOSEdirectives - Runtime detection — scans project files to determine language and framework
- Env file check — verifies referenced
env_filepaths exist on disk - Env injection plan — shows each service’s managed attachments, generated env keys, required keys, and optional keys
- Managed services — reconciles declared services (CLI + legacy TOML) against the platform DB and surfaces them in five bins:
to_provision— declared, no row yet. Will be created on the next deploy orfloo services add.to_retain— declared and exists. No-op.to_retry— declared, but the existing row is infailedstate. The next deploy retries provisioning.to_orphan— exists, not declared anywhere. Deploy will not destroy. Runfloo services removeto actually delete.in_flight_deprovisioning— adeprovisioningrow is mid-flight. Excluded fromto_retain/to_orphanuntil it completes.
JSON output
Errors
| Code | Meaning |
|---|---|
INVALID_PATH | Path is not a valid directory |
NO_CONFIG_FOUND | No floo.app.toml found. Run floo init first |
CONFIG_INVALID | Validation failed (duplicate service names, invalid ports, etc.) |
SERVICE_CONFIG_MISSING | A delegated service declared in floo.app.toml is missing its floo.service.toml |