Skip to content

Conversation

@travisdowns
Copy link
Member

Add a Claude Code skill command to automate updating the Seastar submodule SHA to the latest commit from the v26.1.x branch. This provides a simple /update-seastar-sha command that handles fetching, updating, building, and committing the change.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v25.3.x
  • v25.2.x
  • v25.1.x

Release Notes

  • none

Copilot AI review requested due to automatic review settings January 30, 2026 13:59
Copy link
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

This PR adds a Claude Code skill command that automates the process of updating the Seastar submodule dependency to the latest commit from the v26.1.x branch. The command simplifies what is currently a manual multi-step process into a single /update-seastar-sha invocation.

Changes:

  • Adds a new Claude Code skill command file with detailed instructions for automating Seastar SHA updates
  • Includes steps for fetching the latest commit, updating build files, verifying the build, and creating a PR
  • Provides error handling guidance and example output

Copy link
Member

@StephanDollberg StephanDollberg left a comment

Choose a reason for hiding this comment

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

Surely this can be replaced with a 10 line bash script?

@travisdowns
Copy link
Member Author

Surely this can be replaced with a 10 line bash script?

Maybe 15 lines 😉, but skills are nice as you can chain them together, you get the oversight of the agent and small errors go unpunished.

Copy link
Member

@StephanDollberg StephanDollberg left a comment

Choose a reason for hiding this comment

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

I mean it feels a bit backwards that you now have to pay money to run the most basic commands on your own machine.

```bash
gh api repos/redpanda-data/seastar/commits/v26.1.x --jq '.sha'
```
Store this as `NEW_SHA`.
Copy link
Member

Choose a reason for hiding this comment

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

When I first read this I thought things like NEW_SHA were files, and that this was too prescriptive. That is, Claude should perform better with declarative instructions.

But now I'm curious: is this like using a virtual storage location of sorts?

Copy link
Member Author

Choose a reason for hiding this comment

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

I am not sure (since claude also wrote this file), but I did test it and it worked. The way I did it was to work though a PR workflow without any skill, then when it worked, got claude to go back and record the steps it uses for next time as a skill.

I know you can actually do direct substitution in these files, like this though this isn't that.

I did find some references that specifically "store this as" will put the value into long term memory, depending on the context (e.g., into MCP's external memory).

@dotnwat
Copy link
Member

dotnwat commented Jan 30, 2026

I mean it feels a bit backwards that you now have to pay money to run the most basic commands on your own machine.

oh but it is only a few dozen orders of magnitude difference in cost between this and the money you were already paying for in form of energy for a non-idle CPU and bash script lol

@travisdowns travisdowns marked this pull request as draft February 3, 2026 14:38
@travisdowns
Copy link
Member Author

Drafting this while I consider a script instead.

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.

3 participants