fix: checked task-list declarations using * or + fail the contribution check

Open Beginner friendly
#5,683 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github, github-actions, javascript, markdown

Research direction

Start with .github/workflows/ai-contribution-declaration.yml, where the issue identifies a matcher that accepts only - list markers. Compare its behavior with the provided * and + reproductions, then update the check so equivalent checked task-list items are accepted or the required format is clearly reported. Done means all three markers behave as intended for both declaration sentences.

Written by the indexing model from the issue text.

Description

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

Dominant language
C#
Stars
4.9k
Forks
497
Avg merge
1d 1h
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/fluentui-blazor

All issues in microsoft/fluentui-blazor

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.