Skip to content

docs: allow bench-only backports to release - #7581

Merged
kixelated merged 1 commit into
mainfrom
docs/bench-only-backports
Nov 2, 2026
Merged

kixelated merged 1 commit into
mainfrom
docs/bench-only-backports

Conversation

@kixelated

@kixelated kixelated commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

AGENTS.md allowed touching release only to cut a release or backport a fix. So a benchmark added on main couldn't join a pairing against release until the next cut. The maintainer approved bench-only backports on 2026-11-01, in moq-dev/moq#7493: "I'm fine with bench only backports going forward".

  • AGENTS.md: release may also take a bench backport.
  • CONTRIBUTING.md (Releases) defines one: it carries only benchmarks and their harness (bench targets, bench-only dev-dependencies, bench/), and changes no shipped code. It shims locally any API release lacks, and keeps each case ID the same as on main so just bench origin/release pairs them. A case that measures code release lacks is left out and listed in the PR. Merging one makes release-plz propose patch bumps for the touched crates, as moq-dev/moq#6103 noted.

Review

Skipped the local quest review under the simple-review rule, because this PR touches only docs. The online reviewers cover it.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

`release` could only take a release cut or a fix backport, so a benchmark
added on `main` could not join a pairing against `release` until the next
cut. Allow bench-only backports: benchmarks and their harness, with no
shipped code changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 426daa54-5f30-4ffc-a5b2-f5d9d9de5cfa
Commits

Reviewing files that changed from the base of the PR and between bf4e726 and e36aede.

Files selected for processing: 2
  • AGENTS.md
  • CONTRIBUTING.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review by review (OpenAI)

Reviewed commit: e36aede6cc0d415ced0934743fe6e7b11701fa50

No actionable bugs found. The direction is appropriately narrow: permit benchmark-only backports while explicitly excluding shipped-code changes, preserving case IDs, and documenting omitted cases and release-plz consequences. Keeping the detailed policy in CONTRIBUTING.md avoids duplicating it in AGENTS.md. No API or wire changes.

Verification: static GitHub inspection of both changed documents and the surrounding benchmark/release guidance. Tests, builds, and benchmarks were not run.

(Written by GPT-6)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Docs-only policy update permitting bench-only backports onto release.

  • AGENTS.md: the Development rule now reads "cut a release, backport a fix, or backport benchmarks".
  • CONTRIBUTING.md: the Releases section defines a bench-only backport (benchmarks + harness only, no shipped code; local shims for APIs release lacks; case IDs kept identical to main so just bench origin/release pairs them; omitted cases listed in the PR; release-plz patch bumps).

Verified against the tree: just bench [BASE] exists (justfile:49), bench/ is the harness, and the practice is already established by the #6103 bench backport referenced in quest/m1/release-perf/README.md. The AGENTS.md and CONTRIBUTING.md wording is consistent, and the two-line change introduces no behavioral surface.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@kixelated
kixelated enabled auto-merge (squash) November 1, 2026 23:31
@kixelated
kixelated added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 0f27edb Nov 2, 2026
6 checks passed
@kixelated
kixelated deleted the docs/bench-only-backports branch November 2, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant