Characterize cancellation notification and sequential-signing consistency
Maintainer thường phản hồi trong vòng 1 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
- 42/100
Hướng nghiên cứu
Start with tests/integration/features/sign/cancel.feature and sequential_signing.feature; inspect how the existing PHPUnit integration environment persists signing requests and how the Behat scenarios observe notifications. Reproduce the controlled removal failure and the same-order signer flow described in the issue, then run the relevant integration tests. Done means the tests confirm no cancellation notification or false success after failed removal, and that C is activated and notified once only after A signs.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Verify that cancellation and sequential-signing notifications correspond to successful persisted state changes.
Test approach
Reuse tests/integration/features/sign/cancel.feature and sequential_signing.feature.
Persistence failure
Using PHPUnit integration with the existing Nextcloud test environment:
- Persist an active unsigned signing request.
- Introduce one controlled failure at the persistence boundary for its removal.
- Execute the cancellation operation.
- Reload the persisted state and observe cancellation events.
Expected:
- The signer remains persisted.
- No cancellation notification is emitted for an unsuccessful removal.
- The operation does not silently report success.
- Unrelated state is unchanged.
Use real persistence wherever possible and the minimum substitution necessary to reproduce the failure.
Sequential flow
Using Behat:
- Create signers A and B at the same first signing order, with C at the next order.
- Before anyone signs, remove pending signer B.
- Verify that A remains active and C is not prematurely activated or notified.
- Complete A's signature.
- Verify that C becomes eligible and receives the expected activation notification once.
This must not depend on modifying signer-removal permissions after a document becomes partially signed.
Boundaries
No generic failure-injection framework, broad notification refactor or new delivery mechanism.
Result and handoff
A passing test may be merged normally.
For a confirmed failure, preserve the test commit and sanitized execution evidence without merging a failing test. Request maintainer review to determine the smallest appropriate fix.
If the required correction extends beyond this investigation, establish a traceable follow-up and carry the same regression test into the corrective work.
- Ngôn ngữ chính
- PHP
- Star
- 844
- Fork
- 176
- Merge trung bình
- 14 giờ 3 phút
- Pull request đã merge (30 ngày)
- 344
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.
- Không có Dockerfile hay tệp Docker Compose
- 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 LibreSign/libresign
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenSSL engine: leaf certificates get O=Internet Widgits Pty Ltd, ST=Some-State from system openssl.cnfCó thể đã có người làm @vitormattos đã nhận 5 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
LibreSign/libresign#9366 · 1 người được giao ·
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 83/100
LibreSign/libresign#9007 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LibreSign/libresign#8284 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
frontend javascript technical debt
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 8/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của LibreSign/libresign
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Automattic/blocks-engine#6318 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[remove-resource] Delete Open Course Hub, Open Multicourse Hub, and Learn2 with GitSync skeletonsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
Allow @ in the service nameĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
35-feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày