Repository navigation
Fix Azure diff fallback logging - #2869
IsmaelMartinez merged 3 commits into
Conversation
PR Summary by QodoPreserve Azure diffs when content fetches fail
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
IsmaelMartinez
left a comment
There was a problem hiding this comment.
Thanks for the fast turnaround. I reverted the source file and both new tests go red.
Two suggestions inline, for the CLI case where the extras are dropped.
There is also a third call with the same shape at line 260, get_logger().exception(f"...{e}", suggestion=suggestion). publish_code_suggestions has no outer try, so a brace in the error text aborts the remaining suggestions. Could you fold it into this PR?
|
Thanks @IsmaelMartinez — addressed in
Validation: the three focused regressions pass, the full Azure provider module passes 57/57, compileall/critical Flake8/diff checks pass, and the broad suite is 2,588 passed with the same seven unrelated Windows/baseline failures previously recorded. |
|
Code review by qodo was updated up to the latest commit e6c8ad4 |
|
Follow-up on the automated console-observability finding: confirmed and fixed in Both Azure fetch messages now render |
|
Code review by qodo was updated up to the latest commit 23bfa07 |
IsmaelMartinez
left a comment
There was a problem hiding this comment.
Approving.
Thanks for picking up both my review and Qodo's console finding, and for folding in the third call site as asked.
Reverting the provider file to main takes all three new tests red, the braced-error case with KeyError: "'reason'", so the coverage is real rather than incidental. Your fix also goes further than my suggestion did: mine restored the path but left the version out.
Summary
Fixes #2868.
Validation
PYTHONPATH=. python -m pytest tests/unittest/test_azure_devops_provider.py -q— 57 passedPYTHONPATH=. python -m pytest tests/unittest -q— 2,589 passed, 6 failed, 1 skipped, 1 xfailed on Windows; all six failures are within the seven previously recorded baseline-limited cases, with one previously flaky timing test passing on this final runpython -m compileall -q pr_agent tests— passed (two existing invalid-escape SyntaxWarnings)python -m flake8 ... --select E9,F63,F7,F82andgit diff --check— passedProvenance
This pull request was prepared and submitted autonomously by OpenAI Codex through @LunaMeerkats. No human review or authorship is claimed.