Skip to content

chore: bump rhiza template to v0.11.0#406

Merged
tschm merged 3 commits into
mainfrom
rhiza11
May 25, 2026
Merged

chore: bump rhiza template to v0.11.0#406
tschm merged 3 commits into
mainfrom
rhiza11

Conversation

@tschm
Copy link
Copy Markdown
Owner

@tschm tschm commented May 24, 2026

Summary

  • Bumps rhiza template to v0.11.0
  • Syncs template-managed files via make sync

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added support for customizing the GitHub Actions sync workflow schedule
  • Chores
    • Updated Rhiza to version 0.14.1
    • Updated template version to v0.11.0
    • Updated Docker login action to v4.2.0

Review Change Stack

Copilot AI review requested due to automatic review settings May 24, 2026 13:25
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Warning

Review limit reached

@tschm, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 1 review/hour. Refill in 44 minutes and 1 second.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, 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 trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9f76b7e4-678d-42a7-9ea9-67592a588aee

📥 Commits

Reviewing files that changed from the base of the PR and between c6773f7 and f759852.

📒 Files selected for processing (1)
  • .rhiza/template.yml
📝 Walkthrough

Walkthrough

This PR updates external tool versions and configuration pins, then adds a Makefile-based mechanism to override the GitHub Actions sync workflow's cron schedule via a configurable variable, enabling teams to customize sync timing without manual workflow file edits.

Changes

Dependency and Workflow Updates

Layer / File(s) Summary
Dependency and version updates
.github/workflows/rhiza_release.yml, .rhiza/.rhiza-version, .rhiza/template.yml
Docker login action patched to v4.2.0, Rhiza version pin updated to 0.14.1, and template branch updated to v0.11.0.
Sync schedule override feature
.rhiza/rhiza.mk
New RHIZA_SYNC_SCHEDULE variable defaults to 0 0 * * 1. The _apply-sync-schedule target conditionally patches .github/workflows/rhiza_sync.yml to replace the cron value when the variable differs from the default, and is invoked before post-sync in the sync target.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 A rabbit hops through versions neat,
Dependencies aligned so sweet.
New schedules bend to your command,
With Makefiles as your gentle hand!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the Rhiza template version to v0.11.0, which is reflected in the .rhiza/template.yml modification.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rhiza11

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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s Rhiza template reference to v0.11.0 and syncs template-managed metadata/configuration accordingly, including tooling and workflow dependencies.

Changes:

  • Bump Rhiza template reference from v0.10.9 to v0.11.0 (and update lock SHA/ref + sync timestamp).
  • Add a configurable RHIZA_SYNC_SCHEDULE override mechanism applied post-sync to .github/workflows/rhiza_sync.yml.
  • Update Rhiza tooling version and bump docker/login-action used in the release workflow.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.rhiza/template.yml Points the repo at Rhiza template branch v0.11.0.
.rhiza/template.lock Locks the template ref/SHA to v0.11.0 and records latest sync time.
.rhiza/rhiza.mk Adds RHIZA_SYNC_SCHEDULE and an internal target to rewrite the sync workflow cron after make sync.
.rhiza/.rhiza-version Updates the Rhiza tool version used by uvx rhiza>=... in workflows/Make targets.
.github/workflows/rhiza_release.yml Bumps docker/login-action patch/minor version for container registry login.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/rhiza_release.yml:
- Line 372: Replace the mutable tag reference "uses: docker/login-action@v4.2.0"
with a pinned commit SHA for docker/login-action (e.g., "uses:
docker/login-action@<full-commit-sha>"); to do this, look up the exact commit
SHA for the v4.2.0 release in the docker/login-action repository (or use the
latest secure commit you intend) and substitute that SHA so the workflow uses
the immutable ref instead of the tag.

In @.rhiza/rhiza.mk:
- Around line 111-115: The Make target _apply-sync-schedule uses a sed regex
that fails to match the YAML list-item shape (“- cron: '...'”); update the sed
substitution in _apply-sync-schedule so it accepts an optional leading list
marker (the hyphen plus optional whitespace), allows optional whitespace
before/after the cron key, and robustly handles single-quoted, double-quoted, or
unquoted cron scalars when replacing the schedule value (ensure the replacement
writes the new RHIZA_SYNC_SCHEDULE value back as a valid YAML scalar).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cf3a521f-044e-46c9-aef4-8fb69ebaab1e

📥 Commits

Reviewing files that changed from the base of the PR and between 32411cb and c6773f7.

⛔ Files ignored due to path filters (1)
  • .rhiza/template.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • .github/workflows/rhiza_release.yml
  • .rhiza/.rhiza-version
  • .rhiza/rhiza.mk
  • .rhiza/template.yml

- name: Login to Container Registry
if: steps.check_publish.outputs.should_publish == 'true'
uses: docker/login-action@v4.1.0
uses: docker/login-action@v4.2.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Pin docker/login-action to a full commit SHA, not a mutable tag.

Using @v4.2.0 violates the pinned-action policy and weakens supply-chain guarantees. Please pin to the exact commit digest for this release.

Suggested change
-        uses: docker/login-action@v4.2.0
+        uses: docker/login-action@<full_commit_sha_for_v4.2.0>
#!/bin/bash
# Read-only check for unpinned GitHub Actions references in workflows.
rg -nP '^\s*uses:\s*[^@]+@(?:v?\d+(?:\.\d+){0,2}|main|master)$' .github/workflows
🧰 Tools
🪛 zizmor (1.25.2)

[error] 372-372: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/rhiza_release.yml at line 372, Replace the mutable tag
reference "uses: docker/login-action@v4.2.0" with a pinned commit SHA for
docker/login-action (e.g., "uses: docker/login-action@<full-commit-sha>"); to do
this, look up the exact commit SHA for the v4.2.0 release in the
docker/login-action repository (or use the latest secure commit you intend) and
substitute that SHA so the workflow uses the immutable ref instead of the tag.

Comment thread .rhiza/rhiza.mk
Comment on lines +111 to +115
_apply-sync-schedule: ## (internal) apply RHIZA_SYNC_SCHEDULE override to GitHub Actions sync workflow
@if [ "$(RHIZA_SYNC_SCHEDULE)" != "0 0 * * 1" ] && [ -f .github/workflows/rhiza_sync.yml ]; then \
sed -i.bak "s|cron: '[^']*'|cron: '$(RHIZA_SYNC_SCHEDULE)'|" .github/workflows/rhiza_sync.yml && rm -f .github/workflows/rhiza_sync.yml.bak; \
printf "${BLUE}[INFO] Applied custom sync schedule: $(RHIZA_SYNC_SCHEDULE)${RESET}\n"; \
fi
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify current cron line style in workflow and whether current sed pattern can match it.
# Expected: cron line exists and uses single quotes if keeping current implementation.
if [ -f .github/workflows/rhiza_sync.yml ]; then
  rg -n 'cron:' .github/workflows/rhiza_sync.yml
else
  echo ".github/workflows/rhiza_sync.yml not found in this checkout"
fi

Repository: tschm/cs

Length of output: 99


Adjust cron substitution to match the current YAML list-item shape while improving quote/style robustness.

  • .github/workflows/rhiza_sync.yml currently contains - cron: '0 0 * * 1', so the existing sed replacement (cron: '[^']*') should apply today.
  • The proposed sed regex anchored to ^[[:space:]]*cron: would not match this line because it doesn’t allow the leading - list marker—if making this more resilient, include that prefix and handle single-quoted, double-quoted, and/or unquoted YAML scalars.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.rhiza/rhiza.mk around lines 111 - 115, The Make target _apply-sync-schedule
uses a sed regex that fails to match the YAML list-item shape (“- cron: '...'”);
update the sed substitution in _apply-sync-schedule so it accepts an optional
leading list marker (the hyphen plus optional whitespace), allows optional
whitespace before/after the cron key, and robustly handles single-quoted,
double-quoted, or unquoted cron scalars when replacing the schedule value
(ensure the replacement writes the new RHIZA_SYNC_SCHEDULE value back as a valid
YAML scalar).

@tschm tschm merged commit 4c62186 into main May 25, 2026
21 checks passed
@tschm tschm deleted the rhiza11 branch May 25, 2026 05:19
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