Skip to content

Add CI OIDC auth for npm firewall#379

Merged
tolgaergin merged 2 commits into
mainfrom
codex/firewall-ci-oidc
Jul 9, 2026
Merged

Add CI OIDC auth for npm firewall#379
tolgaergin merged 2 commits into
mainfrom
codex/firewall-ci-oidc

Conversation

@tolgaergin

Copy link
Copy Markdown
Contributor

Summary

  • add lazy CI OIDC exchange for npm firewall checks when active and no bearer is already available
  • keep LPM_TOKEN/stored auth as the preferred path so tokened CI does not do an OIDC exchange
  • cover direct and chunked firewall preflight paths plus registry bearer detection

Verification

  • cargo fmt
  • cargo test -p lpm-cli --bin lpm-rs -- firewall_preflight
  • cargo test -p lpm-registry --lib has_bearer_for_posture
  • cargo test -p lpm-cli --bin lpm-rs -- registry_
  • cargo test -p lpm-cli --bin lpm-rs -- firewall_policy_editor
  • cargo build --workspace --locked
  • cargo nextest run --locked --workspace --exclude lpm-workflows --exclude lpm-cli --no-fail-fast --status-level slow --final-status-level fail
  • cargo test --locked -p lpm-cli --bin lpm-rs -- --test-threads=1
  • cargo nextest run --locked -p lpm-cli -E "not binary_id(/bin\/lpm-rs/)" --no-fail-fast --status-level slow --final-status-level fail
  • cargo build --release --locked

@tolgaergin tolgaergin merged commit b646648 into main Jul 9, 2026
10 checks passed
@tolgaergin tolgaergin deleted the codex/firewall-ci-oidc branch July 9, 2026 14:49
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