Skip to content

docs(agents): allow registry publishing as the one exception to the PlatformIO ban - #4447

Closed
zackees wants to merge 1 commit into
masterfrom
docs/allow-registry-publish-exception
Closed

zackees wants to merge 1 commit into
masterfrom
docs/allow-registry-publish-exception

Conversation

@zackees

@zackees zackees commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Maintainer decision: pio pkg publish is unbanned, so a release can reach the PlatformIO registry. That registry is at 3.10.3 while 3.10.5 is tagged and already in the Arduino index; there is no other way to publish to it.

CLAUDE.md now states the exception and its limits:

  • only the publish subcommand, only in the release workflow/script
  • no build, upload, test or monitor use — those stay on fbuild
  • the ban lint and the forbidden-command hook are unchanged and still block it everywhere; the PR that adds the publish step allowlists that one file, with a reason

Rules text only. No lint, hook or workflow change here — nothing uses the exception yet. ci/lint/banned_build_tools.py passes on this branch (CLAUDE.md is already an allowed path).

Context: release-process plan following #4442 / #4444.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated release workflow permissions to allow PlatformIO package publishing.
    • Continued restricting build, test, device, upload, and monitor commands in release workflows.

…latformIO ban

The PlatformIO registry can only be updated with the tool's publish
subcommand, and it has sat at 3.10.3 while 3.10.5 was released. Permit that
one subcommand in the release workflow only; builds, uploads and monitoring
stay on fbuild, and the lint and command hook keep blocking it elsewhere.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: d2407b10-bdb5-475d-b31e-9d1c01e83b3f

📥 Commits

Reviewing files that changed from the base of the PR and between 3d0dc9d and f7d8182.

📒 Files selected for processing (1)
  • CLAUDE.md

Included review availability: Your plan provides up to 8 included reviews per hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

The PlatformIO prohibition now permits only pio pkg publish in the release workflow or script. Other PlatformIO commands remain forbidden. Enforcement allowlists must target only that file and include a reason comment.

Changes

PlatformIO policy

Layer / File(s) Summary
Release publish exception
CLAUDE.md
The policy documents a release-only exception for pio pkg publish. Build, test, device, upload, and monitor commands remain prohibited. Lint and command-hook allowlists must target only the release file and include a reason comment.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the main change: allowing pio pkg publish as the sole exception to the PlatformIO prohibition.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@zackees

zackees commented Sep 19, 2026

Copy link
Copy Markdown
Member Author

Closing: the maintainer decided not to publish with a registry token. FastLED will keep relying on the registry's crawler, so the publish subcommand was removed from #4448 and this exception is not needed. The ban stays absolute.

@zackees zackees closed this Sep 19, 2026
@zackees
zackees deleted the docs/allow-registry-publish-exception branch September 19, 2026 01:58
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant