Skip to content

fix(github): a failed milestone patch leaves the created issue without a milestone, the board-less triage audit reports no missing priority, and review threads read every comment page (#2158) - #2394

Merged
dan-petty merged 2 commits into
mainfrom
fix/2158-github-fallback-paths
Oct 28, 2026

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Three fallback paths in github/ had no test, and two gave a wrong result (#2158).

  • create_repository_issue reads the milestone PATCH result. A failed PATCH returns the issue with no milestone, and devops gh issues create says the milestone was not set.
  • _audit_rest_issues no longer marks every issue as missing a priority when the repository has no roadmap board. The audit sets priority_not_checked, and devops gh issues triage says Priority was not checked.
  • tests/ gains gh-fake tests for a review thread whose comments span three pages, and for a listing reply that is not JSON, is a list, or holds errors, each of which raises GitHubOperationError.

devops ci passes.

Closes #2158

…t a milestone, the board-less triage audit reports no missing priority, and review threads read every comment page (#2158)

- create_repository_issue reads the milestone PATCH result; a failed
  PATCH returns the issue with milestone=None, and the command says the
  milestone was not set.
- _audit_rest_issues no longer forces has_priority=False on every issue;
  the audit sets priority_not_checked=True, and the command says Priority
  was not checked because the repository has no roadmap board.
- Add gh-fake tests for a review thread whose comments span three pages
  and for a listing reply that is not JSON, is a list, or holds errors,
  each raising GitHubOperationError with the expected message.
- Lower the swallowed_failures ceiling for github/issues.py from 2 to 1,
  locking in the now-read PATCH result.
@dan-petty
dan-petty marked this pull request as ready for review October 28, 2026 02:34
@dan-petty
dan-petty merged commit d509dba into main Oct 28, 2026
16 checks passed
@dan-petty
dan-petty deleted the fix/2158-github-fallback-paths branch October 28, 2026 02:35
dan-petty pushed a commit that referenced this pull request Oct 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.8.2](v0.8.1...v0.8.2)
(2026-10-28)


### Bug Fixes

* **github:** a failed milestone patch leaves the created issue without
a milestone, the board-less triage audit reports no missing priority,
and review threads read every comment page
([#2158](#2158))
([#2394](#2394))
([d509dba](d509dba))
* **k8s:** bound prompt cache and set memory limit on ollama-64gib tier
([#2391](#2391))
([69636b6](69636b6))
* **k8s:** remove IQ3_S gateway deployment from qwen3.8 and chat groups
([#2393](#2393))
([0b76871](0b76871))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant