ci(lanes): run every model lane on the same key, subscription and fallback chain

Đang mở
#13,586 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, github-actions, shell
Lĩnh vực
ci-cd

Hướng nghiên cứu

Start by reading the listed workflow files and the ci-workflows run-claude-cli action, especially the cited line ranges, to map how each lane passes credentials and handles handoffs. Then inspect the existing workflow tests and add coverage that fails when a model-running workflow skips a leg or passes credentials outside the shared mechanism. Done means all nine listed lanes use the same three-leg chain and triggers, and the release lane no longer has a separate credit-stop skip or outdated header.

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

Mô tả

area: security priority: medium status: needs-decision work-class: structural

No related issue: owner decision in the Automation Lanes session, 2026-11-05.

Owner decision (verbatim)

The owner asked, in session: "if anything fails on API credit, it should always roll back to the subscription. If that fails, there's a fallback subscription. Did we have that in place for all of these automations?"

Asked as an AskUserQuestion pick, Q1, which named the release lane's outside-authored changelog input and rule R220. Owner's pick, verbatim: "All nine (Recommended)".

Then, verbatim: "I want them all to be consistent and uniform."

This loosens R220 for upstream-apply-changelog.yml: that lane now gets the subscription and fallback legs. The owner made this pick in their own words, in the session.

Gap (read at origin/main, 2026-11-05)

Every other model lane already runs API key, then role subscription, then FALLBACK_CLAUDE_CODE_OAUTH_TOKEN. It hands off on a credit stop or a 401/402, and on the subscription leg also on a limit stop (ci-workflows run-claude-cli action.yml:7-16; pr-run-activity-read.yml:10-17). These do not:

Workflow Legs today
upstream-apply-changelog.yml (both model legs) key only (:352, :634; :152-156 skips a credit-stopped key)
pr-unblock.yml adjudicate-feedback key only (:1858-1862)
intake-triage.yml refine-issue key, then subscription, with no fallback (:1116-1120)
pr-verify-capture.yml key, then subscription, with no fallback (:37-38)
post-merge-test-mutation.yml subscription only
maintenance-tidy-code-upkeep.yml subscription only
maintenance-measure-skill-edit.yml subscription only
eval-browser-dispatch.yml subscription only
eval-hill-climb-pass.yml subscription only

Done when

  • Every model-running workflow runs the same three-leg chain through the same mechanism: role API key, then role subscription, then FALLBACK_CLAUDE_CODE_OAUTH_TOKEN, with the same handoff triggers. No lane keeps its own variant.
  • A test fails when a model-running workflow lacks a leg, or passes credentials outside that mechanism.
  • The release lane's credit-stop skip is removed or reduced to the shared key-credit gate, and its header no longer says it has no subscription leg.
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
1 giờ 18 phút
Pull request đã merge (30 ngày)
942

Chuẩn bị môi trường

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 melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.