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

Upstream operation-count tests fail with the patch stack (118 vs 126 operations)

Đã đóng
#30 0 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

Một pull request liên quan đã được merge.

  • #60 của @iamnbutler — đã merge
  • #65 của @iamnbutler — đã merge

Đá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
42/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ệ
swift
Lĩnh vực
testing

Hướng nghiên cứu

Start with the failing assertions in PeekabooBridgeRequestPlanTests (operations.count == 118 and the permission-partition expectations) and PeekabooBridgeOperationSemanticPlanTests, then run the PeekabooTests bridge suites one at a time to see which other counts are stale. The issue says the insert, clipboard and menu patches add 8 operations, so the new total should be 126. Done when those suites pass with updated counts and partition expectations, and the patch-test routine lists the PeekabooTests bridge suites.

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

Mô tả

Found while running the patch tests at 73c0513 for githubnext/ace#427. The failures were already there at 8801b31, but earlier runs only ran PeekabooBridgeTests, not PeekabooTests.

  • PeekabooBridgeRequestPlanTests fails operations.count == 118 and the matching permission-partition expectations.
  • PeekabooBridgeOperationSemanticPlanTests fails operations.count == 118.

Cause: the insert, clipboard and menu patches add 8 bridge operations (literalInsert, six clipboard reads and writes, menuCommand), so there are now 126. The patches never updated these upstream tests.

Fix: have each patch that adds an operation update the count and partition expectations. Also add the PeekabooTests bridge suites, run one by one, to the patch-test routine; the new restore and title suites live there too.

Ngôn ngữ chính
Swift
Star
0
Fork
0
Merge trung bình
19 phút
Pull request đã merge (30 ngày)
107

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 githubnext/desktop-tools

Tất cả issue của githubnext/desktop-tools

Issue tương tự

Thêm issue về Swift

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.