fix(#2187): normalize fix instruction line endings - #7073
Conversation
Strip carriage returns from comment bodies before forwarding human instructions to the supported per-repo fix agent. Exercise the real workflow step with a CRLF event payload. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
PR Summary by QodoNormalize fix instruction line endings
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 1:18 PM UTC · Completed 1:34 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.36 |
|
Risk Assessment: moderate (2/5) DetailsSmall, well-tested fix to a low-priority latent CRLF bug offset by high churn and multi-author contention on the touched CI workflow file. |
ReviewFindingsMedium
Low
Next steps:
|
Add the missing test comment for the reusable dispatch fix-instruction regression test. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
Summary
Normalize CRLF comment bodies before forwarding human instructions to the
supported per-repo fix agent. This prevents invisible carriage-return bytes
from reaching the agent while preserving the comment's line structure.
The deprecated per-org
reusable-fix.ymlpath is intentionally unchanged inaccordance with ADR 0044. That path retains the same latent CRLF exposure,
which is accepted as follow-up work under the deprecation timeline; this PR
adds no new per-org behavior.
Related Issue
Fixes #2187
Changes
\rfrom fix comment bodies in the inline per-repo fix stageTesting
make lintgo test ./internal/scaffold -count=1make go-test(unrelated existing macOS failures covered by harnessdispatch: base-composition test repeats macOS TempDir alias failure from #2962 #7058 and sandbox: EnsureProvider cancellation test depends on process startup timing #7059 / PRs test(#7058): cover harness dispatch on macOS #7061 and fix(#7059): preserve provider cancellation errors #7060)Checklist