cli/internal/featuredetection
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
..
detector_mock.go Add --query flag to project item-list (#12696) 2026-02-18 16:34:13 +01:00
feature_detection.go Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00
feature_detection_test.go Remove StateReason feature detection for issue close 2026-03-04 13:31:30 -07:00