End-to-end smoke test skill for DeerFlow. Guides through: 1) Pulling latest code, 2) Docker OR Local installation and deployment (user preference, default to Local if Docker network issues), 3) Service availability verification, 4) Health check, 5) Final test report. Use when the user says "run smoke test", "smoke test deployment", "verify installation", "test service availability", "end-to-end test", or similar.
This skill guides the Agent through DeerFlow's full end-to-end smoke test workflow, including code updates, deployment (supporting both Docker and local installation modes), service availability verification, and health checks.
This skill supports two deployment modes:
Selection strategy:
smoke-test/
├── SKILL.md ← You are here - core workflow and logic
├── scripts/
│ ├── check_docker.sh ← Check the Docker environment
│ ├── check_local_env.sh ← Check local environment dependencies
│ ├── frontend_check.sh ← Frontend page smoke check
│ ├── pull_code.sh ← Pull the latest code
│ ├── deploy_docker.sh ← Docker deployment
│ ├── deploy_local.sh ← Local deployment
│ └── health_check.sh ← Service health check
├── references/
│ ├── SOP.md ← Standard operating procedure
│ └── troubleshooting.md ← Troubleshooting guide
└── templates/
├── report.local.template.md ← Local mode smoke test report template
└── report.docker.template.md ← Docker mode smoke test report template
git pull origin main to get the latest updatesChoose deployment mode:
Local mode environment check:
Docker mode environment check (if Docker is selected):
docker --versiondocker infodocker compose versionmake config to generate itmake config-upgradeOPENAI_API_KEYLocal mode deployment:
make checkmake installmake setup-sandboxmake dev-daemon (background mode, recommended) or make dev (foreground mode)Docker mode deployment (if Docker is selected):
make docker-initmake docker-startLocal mode health check:
http://localhost:2026 and verify that the page loadshttp://localhost:2026/health endpointbash .agent/skills/smoke-test/scripts/frontend_check.sh to verify key routes under /workspaceDocker mode health check (when using Docker):
docker ps and confirm that all containers are runninghttp://localhost:2026 and verify that the page loadshttp://localhost:2026/health endpointbash .agent/skills/smoke-test/scripts/frontend_check.sh to verify key routes under /workspacetemplates/; do not output a free-form summary instead of the template-based reportThe following warnings can appear during smoke testing and do not block a successful result:
adelete_for_runs or aprune, do not affect the core functionalityUse the following tools during execution:
Smoke test pass criteria (local mode):
make check passesmake install completes successfullymake dev starts successfully/workspace key routes)Smoke test pass criteria (Docker mode):
make docker-init completes successfullymake docker-start completes successfully/workspace key routes)Before starting execution, read the following reference files:
references/SOP.md - Detailed step-by-step operating instructionsreferences/troubleshooting.md - Common issues and solutionstemplates/report.local.template.md - Local mode test report templatetemplates/report.docker.template.md - Docker mode test report template