Renamed or removed Environments are sent DELETE requests in nop mode
Maintainer thường phản hồi trong vòng 2 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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
Hướng nghiên cứu
Theo dõi cách xử lý nop-mode đối với các check runs của pull request và theo dõi cách các environment được đổi tên hoặc bị xóa đến environment REST endpoint. Sử dụng các log đã báo cáo và hành vi ожидается làm kiểm tra hoàn tất để xác nhận rằng no-op path không gửi các yêu cầu DELETE khi các environment không có trong cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem Description
As per the title, when Environments are renamed or removed entirely in the config and the app is executed in nop mode via a pull request check run, the environment will be deleted from the associated repositories.
What is actually happening
As per the title, when Environments are renamed or removed entirely in the config and the app is executed in nop mode via a pull request check run, the environment REST endpoint will be sent a DELETE request.
What is the expected behavior
In nop mode no changes should be made to repository settings.
Error output, if available
Not errors, but these logs were generated on a no-op dry run of safe-settings where balena-staging.com+sign-api-key had been deleted from the settings.
{"level":20,"time":1740682249048,"pid":24,"hostname":"safe-settings-d86c9d9d7-bwdrd","name":"probot","name":"probot","name":"octokit","msg":"GitHub request: DELETE https://api.github.com/repos/balena-os/balena-iot-gate-imx8plus/environments/balena-staging.com%2Bsign-api-key - 204"}
2025-02-27 13:50:48.103
{"level":20,"time":1740682248103,"pid":24,"hostname":"safe-settings-d86c9d9d7-bwdrd","name":"probot","name":"probot","name":"octokit","msg":"GitHub request: DELETE https://api.github.com/repos/balena-os/balena-iot-gate-imx8plus/environments/balena-cloud.com%2Bsign-api-key - 204"}
2025-02-27 13:50:41.042
{"level":20,"time":1740682241041,"pid":24,"hostname":"safe-settings-d86c9d9d7-bwdrd","name":"probot","name":"probot","name":"octokit","msg":"GitHub request: DELETE https://api.github.com/repos/balena-os/balena-iot-gate-imx8/environments/balena-staging.com%2Bsign-api-key - 204"}
Context
Are you using the hosted instance of probot/settings or running your own?
Self-hosted
If running your own instance, are you using it with github.com or GitHub Enterprise?
github.com
Version of probot/settings
We previously thought this issue had been addressed here: https://github.com/github/safe-settings/pull/691
Last reproduced in https://github.com/github/safe-settings/releases/tag/2.1.16
Version of GitHub Enterprise
- Ngôn ngữ chính
- JavaScript
- Star
- 942
- Fork
- 238
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github-community-projects/safe-settings
-
Teams: teams with organization-role access show up as deletionsCó thể đã có người làm @TovaBecker đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
github-community-projects/safe-settings#1144 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github-community-projects/safe-settings#1143 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github-community-projects/safe-settings#1135 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github-community-projects/safe-settings#1134 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
environments: additive_plugins is ignored, undeclared environments are deletedCó thể đã có người làm @yaunj đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github-community-projects/safe-settings#1133 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của github-community-projects/safe-settings
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cytoscape/cytoscape.js#3597 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
priority: low server testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
blamechris/chroxy#9277 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
sunososobro-hub/cloudball#191 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/playwright#44289 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Wire ISO post: has() accepts text values such as an empty string, true or 0x1A for wire numbersĐang mởarea:post effort:low enhancement P7 source:agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày