Skip to content

ci: release weekly instead of daily - #1811

Merged
jdx merged 1 commit into
mainfrom
claude/weekly-release-cadence
Nov 3, 2026
Merged

jdx merged 1 commit into
mainfrom
claude/weekly-release-cadence

Conversation

@jdx

@jdx jdx commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

hk currently cuts a release almost every other day: the auto-merge-release workflow runs daily and merges the release PR once the last release is 2 days old and a fix/feat commit is pending. This makes it weekly, so users get fewer, larger releases.

  • cron: 0 10 * * * → 0 10 * * 1 (Mondays, 10:00 UTC)
  • minimum age of the latest release: 2 days → 6 days
  • comments and log messages say "weekly"

Manual workflow_dispatch still skips the cadence guards, so an urgent fix can be released immediately.

🤖 Generated with Claude Code

AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: claude-code_2-1-309_agent.


Note

Low Risk
Only GitHub Actions release timing and guard thresholds change; no application or runtime behavior is affected.

Overview
The auto-merge-release workflow now runs on a weekly cadence instead of every day, so release PRs are merged less often and ship larger batches of changes.

The schedule moves from daily at 10:00 UTC to Mondays only (0 10 * * 1). Scheduled runs also require the latest v* tag to be at least 6 days old (was 2 days) before auto-merge proceeds; log text reflects the weekly window. Manual workflow_dispatch is unchanged and still skips the age/commit guards for urgent releases.

Reviewed by Cursor Bugbot for commit bcb726a. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Chores
    • Automated release checks now run weekly on Mondays at 10:00.
    • Scheduled checks wait until the latest release tag is at least six days old before proceeding.

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

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The release auto-merge workflow now runs on Mondays at 10:00. It skips auto-merging when the latest release tag is less than six days old and describes the readiness window as weekly.

Changes: Release auto-merge schedule

Layer / File(s) Summary
Schedule and release readiness
.github/workflows/auto-merge-release.yml
The workflow runs on Mondays at 10:00. It waits until the latest release tag is at least six days old and refers to a weekly release window.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: greptile-apps

Merge Risk: Minimal · up to bcb72

The weekly release cadence matches the stated goal. No actionable merge-blocking risk is identified; merge after normal checks pass.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "ci: release weekly instead of daily" matches the main change. The auto-merge-release workflow moves from a daily schedule to Mondays at 10:00, and the minimum release age rises from two to …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "ci: release weekly instead of daily" matches the main change. The auto-merge-release workflow moves from a daily schedule to Mondays at 10:00, and the minimum release age rises from two to six days. The title omits the six-day threshold, which is a secondary detail.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between d2d7bf6 and bcb726a.

Files selected for processing: 1
  • .github/workflows/auto-merge-release.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Changes automatic release merging to Mondays at 10:00 UTC.

  • Scheduled release runs now check for merges once a week.

No actionable issues found.

Reviews (1) · Last reviewed commit: "ci: release weekly instead of daily" · Reviewed by Greptile

@jdx
jdx enabled auto-merge (squash) November 3, 2026 18:21
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Instruction counts

benchmark trend instructions Δ wall (min) Δ
builtins ▇▇▇▇▆███▁▁▁▁▁▁▁▁▁█ 1,971,085 → 1,978,469 +0.37% 3.10 → 3.07ms -1.25%
check — — — 19.59 → 20.72ms +5.76%
config-cold █████████▇▇▇▆▆▆▆▄▁ 66,611,184 → 66,517,691 -0.14% 20.70 → 20.60ms -0.45%
stash ▁▁▁▁▁▇▇▇▇▇▇▇▇▇▇▇▇█ 60,841,480 → 61,603,100 +1.25% ⚠️ 294.67 → 298.09ms +1.16%
usage █████████▆▆▆▇▆▇▆▇▁ 4,399,963 → 4,372,028 -0.63% 4.73 → 5.04ms +6.62%
validate — — — 13.70 → 13.36ms -2.49%

1 benchmark(s) above the 1% gate: stash +1.25%

Only instruction counts gate. Wall clock is shown for context — on identical hardware it moves 4-20% run to run.

Measured by tak — instruction-counted CLI benchmarks, stored in this repository's git notes.

bcb726a04591 vs d2d7bf6833cb · measured on the runner, not pushed to the history.

@jdx
jdx merged commit d1e0e43 into main Nov 3, 2026
30 of 32 checks passed
@jdx
jdx deleted the claude/weekly-release-cadence branch November 3, 2026 18:45
@jdx jdx mentioned this pull request Nov 3, 2026
jdx added a commit that referenced this pull request Nov 9, 2026
### 🚀 Features

- **(builtins)** validate conventional commit scopes by
[@jonahsnider](https://github.com/jonahsnider) in
[#1817](#1817)

### 🐛 Bug Fixes

- **(hook)** report the signal when a run is stopped by SIGTERM or
SIGHUP by [@jdx](https://github.com/jdx) in
[#1814](#1814)
- **(install)** install script shims with --legacy when hooks are
configured globally by [@jdx](https://github.com/jdx) in
[#1828](#1828)

### 🛡️ Security

- **(deps)** update github actions by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1820](#1820)

### 🔍 Other Changes

- release weekly instead of daily by [@jdx](https://github.com/jdx) in
[#1811](#1811)

### 📦️ Dependency Updates

- update rust crate usage-rs to v7.2.0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1810](#1810)
- update rust crate usage-rs to v7.3.0 by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1818](#1818)
- update mise tools by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1821](#1821)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1822](#1822)
- lock file maintenance by
[@renovate[bot]](https://github.com/renovate[bot]) in
[#1823](#1823)

### New Contributors

- @jonahsnider made their first contribution in
[#1817](#1817)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> This diff is a version and docs alignment release cut; functional risk
is in the already-merged hook, install, and builtin changes users get
when they upgrade to 2.12.0.
> 
> **Overview**
> **Release v2.12.0** bumps the crate and CLI metadata from `2.11.1` to
`2.12.0` and adds the corresponding **CHANGELOG** entry. Documentation,
generated CLI metadata, and every example `hk.pkl` / package `amends`
URL now point at the **v2.12.0** Pkl release artifacts.
> 
> Shipped in this release (already landed on the branch; this PR is the
version cut):
> 
> - **Builtins:** optional **conventional-commit scope** allowlists via
`allowed_scopes` on `Builtins.check_conventional_commit`.
> - **Hooks:** clearer reporting when a run is stopped by **SIGTERM** or
**SIGHUP**.
> - **Install:** global hook setup uses **`--legacy` shim installation**
when needed for older Git / global hook layouts.
> - **Process:** releases move from **daily to weekly**; routine
**dependency / lockfile** and **GitHub Actions** updates.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
6951502. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: mise-en-dev <123107610+mise-en-dev@users.noreply.github.com>
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