Skip to content

fix(security): patch Go worker and Vitest tooling - #1013

Merged
XiaoSeS merged 1 commit into
mainfrom
fix/release-security-patches-20261025
Oct 25, 2026
Merged

XiaoSeS merged 1 commit into
mainfrom
fix/release-security-patches-20261025

Conversation

@XiaoSeS

@XiaoSeS XiaoSeS commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Update the GitHub sync worker's Go module minimum and official Docker build image from Go 1.27.1 to 1.27.3, including the crypto/x509 fix described in GO-2026-6809.
  • Update Vitest and its coupled packages from 4.1.11 to 4.1.12 to address the two @vitest/mocker advisories (GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp).
  • Regenerate the pnpm lockfile with the repository's pnpm 10.33.0. No application behavior, APIs, runtime configuration or migrations change.

Validation

Local checks passed with Node 24.17.0 / pnpm 10.33.0 and Go 1.27.3:

cd github-sync-go
GOTOOLCHAIN=go1.27.3 go test -count=1 -p 2 ./...
GOTOOLCHAIN=go1.27.3 go vet -p 2 ./...
cd ../web
pnpm install --frozen-lockfile
pnpm typecheck
pnpm lint
pnpm test --maxWorkers=2
pnpm build

Frontend frozen install, typecheck, lint and production build passed; all 255 test files / 1160 tests passed with bounded concurrency. The initial unbounded local run had one invitation UI wait timeout while the host load was 32 (1159/1160 passed); the unchanged single-file rerun passed 21/21 once contention subsided, and the complete bounded rerun passed. No test assertion or timeout was changed.

Go's five package suites and vet passed. The official Dockerfile image built successfully; the resulting binary's build metadata confirms go1.27.3, and non-root UID 10001 plus runtime tool checks passed. Real public GitHub acquisition at a fixed commit also passed with Go 1.27.3.

PR CI must pass before merge. Its worker amd64/arm64 image checks and both supported frontend Node.js versions have passed; backend, E2E and other remaining jobs are still running.

Risk

  • Scope is limited to security patch versions of the worker compiler/standard library and frontend development test tooling.
  • No new production JavaScript dependency, schema migration or deployment change.
  • This PR does not create a tag or publish a Release. Release-candidate deployment and domain acceptance remain separate gates.
  • Other security findings are not claimed resolved by these dependency updates.
  • A fresh npm audit confirms the two @vitest/mocker advisories are gone, but still reports three advisories in the existing jsdom -> undici 7.30.0 development dependency chain. That separate patch is outside this PR's scope and has been reported to the maintainer; this is not a claim of a clean repository-wide security audit.

References

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
@XiaoSeS
XiaoSeS merged commit b54b5de into main Oct 25, 2026
19 checks passed
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.

1 participant