You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prometheus parser 0.22.0 raises ValueError when parsing HELP, INFO comments with double spaces #1131
Activity
csmarchbanks commentedon Sep 11, 2025
Thank you for the report, I have opened up a fix in #1134 and will cut a patch release after it is merged.
FMorgan-111 commentedon Jul 5, 2026
RepoPilot v2 could not complete an automatic fix.
Reason: Same patch produced the same failure twice.
Relevant files:
Attempts:
Attempt 1: success=False
File: unknown
Result: patch_apply_failed
Error:
Patch preflight check failed:
error: No valid patches in input (allow with "--allow-empty")
Attempt 2: success=False
File: prometheus_client/parser.py
Result: {"command": "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/bin/python -m pytest tests/test_parser.py", "returncode": 1, "success": false}
Error:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/lib/python3.11/site-packages/pytest/main.py", line 9, in
raise SystemExit(_console_main())
^^^^^^^^^^^^^^^
File "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/lib/python3.11/site-packages/_pytest/config/init.py", line 253, in _console_main
code = _main(prog=_get_prog_name(sys.argv))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/lib/python3.11/site-packages/_pytest/config/init.py", line 223, in _main
config = _prepareconfig(new_args, plugins, prog=prog)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/lib/python3.11/site-packages/_pytest/config/init.py", line 410, in _prepareconfig
config: Config = pluginmanager.hook.pytest_cmdline_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/morganbest/.repopilot/repos/prometheus-client_python-work-venv/lib/python3.11/site-packages/pluggy/_hooks.py", line 512, in call
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ho
Attempt 3: success=False
File: unknown
Result: patch_apply_failed
Error:
Patch preflight check failed:
error: No valid patches in input (allow with "--allow-empty")
Token usage: 20260/80000