cli/pkg/cmd/issue/list
Kynan Ware 4f2304d4e5 Remove StateReason feature detection for issue close
The stateReason field was added in GHES ~3.4, which is far older than
the earliest supported GHES version (3.14). The feature detection and
conditional inclusion of stateReason is therefore unnecessary.

This removes:
- StateReason field from IssueFeatures struct
- GHES introspection query in IssueFeatures() (only ActorIsAssignable
  remains, which is always false on GHES)
- Conditional stateReason field inclusion in issue list
- Feature detection guard in issue close
- Feature detection guard in FindIssueOrPR

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 13:31:30 -07:00
..
fixtures Refactor issue list and pr list tests 2022-08-25 00:01:29 +09:00
http.go fix(issue list): reject pull request-only search qualifiers 2026-03-02 10:50:15 -07:00
http_test.go test(issue list): cover additional PR search qualifier variants 2026-03-03 10:13:57 +08:00
list.go Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
list_test.go fix(pr/shared): delegate query compilation to search package 2025-11-20 13:35:24 +00:00