Skip to content

Add PowerShell package manager mapping - #652

Draft
MariusStorhaug wants to merge 1 commit into
dependabot:mainfrom
MariusStorhaug:powershell-cli-registration
Draft

Add PowerShell package manager mapping#652
MariusStorhaug wants to merge 1 commit into
dependabot:mainfrom
MariusStorhaug:powershell-cli-registration

Conversation

@MariusStorhaug

@MariusStorhaug MariusStorhaug commented Aug 30, 2026

Copy link
Copy Markdown

PowerShell smoke tests can now resolve the conventional PowerShell updater image without requiring an explicit --updater-image override.

Changes

  • Map package-manager: powershell to ghcr.io/dependabot/dependabot-updater-powershell.
  • Cover the generated updater image name in Test_setImageNames.

record_ecosystem_meta remains intentionally excluded from smoke-test recordings and expectations, consistent with #587. This focused registration change does not alter that global contract.

Related work

Testing

  • go test ./internal/infra -run '^Test_setImageNames$/powershell$' -count=1
  • go test -shuffle=on -count=2 -cover -timeout=5m ./cmd/dependabot/internal/cmd ./internal/...
  • go build -v ./...
  • go mod tidy -diff
  • go vet ./...
  • gofmt -l .
  • Upstream build and lint checks pass, including the Linux race-enabled suite.
  • Focused code review found no issues.

CI note

The smoke matrix passed 100 jobs. The unrelated python-pip-compile job has expectation drift with only 97/130 cached calls; this mapping does not touch Python or smoke expectations.

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