Skip to content

fix(cli): add repository field so provenance publish succeeds#48

Merged
betschki merged 1 commit into
mainfrom
fix/cli-package-repository-field
Jun 24, 2026
Merged

fix(cli): add repository field so provenance publish succeeds#48
betschki merged 1 commit into
mainfrom
fix/cli-package-repository-field

Conversation

@betschki

Copy link
Copy Markdown
Contributor

The v2.0.6 release workflow published config, core, and search-ui with provenance, then failed on cli:

npm error code E422
422 Unprocessable Entity ... Error verifying sigstore provenance bundle:
package.json: "repository.url" is "", expected to match
"https://github.com/magicpages/ghost-typesense" from provenance

apps/cli/package.json had no repository field, which provenance verification requires. (webhook-handler already has one — it just never got its turn after cli failed.)

This adds the repository field matching the other packages. After merge, re-cutting the v2.0.6 release will skip the three already-published packages and publish cli@2.0.6 + webhook@2.0.6 with valid provenance.

Publishing with provenance validates that package.json repository.url matches
the source repo. apps/cli had no repository field, so the trusted-publishing
release failed with E422 on cli (after config/core/search-ui had published).
Add the repository field matching the other packages.
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@betschki, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 22 minutes and 42 seconds. Learn how PR review limits work.

To continue reviewing without waiting, enable usage-based billing in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fcf2bd63-9908-4d99-bb5b-29fb93742576

📥 Commits

Reviewing files that changed from the base of the PR and between 4557416 and 6e6be03.

📒 Files selected for processing (1)
  • apps/cli/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/cli-package-repository-field

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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

@betschki betschki merged commit 05e1811 into main Jun 24, 2026
6 checks passed
@betschki betschki deleted the fix/cli-package-repository-field branch June 24, 2026 14:29
betschki added a commit that referenced this pull request Jun 24, 2026
fix(cli): add repository field so provenance publish succeeds
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