Skip to content

chore: repin centralized stubs to next ring channel (#870) - #923

Merged
don-petry merged 3 commits into
mainfrom
chore/ring-repin-next
Jun 25, 2026
Merged

don-petry merged 3 commits into
mainfrom
chore/ring-repin-next

Conversation

@don-petry

Copy link
Copy Markdown
Collaborator

Repins this repo's #482 reusable caller stubs onto the canary-ring <name>/next channels (epic #495).

The next channels were cut at the currently-running proven version (376a4fcb), so this is a zero-behavior-change repin — promotion to newer code is a separate soak-gated step. The ring-aware audit (petry-projects/.github#529, merged) already accepts these channels, so dev-lead remediation will not revert them (#482 lesson).

Refs #870

🤖 Generated with Claude Code

Move this repo's 6 #482 reusable caller stubs from their pre-ring pins
(@stable / @v1 / @v2 / SHA) onto the canary-ring `<name>/next` channels
(epic #495). The next channels were cut at the currently-running proven
version (376a4fcb), so this is a zero-behavior-change repin — promotion to
newer code is a separate soak-gated step.

The ring-aware compliance audit (petry-projects/.github#529) already accepts
these channels, so dev-lead remediation will not revert them (#482 lesson).

Refs #870
@don-petry
don-petry requested a review from a team as a code owner June 25, 2026 03:00
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@don-petry

Copy link
Copy Markdown
Collaborator Author

@donpetry-bot please review

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

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

More reviews will be available in 27 minutes and 41 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 @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: ASSERTIVE

Plan: Pro

Run ID: e0ebc3fa-3c97-473d-bc1a-ed94a569a034

📥 Commits

Reviewing files that changed from the base of the PR and between 598af55 and 28c25ea.

📒 Files selected for processing (9)
  • .github/workflows/agent-shield.yml
  • .github/workflows/auto-rebase.yml
  • .github/workflows/dependabot-automerge.yml
  • .github/workflows/dependency-audit.yml
  • .github/workflows/pr-review-mention.yml
  • .github/workflows/test-dev-lead.yml
  • tests/dev-lead/integration/test_auto_rebase_stub.py
  • tests/dev-lead/integration/test_dependency_audit_stub.py
  • tests/test_dependabot.bats
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ring-repin-next

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.

@donpetry-bot

Copy link
Copy Markdown
Contributor

@don-petry I'm on it — starting a fresh review now. Results will appear in a few minutes.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (applied)

Changes committed and pushed.

@don-petry
don-petry enabled auto-merge (squash) June 25, 2026 03:05
@don-petry
don-petry disabled auto-merge June 25, 2026 03:06
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) June 25, 2026 03:07
dev-lead's auto-remediation (7dc7c16) partly reverted this PR: it correctly
moved the dependency-audit test to @dependency-audit/next but "fixed" the
auto-rebase-stub failure by reverting auto-rebase.yml back to @auto-rebase/stable
instead of updating the test — the #482 revert-collision pattern. This restores
the intended next-channel repin and updates the remaining guards:

- .github/workflows/auto-rebase.yml — re-pin @auto-rebase/next.
- tests/dev-lead/integration/test_auto_rebase_stub.py — EXPECTED_REF
  @auto-rebase/stable → @auto-rebase/next.
- .github/workflows/test-dev-lead.yml — auto-rebase-stub step name → /next.
- tests/test_dependabot.bats — assert dependabot-automerge/next and reject any
  off-channel pin (vN / SHA / stable / ringN).

dev-lead's dependency-audit/next changes are kept as-is. All five .github-private
reusable stubs are now on their <name>/next channels; the ring-aware compliance
audit (petry-projects/.github#529) accepts them.

Refs #870
@don-petry
don-petry disabled auto-merge June 25, 2026 03:17
@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) June 25, 2026 03:17
@sonarqubecloud

Copy link
Copy Markdown

@donpetry-bot

Copy link
Copy Markdown
Contributor

Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-06-25T04:18:11Z.

@don-petry
don-petry disabled auto-merge June 25, 2026 03:18
@don-petry

Copy link
Copy Markdown
Collaborator Author

@donpetry-bot please review — repin completed; stub-pin guards updated to the next channel and all checks green.

@donpetry-bot

Copy link
Copy Markdown
Contributor

@don-petry I'm on it — starting a fresh review now. Results will appear in a few minutes.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — fix-bot-comment (no-changes)

Agent reasoning
Issues addressed: 0
- Quality gate passed (no action required)
Files changed: none
Skipped (informational): 0
```

@don-petry
don-petry enabled auto-merge (squash) June 25, 2026 03:18

@donpetry-bot donpetry-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.

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: 28c25eaa370a41d544d2d08a7d8feaf5db241a99
Review mode: triage-approved (single reviewer)

Summary

Zero-behavior-change repin of 5 first-party reusable caller stubs (agent-shield, auto-rebase, dependabot-automerge, dependency-audit, pr-review-mention) from pre-ring pins (@v1/@v2/@stable/SHA) onto their /next ring channels (epic #495, #870), with matching stub-pin guard tests updated. Channels were cut at the running proven version 376a4fc, so no code promotion occurs here.

Linked issue analysis

No closing-issue link (Refs #870, epic #495 — intentionally a ref, not a fix). The PR substantively performs the next-channel repin described: every stub and its guard test is moved consistently, and AGENTS.md §'Release channel tags & the mutable-ref exception' (lines 158-183) explicitly sanctions these mutable channel tags on first-party callers and instructs audits NOT to flag them as unpinned.

Findings

No blocking issues.

  • Standards: moving from SHA/@vn to @/next is the documented, sanctioned version-selection mechanism for first-party reusables (AGENTS.md mutable-ref exception; ring-aware audit petry-projects/.github#529). Not a supply-chain smell — the release-channel-tags ruleset restricts who can move these tags.
  • Consistency: all 5 workflow uses: refs, plus test_auto_rebase_stub.py (EXPECTED_REF), test_dependency_audit_stub.py (EXPECTED_USES), test_dependabot.bats (channel + tightened off-channel rejection regex), and test-dev-lead.yml step names are aligned to /next.
  • Secret scan: no credential-like content in the diff (only uses: refs and test strings); CI gitleaks check passed.
  • Nit (non-blocking): PR body says '6 stubs' while the final commit and diff cover 5 — a doc count discrepancy only.

CI status

All required checks green: CodeQL (actions+python), Secret scan (gitleaks), shellcheck, bats, unit-tests, validate-fixtures, stub-structure, auto-rebase-stub, dependency-audit-stub, SonarCloud (quality gate passed), CodeRabbit status SUCCESS. Only expected SKIPs (dependabot audit ecosystem jobs, dev-lead ci-relay). mergeStateStatus BLOCKED reflects the pending org-leads review requirement, not a failing check.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

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.

2 participants