Review report

core: PR #36673

1 minor finding · 1 suggestion

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.

Findings

Link

[minor] · Any matching issue can permanently suppress the certificate-expiry alert

Anyone can file and close an issue with the expected title to suppress future reminders; signing itself is unaffected, and expiry would then be discovered at signing time.

Location: .github/workflows/code-signing-certificate.yml:52 (head).

Details and suggested fix

The duplicate check matches any open or closed issue, regardless of author, whose title exactly matches the certificate’s notAfter date. For the checked-in leaf, that title is Windows code signing certificate expires May 31 23:59:59 2027 GMT. Because blank issues are enabled and authors can close their own issues, anyone can create a matching issue and close it, or maintainers may close it as spam. Every later run then reports “already reported” and exits successfully, including after expiry. This suppression lasts until the issue is deleted or retitled. Restrict the search to issues created by the workflow, using the verified author qualifier for issues created with its token. Closing a workflow-created alert can still acknowledge it.


Optional improvements

Link

[suggestion] · Closing the warning also suppresses an alert at expiry

If the warning issue is closed and renewal does not land, the workflow reports nothing at expiry because its duplicate check exits before computing the status.

Location: .github/workflows/code-signing-certificate.yml:50 (head).

Details and suggested fix

The warning and expired alert use the same title, based only on the certificate’s notAfter date. The lookup includes closed issues, and any match exits before STATUS is computed. For the current leaf, a warning would be filed around early March 2027; if it is closed without renewal, nothing alerts when the certificate expires on 2027-05-31, and the next Windows signing would reveal the problem. If closing the warning is not intended to acknowledge expiry as well, give the expired state a separate deduplication key, such as by including the status in the title. This retains one warning and allows a separate alert at expiry.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.