Skip to main content
← Back to list
01Issue
FeatureClosedSwamp Club
AssigneesNone

extension push --dry-run requires authentication unnecessarily

Opened by swampadmin · 10/15/2025

Description

swamp extension push --dry-run fails with "Not authenticated. Run 'swamp auth login' first." even though the --dry-run flag is documented as "Build archive locally without pushing to registry."

Since --dry-run only builds the archive locally and never contacts the registry, it should not require authentication. This prevents using it as a CI validation step without storing swamp-club credentials.

Steps to reproduce

  1. Run swamp extension push manifest.yaml --dry-run --json without being authenticated
  2. Observe error: {"error": "Not authenticated. Run 'swamp auth login' first."}

Summary of fix

The authentication check in the extension push command runs before evaluating the --dry-run flag. The fix would move the auth check after the dry-run flag is evaluated, or skip it entirely when --dry-run is set, since the registry is never contacted in that path.

Environment

  • swamp version: 20260313.235152.0-sha.bb94615c
  • OS: Ubuntu (GitHub Actions runner) and macOS
  • Context: CI pipeline validation
02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.