Skip to content

Add integration tests, health checks, graceful shutdown #23

@bug-ops

Description

@bug-ops

Description

End-to-end testing, startup validation, and clean shutdown.

Parent: #6

Branch

feat/m5/integration-tests

Files

  • tests/ — integration test files
  • crates/zeph-core/src/agent.rs — graceful shutdown
  • src/main.rs — signal handling, health checks

Test Coverage

  • Config: load, defaults, env overrides
  • Skills: parse valid/invalid, registry scan
  • Memory: save/load/history limit
  • Agent: message round-trip (mock provider)

Acceptance Criteria

  • cargo test passes all tests
  • SIGTERM/SIGINT handled (save state, exit)
  • Startup: verify Ollama reachable (if ollama provider)
  • Startup: verify SQLite writable

Depends On

#22 (Telegram adapter — M4 complete)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionalitytestingTests and quality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions