Skip to content

chore: re-sync Cargo.toml with crates.io + use PUBLISH_PRIVATE_KEY#210

Merged
thedavidmeister merged 2 commits into
mainfrom
2026-05-12-fix-float-version-drift-2
May 12, 2026
Merged

chore: re-sync Cargo.toml with crates.io + use PUBLISH_PRIVATE_KEY#210
thedavidmeister merged 2 commits into
mainfrom
2026-05-12-fix-float-version-drift-2

Conversation

@thedavidmeister
Copy link
Copy Markdown
Contributor

Summary

`rain-math-float 0.1.1-alpha.2` was published to crates.io by the Cargo Crate Release workflow after #208 landed, but the post-publish push of the version-bump commit was rejected by branch protection:

remote: error: GH013: Repository rule violations found for refs/heads/main.
! [remote rejected] main -> main (push declined due to repository rule violations)

The npm release workflow uses `PUBLISH_PRIVATE_KEY` (the deploy key configured with bypass). My workflow used `PUBLISHER_SSH_KEY` (copied from rain.wasm) which doesn't have bypass on this repo.

  • Swap `PUBLISHER_SSH_KEY` → `PUBLISH_PRIVATE_KEY` in cargo-publish.yaml.
  • Bump `crates/float/Cargo.toml` to `0.1.1-alpha.2` to re-sync main with crates.io.

Test plan

  • After merge, the cargo-publish workflow's hash-skip should not re-publish (Cargo.toml content matches the latest published metadata).
  • Next meaningful change triggers `0.1.1-alpha.3` and the version-bump commit lands cleanly via the bypass key.

Generated with Claude Code.

rain-math-float 0.1.1-alpha.2 was published to crates.io by the
Cargo Crate Release workflow after #208 landed, but the post-publish
push of the version-bump commit was rejected by branch protection:
"remote: error: GH013: Repository rule violations found for
refs/heads/main." The npm release workflow uses PUBLISH_PRIVATE_KEY
which is the deploy key configured with the bypass; my workflow was
using PUBLISHER_SSH_KEY (copied from rain.wasm) which doesn't have
bypass on this repo.

Swap the SSH key secret in cargo-publish.yaml to match npm release.
Bump crates/float/Cargo.toml to 0.1.1-alpha.2 to re-sync with
crates.io so cargo-release computes the next bump from the right
baseline (0.1.1-alpha.3).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@thedavidmeister thedavidmeister self-assigned this May 12, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Warning

Rate limit exceeded

@thedavidmeister has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minute and 19 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 732f1a2e-e94a-48dd-b76f-5818eb715641

📥 Commits

Reviewing files that changed from the base of the PR and between 6368545 and 6671d58.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • .github/workflows/cargo-publish.yaml
  • crates/float/Cargo.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-05-12-fix-float-version-drift-2

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.

@thedavidmeister thedavidmeister merged commit 402039e into main May 12, 2026
10 checks passed
@github-actions
Copy link
Copy Markdown

@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment:

S/M/L PR Classification Guidelines:

This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed.

Small (S)

Characteristics:

  • Simple bug fixes, typos, or minor refactoring
  • Single-purpose changes affecting 1-2 files
  • Documentation updates
  • Configuration tweaks
  • Changes that require minimal context to review

Review Effort: Would have taken 5-10 minutes

Examples:

  • Fix typo in variable name
  • Update README with new instructions
  • Adjust configuration values
  • Simple one-line bug fixes
  • Import statement cleanup

Medium (M)

Characteristics:

  • Feature additions or enhancements
  • Refactoring that touches multiple files but maintains existing behavior
  • Breaking changes with backward compatibility
  • Changes requiring some domain knowledge to review

Review Effort: Would have taken 15-30 minutes

Examples:

  • Add new feature or component
  • Refactor common utility functions
  • Update dependencies with minor breaking changes
  • Add new component with tests
  • Performance optimizations
  • More complex bug fixes

Large (L)

Characteristics:

  • Major feature implementations
  • Breaking changes or API redesigns
  • Complex refactoring across multiple modules
  • New architectural patterns or significant design changes
  • Changes requiring deep context and multiple review rounds

Review Effort: Would have taken 45+ minutes

Examples:

  • Complete new feature with frontend/backend changes
  • Protocol upgrades or breaking changes
  • Major architectural refactoring
  • Framework or technology upgrades

Additional Factors to Consider

When deciding between sizes, also consider:

  • Test coverage impact: More comprehensive test changes lean toward larger classification
  • Risk level: Changes to critical systems bump up a size category
  • Team familiarity: Novel patterns or technologies increase complexity

Notes:

  • the assessment must be for the totality of the PR, that means comparing the base branch to the last commit of the PR
  • the assessment output must be exactly one of: S, M or L (single-line comment) in format of: SIZE={S/M/L}
  • do not include any additional text, only the size classification
  • your assessment comment must not include tips or additional sections
  • do NOT tag me or anyone else on your comment

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