Skip to content

Bake the published public CI token - #43

Merged
mathiasgrimm merged 1 commit into
mainfrom
feat/bake-public-token
Jul 20, 2026
Merged

Bake the published public CI token#43
mathiasgrimm merged 1 commit into
mainfrom
feat/bake-public-token

Conversation

@mathiasgrimm

Copy link
Copy Markdown
Owner

What

  • Config::PUBLIC_TOKEN now carries the provisioned analyze-only token (id 4). It is public by design: the server enforces its scope (verified live: analyze 200; convert, user, usage all 403) and rate limits it per IP.
  • Test hygiene for a permanently baked token: the suite's beforeEach binds Config with the fallback off, so no test silently authenticates with the real token; the Config unit tests construct their instances the same way; a new test asserts the baked value looks like a Sanctum token whenever present.

make check-public-token (the release guard) now passes. 284 tests green.

After merge

make release cuts the release; suggested VERSION=v1.3.0 (the public-token fallback is additive; the namespace rename is internal). Packagist syncs automatically. From that moment, freshly scaffolded workflows and existing guard-less ones gate fork PRs for real.

🤖 Generated with Claude Code

Config::PUBLIC_TOKEN carries the provisioned analyze-only token
(public by design; the server enforces its scope). The test suite now
binds Config with the fallback off so no test silently rides the baked
token, and the Config unit tests construct it that way explicitly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mathiasgrimm
mathiasgrimm merged commit 6eb84bd into main Jul 20, 2026
5 checks passed
@mathiasgrimm
mathiasgrimm deleted the feat/bake-public-token branch August 4, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant