Skip to content

ci: allowlist ECMA-48 in the public-repo-hygiene caller - #261

Open
mattmillerai wants to merge 3 commits into
mainfrom
matt/hygiene-pin-and-ecma-allowlist
Open

ci: allowlist ECMA-48 in the public-repo-hygiene caller#261
mattmillerai wants to merge 3 commits into
mainfrom
matt/hygiene-pin-and-ecma-allowlist

Conversation

@mattmillerai

@mattmillerai mattmillerai commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

ELI5

This repo runs a shared "did anything internal leak into this public repo" scanner. It reads ECMA-48 (the terminal escape-code standard our ANSI parser cites in two comments) as an internal ticket number, because it has the same LETTERS-DIGITS shape. This tells the scanner that one token is a standards number, not a ticket. It is the last thing keeping the check red on main.

Motivation

hygiene / public-repo-hygiene has been red on main and on every PR since #254 — ci: adopt the shared public-repo-hygiene workflow merged on 2026-08-22. Seven findings: five were references to comfy-skills and workflow_templates that the checker's known-public allowlist gained the next day (Comfy-Org/github-workflows#212 — fix(public-repo-hygiene): allowlist six verified-public Comfy-Org repos), cleared by the pin bump in #260 — ci: bump public-repo-hygiene to github-workflows@a02bb3e. The remaining two are the ECMA-48 citations in src/comfy_mcp/clitext.py and tests/test_compat.py, which no built-in prefix (RFC/ISO/PEP/CVE) covers. Until they are allowlisted, every PR here, such as #253 — ci: bump cursor-review to github-workflows@27e23ac, carries a failing required-looking check that has to be overridden by hand.

Provenance

  • Authored by: interactive session
  • Verified: ran the checker script from Comfy-Org/github-workflows main against this branch with --ticket-allow ECMA-48: 0 findings. Control run without the flag: 4 findings, all ECMA-48 (the two source comments plus the two new lines in this caller). yaml.safe_load parses the caller and jobs.hygiene.with.workflows_ref equals the uses: SHA. This PR's own hygiene / public-repo-hygiene run passed before ci: bump public-repo-hygiene to github-workflows@a02bb3e #260 merged, when the branch also carried the pin bump. Not run: pytest and ruff, no Python changed.
  • Deviations: originally carried the pin bump as well; ci: bump public-repo-hygiene to github-workflows@a02bb3e #260 landed that half first, so origin/main was merged in and this PR now adds only the allowlist entry.

Reviewer context

Summary

  • Add ticket_allowlist: ECMA-48 to the caller's with: block, with a comment explaining why; the input is additive on top of the built-in allowlist and can only widen it

Test plan

  • hygiene / public-repo-hygiene is green on this PR
  • After merge, the scheduled/push run on main is green

The caller was pinned at 4df9bf6 since it landed, one day before the
checker's known-public allowlist gained comfy-skills and workflow_templates,
so every PR here failed on five references the current checker accepts. The
pin alone leaves two findings: ECMA-48, the ANSI escape standard cited in
clitext.py and test_compat.py, has the letters-digits shape the checker
treats as a ticket id and no built-in prefix covers it. Both changes are
needed for the check to pass; neither passes on its own.
@mattmillerai
mattmillerai requested a review from a team as a code owner August 26, 2026 07:35
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 38 minutes.

View limit details

Limit details: You’ve used the included review currently available. Your 123 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a3331ecd-e12c-4602-8009-5450a78a66ca

📥 Commits

Reviewing files that changed from the base of the PR and between f023c19 and b91de33.

📒 Files selected for processing (1)
  • .github/workflows/public-repo-hygiene.yml

Comment @coderabbitai help to get the list of available commands.

@mattmillerai mattmillerai added the cursor-review Request a Cursor review label Aug 26, 2026
@mattmillerai mattmillerai changed the title ci: bump public-repo-hygiene to a02bb3e and allowlist ECMA-48 ci: allowlist ECMA-48 in the public-repo-hygiene caller Aug 26, 2026
The pin bump landed separately in #260; this branch now carries only the
ticket_allowlist entry.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Cursor Review — Consolidated panel

Triggered by @mattmillerai.

Found 3 finding(s).

Severity Count
🟡 Medium 1
🟢 Low 2

Panel: 8/8 reviewers contributed findings.

Comment thread .github/workflows/public-repo-hygiene.yml
Comment thread .github/workflows/public-repo-hygiene.yml
Comment thread .github/workflows/public-repo-hygiene.yml
Review of the ECMA-48 allowlist entry flagged two misleading comments.
The header said "the allowlist is deliberately NOT an input" without
naming which one, which the new ticket_allowlist line made read as
false; it now says the known-public repo/team allowlist is the one that
is not an input, and describes the ticket allowlist for what it is: an
additive, category-1-only knob whose every entry sits in this file's
diff, so the diff review is the control the reusable's header asks for.
The entry's own comment now records that the value is matched as an
exact token (a bare ECMA prefix suppresses nothing, checked against the
checker at the pinned SHA) instead of the earlier "can only widen it"
wording that read as reassurance.

No behavior change: ticket_allowlist stays ECMA-48, the checker at the
pinned SHA still reports 0 findings on this tree.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cursor-review Request a Cursor review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant