Skip to content

test(observability): fix EventFilters compile errors in merge_integration tests - #79

Merged
dviejokfs merged 1 commit into
mainfrom
fix/clippy-cleanup
May 9, 2026
Merged

dviejokfs merged 1 commit into
mainfrom
fix/clippy-cleanup

Conversation

@dviejokfs

Copy link
Copy Markdown
Contributor

Summary

  • The recent hide_bots filter addition to EventFilters (crates/temps-observability/src/filters.rs) bumped the struct from 8 to 9 fields, but the 5 struct-literal EventFilters { ... } constructors in crates/temps-observability/tests/merge_integration.rs were left at 8 fields, producing 5 E0063: missing field hide_bots errors under cargo clippy --all-targets.
  • Set hide_bots: None on all 5 sites to preserve the existing test behavior (no bot filtering).
  • Caught by running cargo clippy --workspace --lib --all-targets --no-deps -- -D warnings against main. After the fix: 0 errors, 0 real warnings.

Test plan

  • cargo clippy --workspace --lib --all-targets --no-deps -- -D warnings passes
  • cargo test --test merge_integration -p temps-observability compiles (Docker required for the tests themselves to run)

… in merge_integration tests

The hide_bots filter field was added to EventFilters in the previous
commit but the integration test file's 5 EventFilters{} initializers
weren't updated, causing E0063 missing-field errors. Field set to None
preserves the existing test behavior (no bot filtering).
@dviejokfs
dviejokfs merged commit 7c7d95e into main May 9, 2026
8 of 12 checks passed
@dviejokfs
dviejokfs deleted the fix/clippy-cleanup branch May 9, 2026 15:32
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