smoke-test
Run smoke tests to verify the Everruns system works correctly.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Smoke Tests
Verify the system is working after changes.
Quick Start
# Start server (no Docker needed, --no-watch for faster startup)
just start-dev --no-watch
# Run tests
cargo test
Checklist
1. Start Server
just start-dev --no-watch # In-memory, no Docker, fast startup
# or: just start-all --no-watch # With PostgreSQL persistence
2. Health Check
curl -s http://localhost:9000/health | jq
# Expected: {"status": "ok", ...}
3. Run Tests
# All tests (unit + integration, includes tool calling tests)
cargo test --all-features
# Integration tests only (requires server running)
cargo test -p everruns-server --test integration_test -- --test-threads=1
# Durable engine tests
cargo test -p everruns-durable --lib
Integration tests cover: API endpoints, tool calling (OpenAI/Anthropic/LLMSim), events, sessions, capabilities.
4. UI Check
curl -s -o /dev/null -w "%{http_code}" http://localhost:9100
# Expected: 200 or 307
5. API Endpoint Test
ORG="org_00000000000000000000000000000001"
# Create agent
curl -s -X POST "http://localhost:9000/v1/agents" \
-H "Content-Type: application/json" \
-d '{"name": "Test", "system_prompt": "You are helpful."}' | jq '.id'
Full API Reference
See http://localhost:9000/swagger-ui/ for complete API documentation.
Troubleshooting
# Check ports
lsof -i :9000 # API
lsof -i :9100 # UI
# View logs (DEV MODE runs in foreground)
# Ctrl+C to stop, then restart with: just start-dev
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!