dep-upgrade
Skill2.3k starsChanged 5 months agoApache-2.0View on GitHub
This skill provides a comprehensive, step-by-step workflow for Antigravity agents to identify, upgrade, and verify external dependencies and Go toolchain versions in the GCSFuse repository, specifically targeting the remediation of CVEs and security vulnerabilities. The user initiates this skill by providing one of the following inputs: Before executing any dependency upgrades, identify the target versions and evaluate them for major breaking changes. * Major Version Check Rule: If the proposed upgrade involves a major version change (e.g., upgrading github.com/pkg/errors from…
- Installs packages
Trending
Quiet since September.about the whole repository
Who's talking about GoogleCloudPlatform/gcsfuse
- A Hacker News story“Gcsfuse: A user-space file system for interacting with Google Cloud Storage”Hacker News · Sep 6, 2023 · 152 points
- GoogleCloudPlatform/gcs-fuse-csi-driver“Built-in health check for GCS-FUSE-CSI-DRIVER”GitHub · May 15, 2024 · 5 reactions
- ondrajz/go-callvis“Got error running go-callvis on github.com/googlecloudplatform/gcsfuse”GitHub · Nov 21, 2023 · 3 reactions
- jacobsa/fuse“Operations frequently canceled when accessing a `gcsfuse` mount with a Go application”GitHub · May 26, 2022 · 3 reactions
- ofek/csi-gcs“Support max-retry-sleep gcsfuse flag”GitHub · Feb 23, 2021 · 3 reactions
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub, Hacker News and Bluesky (24 times).
On GitHub · 20
- May 15, 2024Built-in health check for GCS-FUSE-CSI-DRIVER — GoogleCloudPlatform/gcs-fuse-csi-driver5 reactions · 1 comment
- Nov 21, 2023Got error running go-callvis on github.com/googlecloudplatform/gcsfuse — ondrajz/go-callvis3 reactions · 8 comments
- May 26, 2022Operations frequently canceled when accessing a `gcsfuse` mount with a Go application — jacobsa/fuse3 reactions · 2 comments
- Feb 23, 2021Support max-retry-sleep gcsfuse flag — ofek/csi-gcs3 reactions · 4 comments
- Sep 17, 2026Enable gRPC by default via --enable-grpc-by-default and sidecar passthrough — GoogleCloudPlatform/gcs-fuse-csi-driver1 reaction · 4 comments
15 more on GitHub
- Aug 11, 2026Bump gcsfuse to v2.5.4-gke.4 to FIX CVEs — GoogleCloudPlatform/gcs-fuse-csi-driver1 reaction · 2 comments
- May 20, 2026update GCSFuse binary to 3.8.2 — GoogleCloudPlatform/gcs-fuse-csi-driver1 reaction · 2 comments
- Apr 27, 2026Add GCSFUSE_PR_NUMBER to support testing against a specific gcsfuse PR — GoogleCloudPlatform/gcs-fuse-csi-driversays it tested it1 reaction · 5 comments
- Sep 4, 2022Directories missing in GCS file_mounts — skypilot-org/skypilot1 reaction · 6 comments
- Feb 22, 2021Switch to specific gcsfuse tag — ofek/csi-gcs1 reaction · 4 comments
- Feb 21, 2019GCS connector sends a high volume of ListObjects requests, triggering GCS 429 throttling error — GoogleCloudDataproc/hadoop-connectors1 reaction · 13 comments
- Jul 9, 2018Mount GCE VM filesytems to GCS buckets — cloudyr/googleComputeEngineR1 reaction · 8 comments
- Feb 24, 2017Build fails when cross compiling for armv7 — kahing/goofys1 reaction · 2 comments
- Sep 2, 2026gcsfuse-mac 3.8.4 — gromgit/homebrew-fuse0 reactions
- Jul 24, 2026gcsfuse-mac 3.11.2 — gromgit/homebrew-fuse0 reactions
- Apr 4, 2024gcsfuse v2.0 — DataBiosphere/dsub0 reactions · 1 comment
- May 23, 2023Retracting go module is not working — arungudelli/Retract-Go-Module-Versions0 reactions
- Dec 31, 2021I have been playing with gcsfuse for today I haven't been able to get it to run on my mac. I have installed view brew and followed the instructions and get the following: — lucyt245/HTML-refresh0 reactions · 1 comment
- Aug 10, 2018google drive fuse — mahmoudimus/remote-box0 reactions
- Nov 16, 2016Add rate limiting feature — ovh/svfs0 reactions · 1 comment
On Hacker News · 2
- Sep 6, 2023Gcsfuse: A user-space file system for interacting with Google Cloud Storage152 points · 71 comments
- May 6, 2015Gcsfuse1 point
On Bluesky · 2
- Sep 10, 2023Google Cloud Storage(GCS)のバケットをLinux上でマウントするためのツール。FUSEを利用。Go実装。 — @matsuu.bsky.social1 likes and repost
- Apr 19, 2025this one: github.com/GoogleCloudP... ? — @handle.invalid0 likes and reposts · 1 reply
In this repository4 other files it gives its agents.
- buildSkill
- gcsfuse-integration-testingSkill
- pull-requestSkill
- ssh-connection-managementSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 15 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
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 20
If the bug mentions Go standard library vulnerabilities (e.g., Found in: net/http@go1.26.2, Fixed in: net/http@go1.26.3), identify the new …
- Distinctive: line 27
Before executing any dependency upgrades, identify the target versions and evaluate them for major breaking changes.
- Distinctive: line 30
Default Target: Always aim to upgrade dependencies to their latest stable version.
- Very specific: line 47
If the proposed upgrade involves a major version change (e.g., upgrading github.com/pkg/errors from v0.9.1 to v2.0.0, or any package whose …
- Distinctive: line 50
Ask for permission: before proceeding.
- Distinctive: line 51
Do NOT proceed with the upgrade unless the user explicitly approves.
- Very specific: line 54
If the proposed target version is lower/older than the current version in go.mod:
- Distinctive: line 57
Ask for permission: Do NOT proceed with a downgrade unless the user explicitly instructs or approves it.
- Very specific: line 59
If the upgrade to the latest version is a minor or patch version change (e.g., v1.2.0 to v1.3.5) and is a strictly higher version, proceed …
- Distinctive: line 68
Focus on Direct Dependencies: Only upgrade direct dependencies directly.
- Distinctive: line 69
Lock Version Precisely: Do not use wildcard upgrades if a specific fixed version is known.
- Distinctive: line 75
If you are asked to upgrade all or general dependencies, run the following command to upgrade only the direct dependencies to their latest …
- Distinctive: line 85
If you are asked to upgrade specific dependencies:
- Very specific: line 86
Run the go get command for the target package(s) and its direct dependencies:
- Distinctive: line 107
Verify the latest stable version of Go via the web search tool or Go's official download site before finalizing the target version.
- Distinctive: line 112
Every single reference to the Go compiler in main builder images, packaging Dockerfiles, presubmit checks, performance suites, and CD …
- Very specific: line 115
Look at the .go-version file in the root directory, or the go directive in go.mod (e.g., go 1.26.3) to identify the old Go version string.
- Very specific: line 123
Search the codebase using grep to find all instances of the old Go version string (e.g., 1.26.3):
- Very specific: line 133
Mandatory Action: Ensure this file contains the exact target Go version (e.g., 1.26.3).
- Very specific: line 135
Mandatory Action: Ensure the go directive matches the exact patch-level version string (e.g., go 1.26.3).
- Very specific: line 154
Update every file identified in Step 3, substituting the old Go version with the new exact target Go version.
- Very specific: line 157
Run go mod tidy to ensure go.mod and go.sum are consistent and fully synchronized.
- Distinctive: line 163
After upgrading dependencies and/or the Go toolchain, verify the integrity and safety of the changes.
- Distinctive: line 166
Verify that the entire codebase builds cleanly with no compile-time regressions:
- Very specific: line 172
Verify that all active CVEs are completely cleared.
- Distinctive: line 184
If the utility is available, run the scan:
- Distinctive: line 191
Verify that the test suite passes successfully with the upgraded dependencies:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GCSFuse Dependency Upgrading Skill
This skill provides a comprehensive, step-by-step workflow for Antigravity agents to identify, upgrade, and verify external dependencies and Go toolchain versions in the GCSFuse repository, specifically targeting the remediation of CVEs and security vulnerabilities.
1. Parsing Input & Discovering Vulnerabilities
The user initiates this skill by providing one of the following inputs:
Input Option A: Specific Dependencies to Upgrade
- The user explicitly specifies the module(s) and/or Go version to upgrade (e.g., "Upgrade
google.golang.org/protobufto latest", "Upgrade Go to 1.27.0"). - Identify the exact module path(s) and target version(s).
Input Option B: Bug / Vulnerability Reference
- The user specifies a bug reference, issue ID, or CVE ID (e.g., "Fix security issues mentioned in b/123456" or "Fix CVE-2026-12345").
- Workflow for Option B:
- Retrieve the full details of the issue, bug description, or external CVE details.
- Analyze the issue content or logs to find the vulnerable dependencies (e.g.,
golang.org/x/netbeforev0.17.0) or Go standard library vulnerabilities. - If the bug mentions Go standard library vulnerabilities (e.g.,
Found in: net/http@go1.26.2,Fixed in: net/http@go1.26.3), identify the new target Go compiler version. - Produce a list of target packages and their minimum safe versions.
2. Querying Versions & Major Upgrade Safety Checks
Before executing any dependency upgrades, identify the target versions and evaluate them for major breaking changes.
Core Directive
- Default Target: Always aim to upgrade dependencies to their latest stable version.
- Upgrade Limit: You may automatically upgrade dependencies to their latest minor or patch versions (e.g.,
v1.2.0->v1.5.3). However, if upgrading to the latest stable version requires a major version change, you must halt and ask the user for permission (as detailed in Step 2).
Step 1: Query Available Versions
List all available stable versions of the target Go module to find the latest stable release:
go list -m -versions <module_path>Example:
go list -m -versions go.opentelemetry.io/otel/sdkStep 2: Version Comparison & Safety Checks
Compare the current version of the dependency in go.mod against the proposed target/latest version.
- Major Version Check Rule:
If the proposed upgrade involves a major version change (e.g., upgrading
github.com/pkg/errorsfromv0.9.1tov2.0.0, or any package whose import path or major version number increments):- Stop immediately.
- Alert the user: Notify them that a major version upgrade is breaking, will require changing module import paths in
.gofiles, and could introduce API incompatibilities. - Ask for permission before proceeding.
- Do NOT proceed with the upgrade unless the user explicitly approves.
- No Downgrades Rule:
If the proposed target version is lower/older than the current version in
go.mod:- Stop immediately.
- Alert the user: Notify them that the target version represents a downgrade (e.g., going from
v1.5.0tov1.3.0). - Ask for permission: Do NOT proceed with a downgrade unless the user explicitly instructs or approves it.
- If the upgrade to the latest version is a minor or patch version change (e.g.,
v1.2.0tov1.3.5) and is a strictly higher version, proceed automatically.
3. Dependency Upgrade Workflow
To upgrade standard Go modules (non-toolchain libraries):
Guidelines
- Focus on Direct Dependencies: Only upgrade direct dependencies directly. Do not manually upgrade indirect dependencies unless the corresponding direct dependency is also being upgraded. Let
go mod tidyresolve and update indirect dependencies automatically based on the upgraded direct dependencies. - Lock Version Precisely: Do not use wildcard upgrades if a specific fixed version is known.
- Upgrade Co-dependencies (Peer Packages): Upgrading a core library (like
go.opentelemetry.io/otel/sdk) often requires upgrading peer packages (likego.opentelemetry.io/otelor contribution/instrumentation packages likeotelhttp) to the same version to prevent Skew/API conflicts.
Commands
Case A: Upgrading All/General Dependencies
If you are asked to upgrade all or general dependencies, run the following command to upgrade only the direct dependencies to their latest minor/patch versions:
go get $(go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -m all)Then, run go mod tidy to let Go resolve and update the indirect dependencies and clean up go.mod and go.sum:
go mod tidyCase B: Upgrading Specific Dependencies
If you are asked to upgrade specific dependencies:
- Run the
go getcommand for the target package(s) and its direct dependencies:go get <module_path>@<target_version> [peer_package]@[target_version] ... - Tidy up the module definition files (
go.modandgo.sum):go mod tidy
4. Go Toolchain & Standard Library Upgrades
Standard library vulnerabilities (e.g., in net/http or html/template) cannot be patched via go get. They require upgrading the Go toolchain/compiler version itself across the entire repository.
Core Directives for Go Version Upgrades
- Target Go Version Rule:
- Default Target: When upgrading the Go compiler/toolchain (whether for standard library CVE fixes, general feature upgrades, or dependency requirements), always upgrade to the latest stable available version of Golang, unless a specific target version is explicitly requested by the user or hardcoded in the bug description.
[!IMPORTANT]
If the upgrade involves a major/minor version change (e.g., moving the repository from Go
1.23.xto a newer series like1.26.x), upgrade to the latest available stable release of that new series (e.g., the absolute latest stable release1.26.3or newer), instead of just targetting the baseline first release of the series (e.g.,1.26.0), unless explicitly specified otherwise by the user or the bug.- Verify the latest stable version of Go via the web search tool or Go's official download site before finalizing the target version.
- Absolute Go Version Consistency:
- Strict Consistency Requirement: The exact same three-part (patch-level) Go version string (e.g.,
1.26.3) must be applied globally across the entire repository. There must be absolutely no version mismatch or inconsistency. - Consistency in go.mod: The
godirective in go.mod MUST be updated to match the exact patch-level version string (e.g.,go 1.26.3), aligning it completely with .go-version. Do NOT use minor-only shorthand (e.g.,go 1.26) in go.mod while using a three-part version string elsewhere. - Every single reference to the Go compiler in main builder images, packaging Dockerfiles, presubmit checks, performance suites, and CD scripts must be kept strictly uniform.
- Strict Consistency Requirement: The exact same three-part (patch-level) Go version string (e.g.,
Step 1: Retrieve Current Go Version
Look at the .go-version file in the root directory, or the go directive in go.mod (e.g., go 1.26.3) to identify the old Go version string.
Step 2: Determine and Query the Target Go Version
- Identify the minimum safe version required (e.g., if remediating a CVE).
- Query the web or official resources to find the latest stable available version of the Go compiler (within the target major/minor release, or a newer release series if upgrading Go major/minor versions).
- Set this latest available version as the exact target Go version string (e.g.,
1.26.3).
Step 3: Search the Entire Repository
Search the codebase using grep to find all instances of the old Go version string (e.g., 1.26.3):
# Example grep query using the search tool:
Query: "1.26.3"
SearchPath: "<workspace_root>"Key Go Version Reference Locations that MUST match exactly:
- .go-version:
Located at the root of the repository.
- Mandatory Action: Ensure this file contains the exact target Go version (e.g.,
1.26.3).
- Mandatory Action: Ensure this file contains the exact target Go version (e.g.,
- go.mod:
- Mandatory Action: Ensure the
godirective matches the exact patch-level version string (e.g.,go 1.26.3). Do NOT use two-part versions here.
-go 1.26.3 +go 1.27.1 - Mandatory Action: Ensure the
- Dockerfile (Main Builder Image at root)
- Packaging Dockerfiles:
- Dockerfile (Containerization base image)
- Dockerfile (Packaging base image. Make sure to align both the builder baseline tag
FROM golang:X.Y.Zand the download commandgoX.Y.Z.linuxto match the exact same version string).
- E2E & Integration Test Scripts:
- e2e_test.sh
- run_e2e_tests.sh
- improved_run_e2e_tests.sh
- Performance & Presubmit Test Scripts:
- build.sh
- setup.sh
- run_checkpoints.sh
Step 4: Replace All References
Update every file identified in Step 3, substituting the old Go version with the new exact target Go version. Ensure that no minor-only (e.g. 1.26 instead of 1.26.3) or mismatched version strings exist.
Step 5: Sync and Tidy
Run go mod tidy to ensure go.mod and go.sum are consistent and fully synchronized.
5. Compilation & Verification
After upgrading dependencies and/or the Go toolchain, verify the integrity and safety of the changes.
Compile Check
Verify that the entire codebase builds cleanly with no compile-time regressions:
make buildRun Vulnerability Scan
Verify that all active CVEs are completely cleared. First, ensure govulncheck is installed on the system, and install it if it is missing:
# Check if govulncheck is installed, if not, attempt to install it and expose $(go env GOPATH)/bin in PATH
if ! command -v govulncheck &> /dev/null; then
go install golang.org/x/vuln/cmd/govulncheck@latest || true
export PATH=$PATH:$(go env GOPATH)/bin
fiThen attempt to run the vulnerability scan.
[!IMPORTANT] If
govulncheckfails to install or run (e.g., due to offline environments, missing access to external proxies, or toolchain configuration limits), do NOT treat this failure as a critical blocker. Log a warning to the user, note the issue in your summary, and proceed to running the test suite to complete the dependency upgrade.
If the utility is available, run the scan:
govulncheck ./...Result: The scan should report Your code is affected by 0 vulnerabilities.
Run Tests
Verify that the test suite passes successfully with the upgraded dependencies:
go test ./...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.

