test(engine): stabilize runner and envoy suites#4798
Conversation
Code Review: PR #4798 — test(engine): stabilize runner and envoy suitesThis is a large test-stabilization PR (12k+ additions, 458 deletions) with several production fixes mixed in. The overall direction is solid — restoring test/runner protocol separation, fixing real bugs (wrong key type in evict, missing crash policy propagation, command-ack race, SQLite migration invalidation), and mitigating pre-existing flakes by skipping broken legacy runner tests with comments. Confirmed Bug Fixes (Correct)
Issues to Address1. Potential indentation corruption in
|
| Category | Items |
|---|---|
| Must-fix correctness | Missing content-type header; crash_policy default verification |
| Must-fix CLAUDE.md violations | std::sync::Mutex in async test code; misleading _kv_tx name |
| Should-fix | Stale comment; ValidateInput type compatibility; polling loop justification comments |
| Suggestions | Retry backoff in test helpers |
The core production fixes are correct and well-targeted. The test framework rebuild is architecturally sound. Please address the std::sync::Mutex in async contexts and the missing content-type header before merge.

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: