Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

ci: macOS hardened-runtime smoke step fails because the re-signed app's helpers cannot connect (#28)

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

Hướng nghiên cứu

Start with the “Smoke-test the app under the hardened runtime” step in .github/workflows/ci.yml and the behavior of scripts/smoke-packaged.mjs. Compare the signed and unsigned app copies and inspect helper identifiers and signing requirements, as the issue suggests; also check whether MACH_PORT_RENDEZVOUS_PEER_VALDATION=0 changes the result. Done means the packaged app smoke test passes reliably, or the failing step is made non-blocking or removed.

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

Mô tả

bug platform: macos tests

The step "Smoke-test the app under the hardened runtime" (.github/workflows/ci.yml, merged with #374) fails on package (macos-latest) on main.

Observed: a copy of Patch.app re-signed with a throwaway self-signed certificate (also with ad-hoc signing) starts, but Chromium helpers log 'Terminating current process after 15 seconds with no connection' and scripts/smoke-packaged.mjs times out after 120 s. The unhardened control copy fails the same way, so re-signing itself is the cause, not the hardened runtime or build/entitlements.mac.plist. The DMG's app as built starts fine. --disable-features=MachPortRendezvousValidatePeerRequirements changes nothing.

Not yet known (the diagnostic run was cancelled before it finished): whether the unsigned copy out of the DMG starts, and whether MACH_PORT_RENDEZVOUS_PEER_VALDATION=0 helps. Ideas: sign inside-out without --deep and compare helper identifiers and requirements before and after; try another way to give all binaries one team-identified identity.

Until fixed, the step either needs to be made non-blocking or removed so main and later PRs are not red. Needed for #28 (verifying allow-jit alone under the hardened runtime).

Ngôn ngữ chính
TypeScript
Star
2
Fork
2
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

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 PierrunoYT/patch

Tất cả issue của PierrunoYT/patch

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.