Skip to content

ci(cli): simplify dev version format#45

Merged
luanvdw merged 1 commit into
mainfrom
ops/cli-dev-version-format
May 27, 2026
Merged

ci(cli): simplify dev version format#45
luanvdw merged 1 commit into
mainfrom
ops/cli-dev-version-format

Conversation

@luanvdw
Copy link
Copy Markdown
Member

@luanvdw luanvdw commented May 27, 2026

Summary

  • change dev publish versions from 3.0.0-dev.<run_number>.<run_attempt>.sha<short_sha> to 3.0.0-dev.<run_number>.<run_attempt>
  • remove the unused SHA argument from the main dev publish workflow
  • document that commit traceability comes from npm provenance and the GitHub Actions run

Why

Dev versions should stay easy to read before the first official beta release. We still keep immutable package versions, while source traceability lives in provenance and Actions metadata.

Validation

  • pnpm --filter @prisma/cli exec vitest run tests/resolve-cli-version.test.ts
  • workflow YAML parse for .github/workflows/publish-cli.yml
  • node scripts/resolve-cli-version.mjs dev --run-number 31 --run-attempt 1
  • git diff --check

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

Warning

Review limit reached

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

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

Your organization has run out of usage credits. Purchase more 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.

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 configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c0e717d9-4009-47af-84a6-89e8eadf275c

📥 Commits

Reviewing files that changed from the base of the PR and between dd35c23 and 515ccdf.

📒 Files selected for processing (6)
  • .github/workflows/publish-cli.yml
  • CONTRIBUTING.md
  • README.md
  • docs/architecture/adrs/0001-preview-package-and-publishing.md
  • packages/cli/tests/resolve-cli-version.test.ts
  • scripts/resolve-cli-version.mjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ops/cli-dev-version-format
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch ops/cli-dev-version-format

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 and usage tips.

@luanvdw luanvdw merged commit 31a41f6 into main May 27, 2026
5 checks passed
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