Conversation
CI CommandsThe following CI workflows run automatically on every push and pull request:
The following commands can be used by maintainers to trigger additional tests that require access to secrets:
|
|
Claude finished @luccabb's task in 3m 34s —— View job PR Review: Migrate health checks to HealthCheckRuntime
This is a solid, well-scoped refactor. The overall approach is correct and the implementation is clean. A few things worth flagging: Strengths
IssuesTest coverage regression ( The test previously verified the log message content: assert expected[2] in caplog.textThis assertion is dropped in the PR. The expected values encode the exact error message format (e.g. Reduced startup log verbosity ( The old check-specific log lines included operation parameters useful for debugging, e.g.: The new generic log only captures
Several commands in Nits
Overall this is a clean, well-executed refactor. The main thing I'd want addressed before merge is the test coverage regression in |
Summary: moves healthchecks boilerplate to the HealthCheckRuntime context manager, this removes the repeated setup across every check. Test Plan: runs this shell file before and after changes: https://gist.github.com/luccabb/d0c7b0d2ea4c4fe0925af4eb6001cee0 diffing`{before,after}.txt` files shows they're the same, which proves this PR shouldn't impact healthchecks output Reviewed By: calebho Differential Revision: D97423071 Pulled By: luccabb
306ca21 to
46f4e31
Compare
Summary:
moves healthchecks boilerplate to the HealthCheckRuntime context manager, this removes the repeated setup across every check.
Test Plan:
runs this shell file before and after changes: https://gist.github.com/luccabb/d0c7b0d2ea4c4fe0925af4eb6001cee0
diffing
{before,after}.txtfiles shows they're the same, which proves this PR shouldn't impact healthchecks outputReviewed By: calebho
Differential Revision: D97423071
Pulled By: luccabb