fix: checked task-list declarations using * or + fail the contribution check
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 75/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, github-actions, javascript, markdown
- Lĩnh vực
- ci-cd, developer-experience
Hướng nghiên cứu
Bắt đầu với .github/workflows/ai-contribution-declaration.yml, nơi issue chỉ ra một matcher chỉ chấp nhận dấu đầu dòng -. So sánh hành vi của nó với các trường hợp tái hiện được cung cấp bằng * và +, sau đó cập nhật bước kiểm tra để chấp nhận các mục danh sách công việc đã đánh dấu hoàn thành tương đương hoặc thông báo rõ định dạng bắt buộc. Hoàn tất khi cả ba dấu đầu dòng hoạt động như mong đợi với cả hai câu khai báo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hullo folks,
I'm doing some research for Tessl Code Review and we ran it against your repo. It flagged a potential issue, and I figured it made sense to share it with you:
Bug
The contribution-declaration check rejects checked Markdown task-list items when they use * or + instead of -. The declaration text and checked state are unchanged, but a non-exempt contributor gets told to complete both checkboxes.
This is a small contributor-workflow bug, rather than a Blazor runtime issue.
Reproduction
In a PR description, keep the two exact declaration sentences in the AI contribution declaration section, check both boxes, and change only their list marker:
## AI contribution declaration
* [x] I have read and followed the AI contribution policy.
* [x] I have personally reviewed and understood all changes, tested them, and take responsibility for this contribution.
Those are reproduction-fixture contents, not personal declarations for this report.
I executed the workflow's actual embedded Node script locally with a synthetic non-exempt author, empty exemption files and the same body for each case:
| List marker | Exit code | Result |
|---|---|---|
- [x] |
0 | Both declarations accepted |
* [x] |
1 | Both declarations reported missing |
+ [x] |
1 | Both declarations reported missing |
The failure message is:
::error::A human contributor must complete both required checkboxes in the AI contribution declaration section of the pull request description.
Expected behavior and source
Equivalent checked unordered-list items should satisfy the check when they contain the exact required sentences. Alternatively, an intentionally dash-only format should be identified in the error so contributors can correct it.
At 701ec67, the matcher is:
line.trim().match(/^- \[[xX]\] (.+)$/)
It recognizes only the hyphen marker.
Validation limits
The local check ran the extracted workflow script unchanged in Node 25.2.0 on macOS, with filesystem reads and the process object replaced by fixtures. I did not open a test PR or run GitHub Actions. No .NET build was needed for this workflow-only case.
Full transparency: I work at Tessl, and we've spotted that using Tessl Code Review - using repository-level context and specific review lenses that improve over time through feedback. That’s how this finding surfaced.
We’re just getting started and want to offer the tool free to open-source projects. If this is useful, happy to give you access.
Baptiste
- Ngôn ngữ chính
- C#
- Star
- 4.9k
- Fork
- 497
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- 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 microsoft/fluentui-blazor
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
microsoft/fluentui-blazor#5688 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
microsoft/fluentui-blazor#5687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/fluentui-blazor#5684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FluentNumberInput ]: Screen reader does not announce the Spin Button role for the NumericType spin edit boxCó thể đã có người làm @vnbaaij đã nhận 4 ngày trước. Đang mởa11y A11yMAS A11ySev2 FluentUIBlazor_Web MAS4.1.2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/fluentui-blazor#5533 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoft/fluentui-blazor#5686 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/fluentui-blazor
Issue tương tự
-
OpenTelemetryChatClient records gen_ai.response.finish_reasons as a JSON string instead of string[]Đang mởarea-ai bug untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dotnet/extensions#7995 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore: remove stale IL3050/IL3053 workaround from the iOS sampleCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởState: Needs Discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
getsentry/sentry-dotnet#6071 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
:watch: Not Triaged dotnet-target-version
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
dotnet/docs-desktop#2313 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
dotnet-target-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
area/frontend type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
umbraco/Umbraco-CMS#24867 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày