Around 50% of all tests are failing, this issue tracks the progress of getting the test suite back on track to 100%. Some tests are also out-of-date, redundant, overly-coupled, or missing, so this cleanup will serve to improve test coverage for current code.
Docs + specs are also missing for many core functions, so since we're going context-by-context and controller-by-controller, we can take this opportunity to add them in. Adding in specs would also bring us closer to enabling the dialyzer checks on CI.
The number of contexts are also getting a little out of hand, should try to consolidate where possible.
Around 50% of all tests are failing, this issue tracks the progress of getting the test suite back on track to 100%. Some tests are also out-of-date, redundant, overly-coupled, or missing, so this cleanup will serve to improve test coverage for current code.
Docs + specs are also missing for many core functions, so since we're going context-by-context and controller-by-controller, we can take this opportunity to add them in. Adding in specs would also bring us closer to enabling the dialyzer checks on CI.
The number of contexts are also getting a little out of hand, should try to consolidate where possible.
logflareadminchore: refactor admin context, cluster_live #1115auth, chore: add docs & specs to functions, remove unused code #1126billing_accountschore: Billing context, rename BillingAccounts namespace #1118clustercontactchore: refactor Logflare.Contact context #1117ectoendpointgooglelogsoauth_access_grantsoauth_access_tokensoauth_applicationspayment_methodschore: move payment methods context into billing context #1122planschore: consolidate plans context into billing #1124pubsub_ratesquerieschore: consolidate BillingCounts under Billing #1125saved_searchessourcesource_schemassourcessystem_metricsteam_usersteamschore: add docs/specs/tests for Teams context, renamed get_team_by! to get_team_by #1121telemetrytrackerusersvercelaccount_emailbilling_countschore: consolidate BillingCounts under Billing #1125cache_bustercontext_cachegeneratorsmailersource_schemassqlsystem_metricuser