Exit Codes First: A Reproduce-Patch-Verify Loop for OSS Bug Triage
说明与用途
Exit Codes First 循环通过记录退出码加速 OSS 错误 triage,确保可重现、最小化补丁并验证。
问题
Unreproducible bug reports stall issue queues, leading to guesses and regressions.
结果
The loop takes about twenty minutes per issue, produces artifacts that reviewers can argue with, and ensures that only reproducible, minimal patches are merged.
工作流
- Pin reporter's commit and build at that commit
- Run a narrow test to reproduce (state R) and record non‑zero exit
- Apply patch and verify it passes (state V) with zero exit
- Record states in a ledger
- Add a verifier to CI that checks ledger states
- Optionally reverse patch and rerun R to confirm coverage
证据
Unreproducible reports dominate most backlogs.
The loop takes about twenty minutes per issue.
- 记录日期: 2026-10-15T12:40:56.125Z