Two jobs of one workflow run report to the same build record, and the second is refused with 409

Đang mở
#28 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/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ệ
github-actions, javascript
Lĩnh vực
ci-cd, cloud

Hướng nghiên cứu

The payload names no source files. Start with the 409 warning the action logs when a second matrix job reports to the same build record, and with the linked end-to-end run where the pinned and latest jobs deploy. Before any code change, a maintainer has to choose between one build record per job and a documented one-build-per-run rule, so a newcomer should first ask in the thread which option is wanted.

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

Mô tả

When a workflow runs the action in more than one job of the same run, for example a matrix, every job reports its progress to the same Prisma build record. The first job's updates are accepted. The second job's updates are refused with HTTP 409, and the action logs a warning.

The deploys themselves succeed. Only the build record in the Console is affected: it shows one job's result, not both.

Seen in this repository's own end-to-end test, which deploys from two matrix jobs (pinned and latest): https://github.com/prisma/cloud-deploy-action/actions/runs/45080922042

To decide: whether each job should get its own build record, or the action should say plainly that one run reports one build.

Ngôn ngữ chính
JavaScript
Star
2
Fork
6
Merge trung bình
6 ngày 8 giờ
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 prisma/cloud-deploy-action

Tất cả issue của prisma/cloud-deploy-action

Issue tương tự

Thêm issue về JavaScript

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.