Skip to content

fix(core,bootstrap): gate EnvVaultProvider re-export; skip embed-only fallback in provider pool#3487

Merged
bug-ops merged 1 commit intomainfrom
3485-3484-env-vault-embed-provider
Apr 26, 2026
Merged

fix(core,bootstrap): gate EnvVaultProvider re-export; skip embed-only fallback in provider pool#3487
bug-ops merged 1 commit intomainfrom
3485-3484-env-vault-embed-provider

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Apr 26, 2026

Summary

Test plan

  • cargo nextest run -p zeph-core (no --features) — 1508/1508 pass
  • cargo nextest run --workspace --lib --bins — 8623/8623 pass
  • cargo +nightly fmt --check — clean
  • cargo clippy (CI feature scope) — 0 warnings

Closes #3485
Closes #3484

…lag; skip embed-only fallback in provider pool

Remove the spurious `test` arm from the cfg gate on the `EnvVaultProvider`
re-export in zeph-core/src/lib.rs. The arm caused cargo to include the
re-export during test builds even when the `env-vault` feature was not
activated, breaking plain `cargo nextest run -p zeph-core`. Closes #3485.

In `build_single_provider_from_pool`, add an `or_else` fallback that skips
embed-only entries when no provider carries `default = true`, mirroring the
existing guard in `build_all_pool_providers`. Closes #3484.
@github-actions github-actions Bot added documentation Improvements or additions to documentation rust Rust code changes core zeph-core crate bug Something isn't working size/S Small PR (11-50 lines) labels Apr 26, 2026
@bug-ops bug-ops enabled auto-merge (squash) April 26, 2026 17:30
@bug-ops bug-ops merged commit bdd6db7 into main Apr 26, 2026
32 checks passed
@bug-ops bug-ops deleted the 3485-3484-env-vault-embed-provider branch April 26, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core zeph-core crate documentation Improvements or additions to documentation rust Rust code changes size/S Small PR (11-50 lines)

Projects

None yet

1 participant