PR #49772: Shared stores: externalize the Jetpack connection data store by kraftbj at 2026-11-11T22:17:11Z Summary PHP JS

Coverage changes to existing files
File Coverage Δ% Δ Uncovered
projects/packages/search/src/dashboard/hooks/use-connection.jsx 0/7 (0.00%) 0.00% 2 ❤️‍🩹
projects/packages/backup/src/js/hooks/useConnection.js 0/4 (0.00%) 0.00% 1 ❤️‍🩹
projects/plugins/automattic-for-agencies-client/src/js/components/admin-page/index.jsx 0/18 (0.00%) 0.00% 1 ❤️‍🩹
projects/plugins/jetpack/_inc/client/main.jsx 50/88 (56.82%) -0.65% 1 ❤️‍🩹
projects/plugins/jetpack/extensions/blocks/map/mapkit/hooks/index.js 46/148 (31.08%) -0.21% 1 ❤️‍🩹
projects/js-packages/connection/components/transfer-connection-ownership/index.tsx 20/20 (100.00%) 0.00% 0 💚
projects/js-packages/connection/components/transfer-connection-ownership/use-ownership-transfer.ts 67/71 (94.37%) 0.08% 0 💚
projects/js-packages/connection/components/use-connection/index.ts 28/32 (87.50%) 0.83% 0 💚
projects/js-packages/connection/hooks/use-product-checkout-workflow/index.tsx 51/69 (73.91%) 0.38% 0 💚
projects/js-packages/connection/hooks/use-restore-connection/index.tsx 23/24 (95.83%) 0.18% 0 💚
projects/packages/assets/src/class-shared-stores-assets.php 10/10 (100.00%) 0.00% 0 💚
projects/packages/connection/src/connectors/js/connectors-card.js 308/354 (87.01%) 0.04% 0 💚
projects/packages/connection/src/js/jetpack-connection.js 1/1 (100.00%) 0.00% 0 💚
projects/packages/my-jetpack/_inc/components/connection-status-card/index.tsx 33/45 (73.33%) 0.61% 0 💚
projects/packages/my-jetpack/_inc/components/my-jetpack-tab-panel/features/feature-state.ts 112/113 (99.12%) 0.02% 0 💚
projects/packages/my-jetpack/_inc/hooks/use-connection-state/index.ts 35/35 (100.00%) 0.00% 0 💚
projects/plugins/automattic-for-agencies-client/src/js/components/disconnected-card/index.jsx 7/8 (87.50%) 1.79% 0 💚
projects/plugins/starter-plugin/src/js/components/admin-page/index.jsx 10/10 (100.00%) 0.00% 0 💚
projects/js-packages/api/index.jsx 32/146 (21.92%) 4.56% -5 💚
projects/js-packages/connection/state/store-id.jsx 0/0 (—%) 0.00% 0 💚
projects/js-packages/connection/state/store.jsx 0/0 (—%) 12.50% -1 💚
New files
File Coverage
projects/js-packages/jetpack-shared-stores/src/store/connection/selectors.jsx 14/21 (66.67%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/actions.jsx 73/88 (82.95%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/reducers.jsx 54/60 (90.00%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/index.jsx 16/17 (94.12%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/controls.jsx 17/18 (94.44%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/decode-initial-state.jsx 27/27 (100.00%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/resolvers.jsx 8/8 (100.00%) 💚
projects/js-packages/jetpack-shared-stores/src/store/connection/store-id.jsx 1/1 (100.00%) 💚