Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for database provider access on Domain initialization #443

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

subhashb
Copy link
Contributor

@subhashb subhashb commented Jul 9, 2024

We want to throw an exception immediately if a provider's configuration is invalid. This commit validates that a connection is possible for every configured provider during Domain.init and throws a ConfigurationError exception on error.

If a provider's configuration in invalid, we want to throw
an exception as early as possible. This commit validates that
a connection is indeed possible during `Domain.init` and throws
a `ConfigurationError` exception on error.
@subhashb subhashb self-assigned this Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.91%. Comparing base (998b27a) to head (ee1a5d8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #443      +/-   ##
==========================================
+ Coverage   88.88%   88.91%   +0.03%     
==========================================
  Files          71       71              
  Lines        5963     5981      +18     
  Branches     1185     1187       +2     
==========================================
+ Hits         5300     5318      +18     
  Misses        492      492              
  Partials      171      171              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@subhashb subhashb merged commit b14f840 into main Jul 9, 2024
6 checks passed
@subhashb subhashb deleted the provider-is-alive-check branch July 9, 2024 16:51
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