Skip to content

feat: expand batch TLS probes for everyday CLI tools - #2

Merged
fproulx-boostsecurity merged 3 commits into
mainfrom
feat/expand-batch-tools
Oct 22, 2026
Merged

fproulx-boostsecurity merged 3 commits into
mainfrom
feat/expand-batch-tools

Conversation

@fproulx-boostsecurity

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved bootstrap and cache-isolation issues, together with credential handling across thirteen external clients, require fixes and human validation.

2 open issues
What changed in this PR

Expands embarass batch with thirteen additional CLI and runtime probes, extending TLS trust checks to more everyday developer tools.

Changes:

  • Adds cloud, package-manager, Kubernetes, and runtime probes with temporary configuration and cache isolation.
  • Embeds a Node.js probe that explicitly establishes the local proxy tunnel.
  • Adds discovery and isolation tests, opt-in installed-tool checks, and usage documentation.
File Description
README.md Documents new probes, isolation measures, and runtime requirements.
pkg/​batchtest/​probes/​node.cjs Implements the Node.js proxy tunnel and TLS request.
pkg/​batchtest/​plan.go Registers additional tools and prepares cloud configuration.
pkg/​batchtest/​plan_test.go Tests cloud probe isolation and optional real-client TLS behavior.
pkg/​batchtest/​everyday.go Defines runtime and package-manager probes and workspace files.
pkg/​batchtest/​everyday_test.go Tests executable aliases, isolation settings, and workspace cleanup.

Review effort: Balanced

Comment thread pkg/batchtest/everyday.go
"NPM_CONFIG_FETCH_RETRIES": "0",
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
"PNPM_HOME": filepath.Join(workspace, "pnpm-home"),
"XDG_CACHE_HOME": filepath.Join(workspace, "pnpm-xdg-cache"),
Comment thread pkg/batchtest/plan.go
EnvironmentOverrides: map[string]string{
"CARGO_HOME": filepath.Join(workspace, "cargo"),
"CARGO_REGISTRIES_CRATES_IO_PROTOCOL": "sparse",
"CARGO_NET_RETRY": "0",
Include the omitted completion implementation and tests that caused CI compilation failures. Preserve Corepack's existing executable cache before isolating pnpm caches, and disable rustup auto-install so bootstrap traffic cannot be mistaken for Cargo's TLS decision.

Validated with full tests, race tests, golangci-lint, and the installed-Corepack cache regression test.
@fproulx-boostsecurity
fproulx-boostsecurity merged commit 4631af4 into main Oct 22, 2026
5 checks passed
@fproulx-boostsecurity
fproulx-boostsecurity deleted the feat/expand-batch-tools branch October 22, 2026 21:09
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.

2 participants