Skip to content

[kilo] Switch from fork to upstream squat/kilo - #2259

Merged
Kirill Ilin (sircthulhu) merged 1 commit into
mainfrom
chore/kilo-switch-upstream
Mar 26, 2026
Merged

[kilo] Switch from fork to upstream squat/kilo#2259
Kirill Ilin (sircthulhu) merged 1 commit into
mainfrom
chore/kilo-switch-upstream

Conversation

@lexfrei

@lexfrei Aleksei Sviridkin (lexfrei) commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

What this PR does

Switch kilo from the cozystack/kilo fork to the upstream squat/kilo
repository (v0.7.0).

All functional patches from the fork have been upstreamed:

The fork only retained rebranding and CI-specific commits beyond
upstream, which are no longer needed.

Changes:

  • Makefile: point to squat/kilo repo and ghcr.io/squat/kilo image
  • values.yaml: updated via make update to 0.7.0 with digest pin

Release note

[kilo] Switch from cozystack/kilo fork to upstream squat/kilo v0.7.0

Summary by CodeRabbit

  • Updates
    • Updated the kilo component to use a different source repository and new version configuration.

All functional patches from the cozystack/kilo fork have been
upstreamed and included in squat/kilo v0.7.0:
- --internal-cidr flag (PR #403)
- allowed-location-ips overlap fix (PR #404)
- Auto-detect WireGuard MTU (PR #406)
- Preferred source for WireGuard routes (PR #408)
- Cilium IPIP overlay support (PR #409)

The fork only contained rebranding and CI-specific commits beyond
upstream, which are no longer needed.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
@coderabbitai

coderabbitai Bot commented Mar 23, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This change updates the Kilo networking component to reference the upstream squat/kilo GitHub repository instead of cozystack/kilo. The Makefile's update target and container image references are modified accordingly, along with updated image digest and tag in the Helm values configuration.

Changes

Cohort / File(s) Summary
Kilo source repository update
packages/system/kilo/Makefile, packages/system/kilo/values.yaml
Shifted Kilo component source from cozystack/kilo to upstream squat/kilo. Updated Docker image repository reference, Makefile version tag sourcing, and Helm values with new image tag (0.7.0) and digest.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 A hop toward upstream streams so clear,
Where Kilo flows from a source so dear,
From cozy stacks we gently part,
To squat's pure repo, straight from the heart,
New digests dance in values so bright,
Our network paths now feel just right! 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[kilo] Switch from fork to upstream squat/kilo' clearly and specifically summarizes the main change: migrating the kilo dependency from a cozystack fork to the upstream squat/kilo repository.
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
  • Commit unit tests in branch chore/kilo-switch-upstream

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.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, 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 modernizes the Kilo integration by transitioning from a custom fork to its official upstream repository. This change ensures that the project benefits from the latest upstream developments and maintenance, while also confirming that all previously custom-implemented functional patches are now part of the upstream version. The update includes adjusting build configurations and image references to align with the new upstream source and version.

Highlights

  • Upstream Migration: Switched the Kilo integration from the cozystack/kilo fork to the official squat/kilo upstream repository.
  • Version Update: Updated Kilo to version v0.7.0.
  • Functional Parity: Confirmed that all functional patches previously present in the cozystack/kilo fork have been upstreamed to squat/kilo.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

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 (@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 (@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.

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.

@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 switches the Kilo dependency from a fork to the upstream repository. The changes in the Makefile and values.yaml are correct and reflect this switch. I've found a small inconsistency in the update script in the Makefile, which could be improved for better maintainability. Otherwise, the changes look good.

tag=$$(git ls-remote --tags --sort="v:refname" https://github.com/cozystack/kilo | awk -F'[/^]' 'END{print $$3}') && \
digest=$$(skopeo inspect --override-os linux --override-arch amd64 --format '{{.Digest}}' docker://ghcr.io/cozystack/cozystack/kilo:amd64-$${tag}) && \
REPOSITORY="ghcr.io/cozystack/cozystack/kilo" \
tag=$$(git ls-remote --tags --sort="v:refname" https://github.com/squat/kilo | awk -F'[/^]' 'END{print $$3}') && \

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

The update script is inconsistent with the changes in values.yaml. The git ls-remote command will fetch a tag with a v prefix (e.g., v0.7.0), but the values.yaml file is updated with a tag that does not have the v prefix (0.7.0). To make the update script produce the correct tag consistent with values.yaml, you should strip the v prefix from the tag. This will ensure that running make update produces the expected result.

tag=$$(git ls-remote --tags --sort="v:refname" https://github.com/squat/kilo | awk -F'[/^]' 'END{print $$3}' | sed 's/^v//') && \

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Upstream squat/kilo tags do not use the v prefix — they are 0.7.0, 0.6.0, etc. We verified this by running make update which correctly produced 0.7.0 in values.yaml. No stripping needed.

@lexfrei
Aleksei Sviridkin (lexfrei) marked this pull request as ready for review March 23, 2026 12:58
@dosubot dosubot Bot added the size/S This PR changes 10-29 lines, ignoring generated files label Mar 23, 2026

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/system/kilo/Makefile`:
- Around line 8-10: The Makefile is referencing the wrong registry: update the
image registry from ghcr.io to docker.io where the REPOSITORY variable and the
skopeo docker URL are set (the lines computing tag and digest reference
docker://ghcr.io/squat/kilo and REPOSITORY="ghcr.io/squat/kilo"); change both
occurrences to docker.io/squat/kilo. Also update the matching registry entry in
values.yaml (the image repository value referenced on line 5) to
docker.io/squat/kilo so the update/inspect logic targets Docker Hub instead of
GHCR.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9afdeb13-c9b8-4892-bc38-524de2a2bcfd

📥 Commits

Reviewing files that changed from the base of the PR and between 3119be1 and b43b7b2.

📒 Files selected for processing (2)
  • packages/system/kilo/Makefile
  • packages/system/kilo/values.yaml

Comment thread packages/system/kilo/Makefile
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Mar 23, 2026
@sircthulhu
Kirill Ilin (sircthulhu) merged commit f13e68a into main Mar 26, 2026
14 of 15 checks passed
@sircthulhu
Kirill Ilin (sircthulhu) deleted the chore/kilo-switch-upstream branch March 26, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size/S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants