recce icon indicating copy to clipboard operation
recce copied to clipboard

feature/drc-2145-fe-has-checklist-api-integration

Open gcko opened this issue 1 month ago • 1 comments

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:

  1. Ensure both Recce Cloud (using session ID) and local mode (no session ID) work correctly
  2. 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.

gcko avatar Nov 18 '25 12:11 gcko

Codecov Report

:x: Patch coverage is 85.71429% with 108 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
recce/models/check.py 57.31% 70 Missing :warning:
recce/run.py 10.00% 9 Missing :warning:
recce/util/cloud/base.py 68.00% 8 Missing :warning:
recce/apis/check_api.py 25.00% 6 Missing :warning:
recce/apis/check_func.py 0.00% 5 Missing :warning:
recce/util/cloud/checks.py 86.84% 5 Missing :warning:
recce/cli.py 72.72% 3 Missing :warning:
recce/summary.py 0.00% 1 Missing :warning:
tests/models/test_check.py 99.72% 1 Missing :warning:
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.

codecov[bot] avatar Nov 18 '25 15:11 codecov[bot]