Runner deprecations: enterprise scope is in the changelog and the 404 handler but not in the description

Đang mở Phù hợp với người mới
#7,163 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
openapi
Lĩnh vực
api, documentation

Hướng nghiên cứu

Bắt đầu trong descriptions/api.github.com/api.github.com.json bằng cách so sánh các đường dẫn ngừng hỗ trợ runner của organization và repository hiện có với route enterprise được mô tả trong changelog ngày 2026-09-03. Kiểm tra tiêu đề tài liệu tương ứng và liên kết lỗi dành riêng cho route; hoàn tất khi description và changelog/docs nhất quán trong việc thể hiện các scope được hỗ trợ, đồng thời liên kết enterprise được phân giải chính xác nếu scope đó được giữ lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature
Description

The 2026-09-03 changelog
says the runner version end-of-life endpoint is callable "at the repository,
organization, or enterprise level". descriptions/api.github.com/api.github.com.json
at 1.1.4 has the /orgs/{org}/ and /repos/{owner}/{repo}/ deprecations paths and no
/enterprises/{enterprise}/actions/runners* path of any kind.

A missing path alias would normally be the README's "only the most common path is
described". This looks different, because the operation name exists outside the
description and resolves to nothing. The enterprise route 404s with a route-specific
documentation_url, where an unrouted sibling gets the generic one:

$ curl -s -H "Authorization: Bearer $TOKEN" \
    https://api.github.com/enterprises/SLUG/actions/runners/deprecations/2.335.1
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-an-enterprise","status":"404"}

$ curl -s -H "Authorization: Bearer $TOKEN" \
    https://api.github.com/repos/OWNER/REPO/actions/runners/nonsense-route/2.335.1
{"message":"Not Found","documentation_url":"https://docs.github.com/rest","status":"404"}

That anchor does not exist. The docs page has the organization and repository
headings and no enterprise one, so the link lands at the top of the page. So
get-runner-version-end-of-life-schedule-for-an-enterprise is known to the error
handler and absent from both the description and the page it points at. Clients
generating from the description cannot reach enterprise scope, and clients following
the changelog have nothing to call.

Expected

Either the enterprise paths are added to the api.github.com description, or the
2026-09-03 changelog is corrected to say repository and organization only.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1.6k
Fork
342
Merge trung bình
3 giờ 33 phút
Pull request đã merge (30 ngày)
51

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/rest-api-description

Tất cả issue của github/rest-api-description

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.