Skip to content

test: add missing test coverage for wxo deployments - #12689

Merged
jordanrfrazier merged 11 commits into
release-1.9.1from
add-wxo-missing-test-coverage
Apr 17, 2026
Merged

test: add missing test coverage for wxo deployments#12689
jordanrfrazier merged 11 commits into
release-1.9.1from
add-wxo-missing-test-coverage

Conversation

@jordanrfrazier

@jordanrfrazier jordanrfrazier commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Adds missing test coverage

… schemas, hooks, and components

Frontend (11 new/expanded test files, ~170 tests):
- use-connection-panel-state: tests for all handlers, ID sanitization, env var management
- step-review: tests for summary display, flows, connections, masking, edit mode
- global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration
- use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring
- deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests
- flow-list-panel, version-panel, connection-search-list: panel component tests
- deployment-stepper-payload-builders: tests for buildConnectionPayloads,
  buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload

Backend (2 expanded test files, ~21 new tests):
- test_deployments_response_mapping: tests for update/list/execution/config response shapes
- test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a8eb4e41-ba12-402c-b3fb-c6eca3e7c8de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-wxo-missing-test-coverage

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the test Changes to tests label Apr 14, 2026
@jordanrfrazier

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 14, 2026
@jordanrfrazier
jordanrfrazier changed the base branch from release-1.9.0 to release-1.9.1 April 15, 2026 13:35
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@codecov

codecov Bot commented Apr 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-1.9.1@4f9bd2b). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             release-1.9.1   #12689   +/-   ##
================================================
  Coverage                 ?   53.00%           
================================================
  Files                    ?     2023           
  Lines                    ?   183792           
  Branches                 ?    28873           
================================================
  Hits                     ?    97410           
  Misses                   ?    85284           
  Partials                 ?     1098           
Flag Coverage Δ
backend 55.31% <ø> (?)
frontend 53.18% <100.00%> (?)
lfx 49.97% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...e/components/step-attach-flows-flow-list-panel.tsx 93.78% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions

github-actions Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 34%
34.96% (40043/114538) 68.01% (5540/8145) 35.82% (934/2607)

Unit Test Results

Tests Skipped Failures Errors Time
3980 0 💤 0 ❌ 0 🔥 8m 27s ⏱️

@github-actions github-actions Bot added the lgtm This PR has been approved by a maintainer label Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 15, 2026
@github-actions github-actions Bot added test Changes to tests and removed test Changes to tests labels Apr 16, 2026
@jordanrfrazier
jordanrfrazier disabled auto-merge April 16, 2026 13:45
@jordanrfrazier jordanrfrazier added lgtm This PR has been approved by a maintainer and removed lgtm This PR has been approved by a maintainer labels Apr 16, 2026
@jordanrfrazier
jordanrfrazier added this pull request to the merge queue Apr 17, 2026
Merged via the queue into release-1.9.1 with commit 3fb40f3 Apr 17, 2026
295 of 298 checks passed
@jordanrfrazier
jordanrfrazier deleted the add-wxo-missing-test-coverage branch April 17, 2026 14:24
erichare pushed a commit that referenced this pull request Apr 18, 2026
* test(deployments): add comprehensive test coverage for WXO deployment schemas, hooks, and components

Frontend (11 new/expanded test files, ~170 tests):
- use-connection-panel-state: tests for all handlers, ID sanitization, env var management
- step-review: tests for summary display, flows, connections, masking, edit mode
- global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration
- use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring
- deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests
- flow-list-panel, version-panel, connection-search-list: panel component tests
- deployment-stepper-payload-builders: tests for buildConnectionPayloads,
  buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload

Backend (2 expanded test files, ~21 new tests):
- test_deployments_response_mapping: tests for update/list/execution/config response shapes
- test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas

* Fix nested button issue; remove more unnecessary tests

* update fe tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes

* fix tests; filter sql warnings

* ruff

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com>
erichare pushed a commit that referenced this pull request Apr 24, 2026
* test(deployments): add comprehensive test coverage for WXO deployment schemas, hooks, and components

Frontend (11 new/expanded test files, ~170 tests):
- use-connection-panel-state: tests for all handlers, ID sanitization, env var management
- step-review: tests for summary display, flows, connections, masking, edit mode
- global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration
- use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring
- deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests
- flow-list-panel, version-panel, connection-search-list: panel component tests
- deployment-stepper-payload-builders: tests for buildConnectionPayloads,
  buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload

Backend (2 expanded test files, ~21 new tests):
- test_deployments_response_mapping: tests for update/list/execution/config response shapes
- test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas

* Fix nested button issue; remove more unnecessary tests

* update fe tests

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes

* fix tests; filter sql warnings

* ruff

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com>
(cherry picked from commit 3fb40f3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer test Changes to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants