Skip to content

chore: upgrade overlays - #662

Closed
shunkakinoki wants to merge 1 commit into
mainfrom
chore/upgrade-overlays
Closed

chore: upgrade overlays#662
shunkakinoki wants to merge 1 commit into
mainfrom
chore/upgrade-overlays

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jan 25, 2026

Copy link
Copy Markdown
Owner

Automated overlay upgrade


Summary by cubic

Upgraded Nix overlays to clawdbot v2026.1.23 by updating the source revision, app package URL, and hashes. This fixes the broken app package and aligns our build with the latest release.

Written for commit a4e9cc7. Summary will update on new commits.

Copilot AI review requested due to automatic review settings January 25, 2026 02:48
@mesa-dot-dev

mesa-dot-dev Bot commented Jan 25, 2026

Copy link
Copy Markdown

You do not have enough credits to review this pull request. Please purchase more credits to continue.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @shunkakinoki, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs an automated update of the clawdbot and clawdbot-app overlays. The primary goal is to bring these components to their latest stable version, ensuring that the system benefits from recent improvements and bug fixes. This update involves adjusting version numbers, source revisions, and cryptographic hashes within the Nix configuration.

Highlights

  • Dependency Upgrade: The clawdbot and clawdbot-app dependencies have been upgraded from version 2026.1.21 to 2026.1.23.
  • Hash and Revision Updates: The rev and hash values for clawdbotSourceOverride and clawdbotAppOverride have been updated to reflect the new version, ensuring integrity and correctness of the fetched packages.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mesa-dot-dev

mesa-dot-dev Bot commented Jan 25, 2026

Copy link
Copy Markdown

Mesa Description

TL;DR

Automated upgrade of Nix overlays.

What changed?

File summaries are not available, but the changes relate to an automated overlay upgrade.

Description generated by Mesa. Update settings

@coderabbitai

coderabbitai Bot commented Jan 25, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated clawdbot dependency from v2026.1.21 to v2026.1.23 with corresponding checksums and configuration updates across build and packaging workflows.

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

Bumps clawdbot version from v2026.1.21 to v2026.1.23 in the Nix overlay, updating corresponding source revision hashes and clawdbot-app metadata to match the new release. No control flow or functional changes.

Changes

Cohort / File(s) Summary
Version Updates
overlays/default.nix
Bumps clawdbot source from v2026.1.21 to v2026.1.23; updates source rev and hash. Updates clawdbot-app to v2026.1.23 with new URL and hash. Updates embedded clawdbotVersion string to match. pnpmDepsHash unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Possibly related PRs

Poem

🐰 A version hop, from .21 to .23,
Hashes updated, fresh as can be,
Clawdbot bounds forward with elegant grace,
No logic bent—just a new time and place! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore: upgrade overlays' is too vague and does not specify what was upgraded or which overlays were changed. Use a more specific title like 'chore: upgrade clawdbot to v2026.1.23' to clearly indicate what overlay and version were updated.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description is related to the changeset and provides context about upgrading Nix overlays to clawdbot v2026.1.23.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/upgrade-overlays

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.

@cubic-dev-ai cubic-dev-ai 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 issues found across 1 file

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request automates the upgrade of the clawdbot overlay. The changes correctly update the version numbers, revision, and hashes for the new version.

I have two main points of feedback:

  1. A potential issue with an unchanged pnpmDepsHash, which could lead to build failures.
  2. A suggestion to refactor the overlay file to reduce duplication and improve maintainability, which would also simplify the upgrade script.

Please see the detailed comments in the code.

Comment thread overlays/default.nix
hash = "sha256-IsTNC79KXKL7ByBh7zUmH6qXx0YFdiQ4a4TI40C53U8=";
rev = "c9e98376b3e5d3a2f3a1639be53bd850f6d3acbf";
hash = "sha256-egAHjt6CHz79fStSg42opVPHjquurAa6FcGpNkQ0UtA=";
pnpmDepsHash = "sha256-tGzKcCiZNlWlKMNNFmxcFpIvO92G9myhM+OYaGea4hw=";

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.

high

The rev for the clawdbot source has been updated, but the pnpmDepsHash remains unchanged. It is highly likely that pnpm-lock.yaml has changed between these versions, which would necessitate a new pnpmDepsHash. The current hash may be stale and could cause build failures for anyone without the old dependencies cached. Please verify and update this hash. The scripts/upgrade-overlays.sh script should be able to compute the correct hash.

Comment thread overlays/default.nix
Comment on lines +3 to 16
# Override clawdbot source to v2026.1.23
clawdbotSourceOverride = {
owner = "clawdbot";
repo = "clawdbot";
rev = "80c1edc3ff43b3bd3b7b545eed79f303d992f7dc";
hash = "sha256-IsTNC79KXKL7ByBh7zUmH6qXx0YFdiQ4a4TI40C53U8=";
rev = "c9e98376b3e5d3a2f3a1639be53bd850f6d3acbf";
hash = "sha256-egAHjt6CHz79fStSg42opVPHjquurAa6FcGpNkQ0UtA=";
pnpmDepsHash = "sha256-tGzKcCiZNlWlKMNNFmxcFpIvO92G9myhM+OYaGea4hw=";
};
# Override clawdbot-app to v2026.1.21 (fixes broken app package)
# Override clawdbot-app to v2026.1.23 (fixes broken app package)
clawdbotAppOverride = {
version = "2026.1.21";
url = "https://github.com/clawdbot/clawdbot/releases/download/v2026.1.21/Clawdbot-2026.1.21.zip";
hash = "sha256-EhGRakuN0dhEkXvrOd21t79odf4T2jY7oKFRubLqGbI=";
version = "2026.1.23";
url = "https://github.com/clawdbot/clawdbot/releases/download/v2026.1.23/Clawdbot-2026.1.23.zip";
hash = "sha256-HGN8yfDHkoP30YBk11U7kugE6RVkDs9oGwyUdLztToQ=";
};

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.

medium

There's significant duplication of the version string (2026.1.23) and related values. It appears in comments, clawdbotAppOverride, and again as clawdbotVersion on line 25. This makes version upgrades brittle, as evidenced by the multiple sed and awk commands in the upgrade-overlays.sh script.

To improve maintainability, consider defining the version and related hashes once in the top-level let block and referencing these variables throughout the file. This would make the code DRY and simplify future upgrades.

Copilot AI 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.

Pull request overview

This is an automated upgrade of the clawdbot overlay from version 2026.1.21 to version 2026.1.23.

Changes:

  • Updated clawdbot source override to version v2026.1.23 with new commit SHA and source hash
  • Updated clawdbot-app override to version 2026.1.23 with new download URL and hash
  • Updated clawdbotVersion variable throughout the file to maintain consistency

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

Comment thread overlays/default.nix
hash = "sha256-IsTNC79KXKL7ByBh7zUmH6qXx0YFdiQ4a4TI40C53U8=";
rev = "c9e98376b3e5d3a2f3a1639be53bd850f6d3acbf";
hash = "sha256-egAHjt6CHz79fStSg42opVPHjquurAa6FcGpNkQ0UtA=";
pnpmDepsHash = "sha256-tGzKcCiZNlWlKMNNFmxcFpIvO92G9myhM+OYaGea4hw=";

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

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

The pnpmDepsHash has not been updated as part of this version upgrade. According to the upgrade script (scripts/upgrade-overlays.sh lines 189-195), if the automated hash computation fails, it keeps the old value and warns that manual verification may be needed. Please verify that the pnpm dependencies genuinely haven't changed between v2026.1.21 and v2026.1.23, or update this hash if needed. An incorrect pnpmDepsHash could cause build failures or fetch incorrect dependencies.

Copilot uses AI. Check for mistakes.
@shunkakinoki
shunkakinoki deleted the chore/upgrade-overlays branch February 4, 2026 23:35
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