Skip to content

fix(core): import build_provider_from_entry in mod tests so gonka_tests can resolve it#3634

Merged
bug-ops merged 2 commits intomainfrom
3633-gonka-tests-super-scope
May 6, 2026
Merged

fix(core): import build_provider_from_entry in mod tests so gonka_tests can resolve it#3634
bug-ops merged 2 commits intomainfrom
3633-gonka-tests-super-scope

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented May 6, 2026

Summary

  • Adds build_provider_from_entry to the use super:: import in mod tests in provider_factory.rs
  • mod gonka_tests uses use super::*, which resolves to mod tests; since build_provider_from_entry was not imported there, all 4 gonka tests failed to compile under --features gonka

Test plan

  • cargo nextest run --workspace --features gonka --lib -p zeph-core — all 4 gonka_tests::* tests pass
  • cargo +nightly fmt --check — no diff
  • cargo clippy --workspace --features gonka -- -D warnings — zero errors

Closes #3633

…ts can resolve it

mod gonka_tests uses `use super::*` which resolves to mod tests. Since
build_provider_from_entry was not imported into mod tests, the 4 gonka_tests
failed to compile when --features gonka is enabled.

Closes #3633
@github-actions github-actions Bot added rust Rust code changes core zeph-core crate bug Something isn't working size/XS Extra small PR (1-10 lines) labels May 6, 2026
@bug-ops bug-ops enabled auto-merge (squash) May 6, 2026 01:18
…"gonka\")

Without the cfg gate, RUSTFLAGS=-D warnings treats the import as unused
when the gonka feature is disabled, breaking the MSRV and build-tests CI jobs.
@bug-ops bug-ops merged commit a17a5bd into main May 6, 2026
32 checks passed
@bug-ops bug-ops deleted the 3633-gonka-tests-super-scope branch May 6, 2026 01:31
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 rust Rust code changes size/XS Extra small PR (1-10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(core): gonka_tests use super::* misses build_provider_from_entry — unit tests fail to compile with --features full

1 participant