Repository navigation
feat: default activation to prod api.skillbench.ai; v0.14.0 (SBEE-148) - #71
Conversation
The published plugin serves real users, so the activation default points at the prod control plane. Replaces the legacy api.meter.skillbench.com bootstrap host. Dev/local still override via SKILLMETER_ACTIVATE_URL or the activate_url setting. Ingest is already JWT-telemetry_endpoint-claim-driven; client_id unchanged.
|
Warning Review limit reached
More reviews will be available in 52 minutes and 50 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe default license activation endpoint ( ChangesActivation Endpoint Migration and Release
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skillmeter/scripts/lib/license-activation.js`:
- Around line 18-21: The DEFAULT_ACTIVATE_URL constant in the
license-activation.js file has been updated to
https://api.skillbench.ai/activate, but the referenced documentation in
skillmeter/README.md has not been provided in this review. Per guidelines, since
the referenced file content was not included, ensure that the code change is
complete in the current file; however, note that corresponding documentation
updates will need to be addressed separately to keep user-facing configuration
guidance in sync with the runtime default.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: ea18a3b8-1aea-4747-8582-06c25f09be9a
📒 Files selected for processing (2)
skillmeter/.claude-plugin/plugin.jsonskillmeter/scripts/lib/license-activation.js
…nch.ai (SBEE-148) Addresses CodeRabbit: keep user-facing config guidance in step with the runtime DEFAULT_ACTIVATE_URL change.
What
Repoints the published Claude Code plugin's activation default to the prod control plane (SBEE-148, client half).
lib/license-activation.js:DEFAULT_ACTIVATE_URLhttps://api.meter.skillbench.com/activate(legacy bootstrap host, outside skillbench-infra) →https://api.skillbench.ai/activate(prod)..claude-plugin/plugin.json:0.13.4→0.14.0.Why this is the only change
lib/jwt.js:getEndpointFromToken→transfer.js), so once activation returns a prod JWT, transcripts auto-route to that tenant's{slug}.meter.skillbench.ai— no hardcoded ingest host to change.signin.js):Ov23ct…is the existing device-flow OAuth App the clients already embed; making the clients use a per-env app is deferred to the dev-environment-migration epic (seeskillbench-infradocs/guides/data-plane-secrets.md).SKILLMETER_ACTIVATE_URLor theskillmeter.activate_urlsetting (unchanged).After merge
Marketplace publish (v0.14.0) → users get prod activation on next Claude Code session. End-to-end transcript verification is SBEE-131.
Summary by CodeRabbit