• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / etl / 24713061833

21 Apr 2026 08:47AM UTC coverage: 78.316% (+0.07%) from 78.248%
24713061833

push

github

web-flow
refactor: enable extended clippy lint set (#675)

* refactor: explicit_iter_loop

* refactor: implicit_clone

* refactor: manual_let_else

* refactor: map_unwrap_or

* refactor: match_same_arms

* refactor: clippy::redundant_closure_for_method_calls

* refactor: redundant_clone

* refactor: redundant_test_prefix

* refactor: semicolon_if_nothing_returned

* refactor: uninlined_format_args

* refactor: unnested_or_patterns

* feat: enable extra lints

* fix: rebase

* fix: removed test

* fix: after rebase

* fix: fmt

* fix: http tests

* fix: rebase

* fix: fmt

* fix: fmt

414 of 503 new or added lines in 59 files covered. (82.31%)

3292 existing lines in 120 files now uncovered.

24379 of 31129 relevant lines covered (78.32%)

1069.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/etl-replicator/src/init/error_notification.rs
1
use etl_config::shared::ReplicatorConfig;
2
use secrecy::ExposeSecret;
3
use tracing::warn;
4

5
use crate::error_notification::ErrorNotificationClient;
6

7
/// Initializes the optional error notification client from replicator config.
8
pub(crate) fn init(replicator_config: &ReplicatorConfig) -> Option<ErrorNotificationClient> {
×
9
    replicator_config.supabase.as_ref().and_then(|supabase_config| {
×
10
        match (&supabase_config.api_url, &supabase_config.api_key) {
×
11
            (Some(api_url), Some(api_key)) => Some(ErrorNotificationClient::new(
×
12
                api_url.clone(),
×
13
                api_key.expose_secret().to_owned(),
×
14
                supabase_config.project_ref.clone(),
×
15
                replicator_config.pipeline.id.to_string(),
×
16
            )),
×
17
            _ => {
18
                warn!(
×
19
                    "missing supabase api url and/or key, failure notifications will not be sent"
20
                );
21

22
                None
×
23
            }
24
        }
UNCOV
25
    })
×
26
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc