Update gocron dependencies
Handle one dependency group and ecosystem at a time unless a security fix
requires coordinated versions. A request to inspect a PR or alert is read-only;
merge, dismiss, commit, and push only when explicitly requested.
Assess before changing
- Inspect the manifest and lockfile diff, release notes, advisory, dependency
graph, and current CI status. Use primary upstream documentation.
- Classify the update as patch, minor, major, security, development-only, build
tooling, GitHub Action, or runtime/container.
- Determine whether the dependency is direct, transitive, bundled into the
frontend, shipped in the image, or used only in tests.
- For security alerts, record the vulnerable range, fixed version, severity,
reachable code path, and whether every affected workspace is updated.
- Treat major updates, Go/toolchain changes, framework upgrades, database
drivers, schedulers, RPC libraries, auth/crypto packages, and container bases
as high risk even when the diff is small.
Never edit a lockfile by hand. Use the repository package manager and preserve
its existing lockfile format. Do not silence peer dependency failures or add
blanket advisory ignores to make a check green.
Apply the smallest update
Use the narrowest ecosystem command that updates the requested package and its
required peers. Review the resulting diff for unrelated upgrades, install
scripts, new transitive packages, license changes, and unexpected engine or Go
version changes. Revert unrelated generated churn without discarding
pre-existing user changes.
For a Dependabot PR, prefer checking out or updating its branch rather than
reconstructing a different lockfile locally. If the branch is stale, rebase or
regenerate only when the user authorized changes to that PR.
Verify by ecosystem
- Go runtime dependency: run
go mod tidy, ensure go.mod and go.sum contain
only expected changes, then run affected package tests with -race,
go vet ./..., and govulncheck ./... when available.
- Admin frontend: run
pnpm --dir web/gocronx-admin build-only,
pnpm --dir web/gocronx-admin exec vue-tsc --noEmit, and
pnpm --dir web/gocronx-admin lint.
- Docs: run
pnpm --dir docs docs:build.
- Root tooling: run the affected commit/lint hook command and verify the admin
workspace lockfile was not unintentionally changed.
- GitHub Action: validate YAML and inspect the referenced action's changelog and
immutable tag/SHA policy.
- Docker/base image: build
Dockerfile.gocron and inspect architecture,
runtime user, binary/library compatibility, and vulnerability scan results.
Run the relevant package tests even if the dependency is marked dev-only.
Invoke $verify before merge for every code or lockfile update.
Decide and report
State the exact old/new versions, why the update is needed, runtime exposure,
breaking-change review, manifest/lockfiles changed, audit result, checks run,
and remaining risk. Recommend merge only when required checks are green and the
diff contains no unexplained dependency churn.
If committing, use one single-line Conventional Commit subject under 100
characters and no Co-Authored-By, for example:
chore(deps): update vue to 3.6.0
1---2name: dependency-update3description: Review, apply, verify, or merge gocron dependency updates from Dependabot or manual requests. Use for Go modules, root/admin/docs pnpm packages, GitHub Actions, Docker base images, security advisories, lockfile conflicts, or dependency update pull requests.4---56# Update gocron dependencies78Handle one dependency group and ecosystem at a time unless a security fix9requires coordinated versions. A request to inspect a PR or alert is read-only;10merge, dismiss, commit, and push only when explicitly requested.1112## Assess before changing1314- Inspect the manifest and lockfile diff, release notes, advisory, dependency15 graph, and current CI status. Use primary upstream documentation.16- Classify the update as patch, minor, major, security, development-only, build17 tooling, GitHub Action, or runtime/container.18- Determine whether the dependency is direct, transitive, bundled into the19 frontend, shipped in the image, or used only in tests.20- For security alerts, record the vulnerable range, fixed version, severity,21 reachable code path, and whether every affected workspace is updated.22- Treat major updates, Go/toolchain changes, framework upgrades, database23 drivers, schedulers, RPC libraries, auth/crypto packages, and container bases24 as high risk even when the diff is small.2526Never edit a lockfile by hand. Use the repository package manager and preserve27its existing lockfile format. Do not silence peer dependency failures or add28blanket advisory ignores to make a check green.2930## Apply the smallest update3132Use the narrowest ecosystem command that updates the requested package and its33required peers. Review the resulting diff for unrelated upgrades, install34scripts, new transitive packages, license changes, and unexpected engine or Go35version changes. Revert unrelated generated churn without discarding36pre-existing user changes.3738For a Dependabot PR, prefer checking out or updating its branch rather than39reconstructing a different lockfile locally. If the branch is stale, rebase or40regenerate only when the user authorized changes to that PR.4142## Verify by ecosystem4344- Go runtime dependency: run `go mod tidy`, ensure `go.mod` and `go.sum` contain45 only expected changes, then run affected package tests with `-race`,46 `go vet ./...`, and `govulncheck ./...` when available.47- Admin frontend: run `pnpm --dir web/gocronx-admin build-only`,48 `pnpm --dir web/gocronx-admin exec vue-tsc --noEmit`, and49 `pnpm --dir web/gocronx-admin lint`.50- Docs: run `pnpm --dir docs docs:build`.51- Root tooling: run the affected commit/lint hook command and verify the admin52 workspace lockfile was not unintentionally changed.53- GitHub Action: validate YAML and inspect the referenced action's changelog and54 immutable tag/SHA policy.55- Docker/base image: build `Dockerfile.gocron` and inspect architecture,56 runtime user, binary/library compatibility, and vulnerability scan results.5758Run the relevant package tests even if the dependency is marked dev-only.59Invoke `$verify` before merge for every code or lockfile update.6061## Decide and report6263State the exact old/new versions, why the update is needed, runtime exposure,64breaking-change review, manifest/lockfiles changed, audit result, checks run,65and remaining risk. Recommend merge only when required checks are green and the66diff contains no unexplained dependency churn.6768If committing, use one single-line Conventional Commit subject under 10069characters and no `Co-Authored-By`, for example:7071```text72chore(deps): update vue to 3.6.073```