Skip to content

Harden tend across every subsystem - #5

Merged
mohsensc merged 2 commits into
mainfrom
harden
Oct 30, 2026
Merged

mohsensc merged 2 commits into
mainfrom
harden

Conversation

@mohsensc

Copy link
Copy Markdown
Owner

A full pass over every package, plus live runs on real stale repos and a private sandbox repo where tend opened, updated and staged its own PRs.

Highlights

  • Safety: a base branch that can't be found is now an error instead of falling back to HEAD. A maintainer's commit on a tend branch is never force-pushed over. Upstream text in PR bodies is escaped, so closing keywords and @mentions can't take effect. Local-path remotes are no longer read as GitHub repos. The action scrubs the checkout token.
  • Correctness: security fixes no longer land on releases that are still vulnerable (axios 0.21 → 0.33 did). Base-only test failures no longer reject a patch, and proofs where no test ran no longer read as passing. Symbol vetting no longer flags CJS/default-import member calls or files outside the active Go build constraints.
  • Ecosystems: yarn/pnpm workspaces and aliases, git and URL deps, poetry/uv workspaces, compiled requirements, Docker ARG images, Gradle dynamic versions, guava qualifiers, SHA-pinned Actions, GOPRIVATE, Cargo advisories without a lockfile, Go v0 minors.
  • CLI: interrupts exit 130 and save nothing. The run lock is held by the OS on unix, so a killed run never leaves a stale lock. Child processes run in their own group. check and run now look at the same commit. --fail-on, exit codes, and init/watch edge cases are fixed.
  • CI/release: govulncheck, a self-update matrix on macOS and Windows, a job that runs the action itself, tag format and signature checks before publishing.
  • Docs updated to match.

Follow-ups

  • Tag v1.0.1 after merge so @v1 and self-update stop serving the old binaries.
  • Runner labels and setup-* runtime pins (ubuntu-18.04, go-version) as a new dependency source.
  • Re-resolving freeze-style requirements.txt with pip.

go test ./... -count=1, go vet, golangci-lint and gofmt all pass.

Fixes found by a full review and by live runs on real repos: base and lock handling, interrupts, process trees, ecosystem parsing and edits, API change detection, PR delivery safety, vetting false positives, OSV fix selection, action token scrubbing, CI and release checks.
@mohsensc
mohsensc merged commit cae4fbe into main Oct 30, 2026
7 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