OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Resolver fails at the "Create draft PR or push branch" step due to ERROR:root:<class 'ValueError'>: Issue number 2394 not found in output/output.jsonl

Open oconnorjoseph opened this issue 1 month ago • 2 comments

Is there an existing issue for the same bug?

  • [x] I have checked the existing issues.

Describe the bug and reproduction steps

The resolver fails at the "Create draft PR or push branch" step due to the following error:

Run if [ "" == "true" ]; then
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
  warnings.warn(message, UserWarning)
ERROR:root:  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 766, in <module>
    main()
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/send_pull_request.py", line 747, in main
    resolver_output = load_single_resolver_output(output_path, issue_number)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/site-packages/openhands/resolver/io_utils.py", line 17, in load_single_resolver_output
    raise ValueError(f'Issue number {issue_number} not found in {output_jsonl}')

ERROR:root:<class 'ValueError'>: Issue number 2[39](https://github.com/BluMintInc/agora/actions/runs/12841075503/job/35810488931#step:13:40)4 not found in output/output.jsonl

OpenHands Installation

Development workflow

OpenHands Version

0.20.0

Operating System

Linux

Logs, Errors, Screenshots, and Additional Context

Attached is the full log archive from the GitHub Action job run:

logs_33218708898.zip

oconnorjoseph avatar Jan 18 '25 05:01 oconnorjoseph