Skip to content

Missing tests: SIGHUP scaffolding, worker-orchestrator contract parity, and terminal job-state characterisation #16

@coderabbitai

Description

@coderabbitai

Missing tests (distinct from structural resistance)

  • SIGHUP integration scaffolding: tests/sighup_reload_integration.rs is mostly ignored placeholder scaffolding rather than executable regression coverage. It should be replaced with real integration tests that exercise the hot-reload path end-to-end.

  • Worker–orchestrator contract parity: There is no obvious shared contract test proving that worker and orchestrator endpoint parity is maintained. A contract test suite (or at minimum a shared protocol module with accompanying tests) should be introduced to catch route/auth-convention drift at compile or test time rather than at runtime.

  • Terminal job-state persistence characterisation: Characterisation tests for terminal job-state persistence (covering the persist_status, log_event, and terminal-transition paths in src/worker/job.rs) should be written and passing before any refactoring of the lifecycle path is attempted, to prevent silent regressions.


Raised by @leynos. Backlink: #7

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions