upgrade-deps
Skill2.9k starsChanged 6 days agoApache-2.0View on GitHub
Upgrade process-compose's Go version, Go module dependencies, golangci-lint, GitHub Actions pins (release versions and commit SHAs), Nix inputs and vendorHash, plus the docs and generated files that depend on them, then verify with race tests, lint, cross-OS builds and the Nix build. Use when asked to upgrade or bump Go, dependencies, linters, CI actions, nixpkgs or the vendor hash, or to "update everything".
We split this skill into the rules it gives an agent
14 rules. 0 are common, 2 are distinctive, and 12 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Run git status --short first.
- Distinctive: line 24
Do not commit. Finish with the report and proposed commit messages.
- Very specific: line 25
Never downgrade. Never move Go past what the whole chain supports: nixos-unstable must have go_1_N, and a golangci-lint release binary must …
- Very specific: line 79
Check the go line in go.mod afterwards.
- Very specific: line 98
If the build fails with hash mismatch ...
- Very specific: line 100
Leave the version attribute in default.nix alone.
- Very specific: line 108
Update both pins together: Makefile (golangci-lint@vX.Y.Z) and .github/workflows/go.yml (version: vX.Y.Z).
- Very specific: line 125
If every major is safe, pin-actions.sh --apply major.
- Very specific: line 129
Every uses: must be owner/repo@<40-char commit SHA> # vX.Y.Z.
- Distinctive: line 134
Check the workflows still parse:
- Very specific: line 138
Run the changed workflows with act (Docker), in the background, a few minutes each:
- Very specific: line 145
Never run stale.yml, or docs.yml as push, under act: they act on the real repository (labelling and closing issues, mkdocs gh-deploy …
- Very specific: line 188
When a test fails, check whether it already failed before the upgrade before blaming it: add a worktree at HEAD in the scratchpad, run the …
- Very specific: line 208
Stale vendorHash fails without a hash mismatch: If go.sum changes but vendorHash does not, Nix reuses the module set cached under the old …
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Upgrade dependencies and toolchain
Scope: $ARGUMENTS. Empty or all runs every section. Otherwise run the named sections, plus
Survey and Report, which always run. Regenerate (7) and Verify (8) run whenever go.mod or go.sum
changed; an actions-only run verifies with the checks at the end of section 6 instead. A Go
version in the arguments (e.g. 1.28) replaces "latest" as the target. A Go bump always pulls in
the Nix and golangci-lint sections, because both must support the new version.
Scripts live in .claude/skills/upgrade-deps/scripts/. Run everything from the repo root.
Ground rules
- Run
git status --shortfirst. If files this run will change are already modified (go.mod, go.sum, default.nix, flake.lock forgo,depsandnix;.github/workflows/foractions), stop and ask.vendorHashcouplesgo.sumtodefault.nix, so uncommitted work mixed in makes the result impossible to commit in parts. Dirty files elsewhere are fine; mention them in the report. - Do not commit. Finish with the report and proposed commit messages.
- Never downgrade. Never move Go past what the whole chain supports: nixos-unstable must have
go_1_N, and a golangci-lint release binary must be built with go1.N or newer. If a link lags, stop at the highest version every link supports and report what blocks the rest. - Fix code for API changes and deprecations; do not silence them with lint exclusions or
//nolint.
1. Survey (read-only)
.claude/skills/upgrade-deps/scripts/versions.sh
.claude/skills/upgrade-deps/scripts/pin-actions.shversions.sh prints every place the Go version is pinned, what nixpkgs offers, which Go built the
pinned and latest golangci-lint binaries, and direct Go deps with updates. pin-actions.sh lists
every workflow action with its current, latest-in-major and latest release. Delete any bin/
tool it warns about (rm -f bin/<tool>), whatever the scope. Show the user a from → to table of
what will move, with MAJOR rows called out, then continue.
2. Go version (go)
Target: the version from the arguments, else the minor of the latest Go release. Check the gate
first (rows in versions.sh): nixos-unstable go_1_N is not missing, and some golangci-lint
release is built with go1.N or newer. If either fails, do not bump; report it.
| File | Change |
go.mod | go mod edit -go=1.N (bare MAJOR.MINOR, see gotchas) |
.github/workflows/go.yml | go-version: 1.N; quote it when the minor ends in 0 ("1.30"), or YAML reads 1.3 |
default.nix | pkgs.go_1_N |
www/docs/contributing.md | Go 1.N+ |
Then look for stragglers of the old version and judge each hit:
git grep -nwF '1.<old minor>' -- ':!go.sum' ':!flake.lock' ':!schemas' ':!src/docs' ':!*.svg'Then delete the cached tool binaries. The Makefile installs them only when missing (test -s),
so ones built by an older Go silently stay and break (see gotchas):
rm -f bin/golangci-lint bin/swag2op3. Go dependencies (deps)
go get -u -t ./...
go mod tidy- For every MAJOR row from
versions.sh(in practice v0 → v1, whichgo get -utakes without asking), read the release notes between the two versions and fix compile errors and API changes. - Check the
goline in go.mod afterwards. Ifgo getraised it to a patch form (go 1.27.0), rungo mod edit -go=1.N && go mod tidy. If tidy raises it again, a dependency requires the patch form; makeshell.nixmap MAJOR.MINOR instead of leaving the dev shell broken:goVersion = builtins.elemAt (pkgs.lib.splitString " " goLine) 1; go = pkgs."go_${pkgs.lib.versions.major goVersion}_${pkgs.lib.versions.minor goVersion}"; - The repo has no
toolchainline. Ifgo getadded one, remove it:go mod edit -toolchain=none.
4. Nix (nix, and after any go.mod/go.sum change)
nix flake update # nixpkgs and flake-utils
make nix-update-hash # vendorHash from go.sum (vendors into a temp dir)
make build-nix # full build, runs go test (doCheck = true)
go version result/bin/process-compose # must print go1.N.x
nix develop -c go version # shell.nix must resolve the same Go- If the build fails with
hash mismatch ... got: sha256-..., localgo mod vendordiffered from Nix's. Put thegot:value invendorHashand rebuild. - Leave the
versionattribute indefault.nixalone. It is the release version (make nixver). - Debug log lines mentioning
/homeless-shelterduringmake build-nixare sandbox noise.
5. golangci-lint (lint, and after a Go bump)
- Choose the newest release whose binary is built with go.mod's Go or newer (
versions.sh, "latest release built with"). CI'sgolangci-lint-actiondownloads that prebuilt binary, so the binary's Go is what counts, not the module'sgodirective. - Update both pins together:
Makefile(golangci-lint@vX.Y.Z) and.github/workflows/go.yml(version: vX.Y.Z). rm -f bin/golangci-lint && make lint. Fix findings in code.- Act on deprecation warnings about
.golangci.yaml(e.g. a linter replaced by a_v2one) by applying the suggested configuration, then./bin/golangci-lint config verify -c .golangci.yaml.
6. GitHub Actions (actions)
.claude/skills/upgrade-deps/scripts/check-inputs.py # baseline: inputs valid at current pins
.claude/skills/upgrade-deps/scripts/pin-actions.sh --apply minor # newest release within each current major- For each MAJOR row, read the release notes from the current version to the latest
(
gh release list -R owner/repo,gh release view vX.Y.Z -R owner/repo). Look for Node runtime bumps, removed or renamed inputs, and changed defaults (caching, credential persistence). Adjust the step'swith:inputs to match. - If every major is safe,
pin-actions.sh --apply major. Otherwise, after--apply minor, edit the accepted majors by hand. Resolve the SHA withgit ls-remote --tags https://github.com/owner/repo 'vX.Y.Z*'and take the^{}line when present: an annotated tag's own SHA is a tag object, not a commit. - Every
uses:must beowner/repo@<40-char commit SHA> # vX.Y.Z. Re-runpin-actions.shand confirm nothing saysnot SHA-pinned. - Re-run
check-inputs.py. Everywith:key must still be declared by the action at the new pin, and no required input may be missing. Release notes do not reliably mention removed inputs, and GitHub only warns about unknown ones at run time. - Check the workflows still parse:
python3 -c 'import sys, yaml; [yaml.safe_load(open(f)) for f in sys.argv[1:]]' .github/workflows/*.yml - Run the changed workflows with
act(Docker), in the background, a few minutes each:act push -W .github/workflows/go.yml -j build --matrix os:ubuntu-latest act push -W .github/workflows/rust.yml -j build act pull_request -W .github/workflows/docs.yml -j deploy # pull_request only builds the site act push -W .github/workflows/nix.yml -j build- Never run
stale.yml, ordocs.ymlaspush, under act: they act on the real repository (labelling and closing issues,mkdocs gh-deploy --force). - nix.yml's
Nix buildstep always fails under act withhome directory '/homeless-shelter' exists(Nix runs unsandboxed in the container). The pre-upgrade pins fail the same way, so only theInstall NixandNix versionsteps count;make build-nixcovers the build. - act runs the local tree in place of this repo's
actions/checkout, so a checkout bump is only exercised for real on GitHub. - The docs job's
actions/cachepost step warns that.cachedoes not exist. That predates any upgrade.
- Never run
7. Regenerate generated files (always)
Library bumps change generated output: invopop/jsonschema the schema, cobra the CLI docs, the
API annotations and parser the OpenAPI spec. On an unchanged tree these targets reproduce the
committed files exactly, so any diff here comes from the upgrade.
make build schema docs swag
git diff --stat schemas www/docs/cli src/docs- Review the diff and keep it when the upgrade explains it. If it doesn't (for example swag2op,
installed
@latest, changed its output format), report it and leave the decision to the user. crates/clientembedssrc/docs/swagger.jsonandschemas/process-compose-schema.json. If either changed andcargois installed, runcd crates/client && cargo build --release --all-features. Without cargo, say the Rust client is unverified (rust.yml only builds default features).
8. Verify (always; every command must pass)
go build ./... && go vet ./...
GOOS=windows go vet ./... && GOOS=darwin go vet ./... # CI matrix OSes, test files included
make compile # release targets, incl. 386 and arm
make testrace # ~1-2 min, run in the background
make lint
make build-nix && go version result/bin/process-compose
nix develop -c go versionOptional and slow: make github-workflows runs go.yml (ubuntu) and nix.yml locally with act
(needs Docker). Its nix.yml half cannot pass under act; see the act notes in section 6.
When a test fails, check whether it already failed before the upgrade before blaming it: add a
worktree at HEAD in the scratchpad, run the same test there, then git worktree remove it.
9. Report
- Table: component, old → new (Go, each direct dep that moved, golangci-lint, each action, nixpkgs).
- Each verification command and its result. Name what could not be verified locally: Windows and macOS test runs, the real Actions runners, the Rust client without cargo.
- Anything blocked (nixpkgs or golangci-lint lagging a Go release), skipped (majors not taken), or left for the user (unexplained regen churn).
- Proposed commits, not made.
vendorHashties go.mod/go.sum todefault.nix, andgo_1_Ntiesdefault.nixtoflake.lock, so those always land together:chore: upgrade Go to 1.N and update dependencies: go.mod, go.sum, default.nix, flake.lock, go.ymlgo-version, docs, regenerated files, code fixes.chore: bump golangci-lint to vX.Y.Z: Makefile, go.ymlversion,.golangci.yaml, lint fixes. Fold into 1 when the Go bump needed the newer linter, or CI lint fails between them.ci: update GitHub Actions: theuses:lines and anywith:changes.
Gotchas (each one has bitten this repo)
- Stale vendorHash fails without a hash mismatch. If go.sum changes but
vendorHashdoes not, Nix reuses the module set cached under the old hash and fails withinconsistent vendoring ... is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod. Fix:make nix-update-hash. - The go.mod
goline must staygo 1.N.shell.nixturns line 3 of go.mod into a nixpkgs attribute, sogo 1.27.0becomespkgs.go_1_27_0, which does not exist.go get -uwrites the patch form whenever a dependency requires it. go 1.Nmakes GOTOOLCHAIN=auto download go1.N.0, not the latest patch. CI (setup-go) and Nix use the latest patch. That is expected, not a mismatch to fix.- Cached tool binaries break after a Go bump. golangci-lint refuses a module targeting a newer
Go than the one it was built with (
can't load config: the Go language version (go1.X) used to build golangci-lint is lower than the targeted Go version (1.Y)). swag2op built by an older Go cannot parse the new stdlib (method must have no type parametersinmath/rand/v2). Both survive because oftest -sin the Makefile: delete them. - Lagging upstreams. nixpkgs and golangci-lint can trail a Go release by days or weeks. The Nix job or CI lint goes red if go.mod moves first.
Trending
Less talk lately.about the whole repository
Who's talking about F1bonacc1/process-compose
- MightyMoud/sidekick“Allow deployments with docker-compose, process-compose, services-flakes”GitHub · Jan 28, 2025 · 8 reactions
- pvolok/dekit“Dependencies between processes”GitHub · Feb 25, 2025 · 7 reactions
- NixOS/nixpkgs“process-compose: 1.64.1 -> 1.73.0”GitHub · Aug 11, 2025 · 3 reactions
- @pesterhazy.bsky.social“I'm a big fan of github.com/mklement0/ttab and github.com/F1bonacc1/pr... to cut down the complexity”Bluesky · Dec 12, 2024 · 3 likes
- A Hacker News story“Process Compose: flexible scheduler to manage non-containerized apps”Hacker News · Apr 28, 2024 · 3 points
The biggest 5 of 64 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 64
Talked about on GitHub, Hacker News, Bluesky and Stack Overflow (64 times).
On GitHub · 50
- Jan 28, 2025Allow deployments with docker-compose, process-compose, services-flakes — MightyMoud/sidekick8 reactions
- Feb 25, 2025Dependencies between processes — pvolok/dekit7 reactions · 8 comments
- Aug 11, 2025process-compose: 1.64.1 -> 1.73.0 — NixOS/nixpkgs3 reactions · 12 comments
- Jul 18, 2025Process compose hanging socket on unclean exit — cachix/devenv2 reactions · 6 comments
- Apr 9, 2025Use task and process compose — nats-tower/nats-tower2 reactions · 4 comments
45 more on GitHub
- Oct 27, 2026process-compose 1.124.0 — chenrui333/homebrew-tap1 reaction · 1 comment
- Aug 18, 2026process-compose 1.122.0 — chenrui333/homebrew-tap1 reaction
- Jul 11, 2026process-compose 1.120.0 — chenrui333/homebrew-tap1 reaction
- Jun 19, 2026process-compose 1.116.0 — chenrui333/homebrew-tap1 reaction
- Jun 17, 2026process-compose: 1.110.0 -> 1.116.0 — NixOS/nixpkgs1 reaction · 2 comments
- May 1, 2026process-compose 1.110.0 — chenrui333/homebrew-tap1 reaction
- Nov 22, 2025Process manager — user0608/pb_launcher1 reaction · 2 comments
- Nov 6, 2025process-compose: 1.76.0 -> 1.76.1 — NixOS/nixpkgs1 reaction
- May 6, 2025process-compose: 1.46.0 -> 1.63.0 — NixOS/nixpkgs1 reaction
- Mar 8, 2025Use process-compose too — albersola/airo1 reaction · 1 comment
- Jul 26, 2024process-compose: 1.6.1 -> 1.9.0 — NixOS/nixpkgs1 reaction · 1 comment
- Jul 19, 2024Add process-compose — rothgar/awesome-tuis1 reaction
- Apr 12, 2024Add Unix Domain Socket support for Process Compose — Platonic-Systems/process-compose-flake1 reaction · 1 comment
- Feb 22, 2024JSON config — Platonic-Systems/process-compose-flake1 reaction
- Jul 18, 2023Dockerfile error on amd64 server architecture — formancehq/stack1 reaction · 3 comments
- Dec 18, 2022Integrate into devenv.sh? — totten/loco1 reaction
- Oct 23, 2026chore(deps): update Go module dependencies — jetify-com/devbox0 reactions · 1 comment
- Oct 22, 2026Add winter-service-process-compose service provider — paul-gross/winter0 reactions · 1 comment
- Oct 5, 2026Security triage review: 2026-10-05 (part 7/10) — flatcar/security-triage0 reactions · 1 comment
- Oct 1, 2026Security triage review: 2026-10-01 (part 6/7) — flatcar/security-triage0 reactions · 1 comment
- Sep 29, 2026chore(deps): bump github.com/f1bonacc1/process-compose from 1.116.0 to 1.120.0 — frikke/devbox0 reactions · 2 comments
- Sep 19, 2026Process Compose: Browser DNS rebinding lets websites control local process-compose MCP tools — NixOS/nixpkgs0 reactions
- Sep 18, 2026x/vulndb: potential Go vuln in github.com/f1bonacc1/process-compose: GHSA-5gm3-9crp-6g3v — golang/vulndb0 reactions · 1 comment
- Sep 18, 2026Bump the go_modules group across 1 directory with 3 updates — TylerStilwagen/devbox0 reactions
- Sep 18, 2026chore(deps): bump github.com/f1bonacc1/process-compose from 1.64.1 to 1.120.0 in the go_modules group across 1 directory — SherfeyInv/devbox0 reactions · 2 comments
- Aug 29, 2026pentest CI failure: transient curl reset in workspace image build masks itself in reporting steps — mcdonc/klangk0 reactions · 2 comments
- Aug 22, 2026deps(deps): bump github.com/f1bonacc1/process-compose from 1.110.0 to 1.122.0 — friday-platform/friday-studio0 reactions · 1 comment
- Aug 21, 2026do you have promts to try to generate adapter for https://github.com/sandboxie-plus/Sandboxie starter on windows? — tta-lab/temenos0 reactions
- Aug 18, 2026process-compose: 1.120.0 -> 1.122.0 — NixOS/nixpkgs0 reactions · 2 comments
- Aug 3, 2026fix: remove 'keep-project' as its not provided on all levels of `process-compose` — Platonic-Systems/process-compose-flake0 reactions · 5 comments
- Jul 18, 2026deps(deps): bump github.com/f1bonacc1/process-compose from 1.110.0 to 1.120.0 — friday-platform/friday-studio0 reactions · 2 comments
- Jul 11, 2026process-compose: 1.116.0 -> 1.120.0 — NixOS/nixpkgs0 reactions
- Jul 10, 2026chore: bump process-compose from v1.110.0 to v1.116.0 (#2915) — jetify-com/devbox0 reactions
- Jun 20, 2026deps(deps): bump github.com/f1bonacc1/process-compose from 1.110.0 to 1.116.0 — friday-platform/friday-studio0 reactions · 2 comments
- Jun 8, 2026[Request]: process-compose — ScoopInstaller/Extras0 reactions · 2 comments
- May 18, 2026feat: process-compose monitoring for `WaitTill` — sdsc-ordes/quitsh0 reactions · 1 comment
- May 2, 2026deps(deps): bump github.com/f1bonacc1/process-compose from 1.103.0 to 1.110.0 — friday-platform/friday-studio0 reactions · 1 comment
- May 2, 2026process-compose: 1.103.0 -> 1.110.0 — NixOS/nixpkgs0 reactions · 2 comments
- Apr 4, 2026chore(deps): update process-compose to v1.103.0 — uniget-org/tools0 reactions · 3 comments
- Apr 3, 2026process-compose 1.103.0 — chenrui333/homebrew-tap0 reactions
- Mar 20, 2026process-compose: 1.94.0 -> 1.103.0 — NixOS/nixpkgs0 reactions · 1 comment
- Mar 20, 2026chore(deps): update dependency f1bonacc1/process-compose to v1.100.0 — uniget-org/tools0 reactions · 3 comments
- Mar 20, 2026process-compose 1.100.0 — chenrui333/homebrew-tap0 reactions
- Feb 22, 2026chore(deps): update dependency f1bonacc1/process-compose to v1.94.0 — uniget-org/tools0 reactions · 3 comments
- Feb 22, 2026process-compose: 1.90.0 -> 1.94.0 — NixOS/nixpkgs0 reactions · 2 comments
On Hacker News · 7
- Apr 28, 2024Process Compose: flexible scheduler to manage non-containerized apps3 points
- Nov 26, 2023Process Compose: scheduler/orchestrator for non-containerized applications3 points
- Feb 8, 2025Process-Compose a flexible orchestrator to manage non-containerized application2 points
- Mar 7, 2025Process Compose: manage non-containerized applications1 point
- Oct 19, 2022Lightweight, Single Process PM2 Alternative1 point · 1 comment
2 more on Hacker News
- Aug 30, 2022Show HN: I've built processes orchestrator, with UI, in a single executable file1 point
- Jun 13, 2022If Docker-compose and K9S had a baby (without the containers gene)1 point
On Bluesky · 6
- Dec 12, 2024I'm a big fan of github.com/mklement0/ttab and github.com/F1bonacc1/pr... to cut down the complexity — @pesterhazy.bsky.social3 likes and reposts · 1 reply
- Nov 11, 2024This is how everyone on the @loopback.works dev team gets their own public URL that forwards requests to their localhost. It's part of… — @mikenikles.com2 likes and reposts
- May 14, 2026Hi @hynek.me 👋🏻 I learnt about mprocs from you some time ago, and I like it so far, but I was wondering whether you also evaluated… — @sang.io1 likes and repost · 1 reply
- Feb 15, 2026"process-compose" by Eugene Berger github.com/F1bonacc1/pr... — @mccricardo.bsky.social1 likes and repost
- Nov 20, 2024Hello ! You could have a look at process compose : github.com/F1bonacc1/pr... — @mvion.fr1 likes and repost · 1 reply
1 more on Bluesky
- May 19, 2026#🔖テクノロジー GitHub - F1bonacc1/process-compose: Process Compose is a simple and flexible scheduler and orchestrator to manage… — @hatena-bookmark.bsky.social0 likes and reposts · 1 reply
On Stack Overflow · 1
- Nov 29, 2023(Python) Process Launcher for development purposes1 vote
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- inclusionAI/AReaL★ 5.9ksame name
- areal-project/AReaL★ 5.8ksame name
- line/armeria★ 5.1ksame name
- sorayuki/obs-multi-rtmp★ 5.1ksame name
- argos-ci/argos★ 641same name
- sebyx07/ruby2html★ 23same name
- dennisrongo/claude-skills★ 1same name
- rpraharaj/ai-engineer★ 1same name
- ypxing/coding-crew★ 1same name
- quietmachineworks/qmw★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use create-pr and review-pr.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 3 projects that use this
DockerSkillreview-pr
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.
Also in 3 projects that use this
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

