recce
recce copied to clipboard
feature/drc-2145-fe-has-checklist-api-integration
PR checklist
- [x] Ensure you have added or ran the appropriate tests for your PR.
- [x] DCO signed
What type of PR is this? Feature
What this PR does / why we need it: This PR adds the ability to store and receive Checks from a Cloud database, proxied via the Cloud API
Which issue(s) this PR fixes: DRC-2145
Special notes for your reviewer:
- Ensure both Recce Cloud (using session ID) and local mode (no session ID) work correctly
- Ensure get, create, update, marking approved, and all other interactions work correctly
Does this PR introduce a user-facing change?:
When Recce is started with a session, it will attempt to connect to Recce Cloud and pull session information from Recce.
Codecov Report
:x: Patch coverage is 85.71429% with 108 lines in your changes missing coverage. Please review.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| recce/models/types.py | 97.94% <100.00%> (+0.04%) |
:arrow_up: |
| recce/state/cloud.py | 65.56% <100.00%> (+0.48%) |
:arrow_up: |
| recce/state/state_loader.py | 95.32% <100.00%> (ø) |
|
| recce/util/cloud/__init__.py | 100.00% <100.00%> (ø) |
|
| recce/util/recce_cloud.py | 42.57% <100.00%> (+1.90%) |
:arrow_up: |
| tests/state/test_cloud.py | 99.77% <100.00%> (ø) |
|
| tests/util/cloud/test_checks.py | 100.00% <100.00%> (ø) |
|
| recce/summary.py | 63.58% <0.00%> (ø) |
|
| tests/models/test_check.py | 99.72% <99.72%> (ø) |
|
| recce/cli.py | 48.76% <72.72%> (+0.06%) |
:arrow_up: |
| ... and 6 more |
... and 5 files with indirect coverage changes
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.