Being able to define the retryAfter

Đang mở
#354 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, javascript, typescript
Lĩnh vực
api, ci-cd

Hướng nghiên cứu

The issue names the action configuration options retries and retry-after and links plugin-retry.js, but it names no repository file or test. Start by tracing how action inputs are parsed and how plugin-retry.js exposes retryAfter; done means the configuration controls the retry delay and tests cover it.

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

Mô tả

enhancement

Is your feature request related to a problem? Please describe.
Being able to define the delay before retrying

Describe the solution you'd like
By configuring the action as follow
with:
result-encoding: string
retries: 3
retry-after: 500
script: |

By setting the retry-after the script to be called 3 time with a delay of 500 seconds in case of errors

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Expose the retryAfter option available on plugin-retry

Ngôn ngữ chính
TypeScript
Star
5k
Fork
586
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 actions/github-script

Tất cả issue của actions/github-script

Issue tương tự

Thêm issue về TypeScript

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.