Skip to content

feat: cross-user KV share grants and handles (PUT-1686) - #3690

Merged
Salazareo merged 1 commit into
mainfrom
DS/put-1686
Sep 4, 2026
Merged

feat: cross-user KV share grants and handles (PUT-1686)#3690
Salazareo merged 1 commit into
mainfrom
DS/put-1686

Conversation

@Salazareo

Copy link
Copy Markdown
Member

Stacked on DS/put-1685 — review only this PR's diff; merges bottom-up.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 93.8%
⬆️ +0.01%
28465 / 30345
🔵 Statements 91.83%
⬇️ -0.01%
30891 / 33637
🔵 Functions 90.3%
⬆️ +0.06%
5187 / 5744
🔵 Branches 80.74%
🟰 ±0%
20521 / 25414
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/backend/types.ts 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/backend/clients/database/SqliteDatabaseClient.ts 89.14%
🟰 ±0%
57.45%
🟰 ±0%
81.6%
🟰 ±0%
95.58%
🟰 ±0%
6, 9, 13, 16, 24-26, 32, 33, 34, 38-39, 44, 45, 46, 47, 48, 243-245, 493-496, 511
src/backend/controllers/auth/AuthController.ts 90.79%
⬆️ +0.01%
79.25%
🟰 ±0%
77.96%
⬆️ +0.19%
91.73%
🟰 ±0%
6, 24-26, 32, 33, 34, 38-39, 44, 45, 47, 475-477, 491-493, 621-622, 696-698, 715-717, 859, 921-925, 943, 985-990, 999, 1010, 1025-1030, 1036, 1080-1081, 1084-1089, 1232, 1263-1264, 1283-1287, 1325-1327, 1329-1331, 1379, 1407-1418, 1493-1495, 1508, 1568-1570, 1604, 1617-1619, 1645-1647, 1678, 1682-1684, 1782, 1868, 1927, 1972, 2031, 2044-2047, 2089-2091, 2109-2112, 2166-2168, 2180-2182, 2198-2200, 2214-2217, 2223, 2242, 2253, 2374-2378, 2407, 2438-2440, 2452-2458, 2518-2523, 2602-2604, 2667, 2705, 2746-2748, 2814, 2844, 2923-2925, 2927-2929, 2933-2936, 2949-2952, 3017-3022, 3025-3027, 3054, 3073, 3091, 3109, 3122, 3145, 3157, 3174, 3184, 3195, 3249, 3382-3386, 3408-3410, 3424, 3427-3431, 3507
src/backend/controllers/events/EventsController.ts 84.12%
⬇️ -1.24%
49.65%
🟰 ±0%
64.86%
⬇️ -1.80%
90.32%
⬇️ -1.90%
6, 24-26, 32, 33, 34, 38-39, 44, 45, 47, 150-153, 192-194, 200-202
src/backend/controllers/events/limits.ts 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/backend/services/events/EventsService.ts 88.13%
⬇️ -0.18%
81.78%
⬇️ -0.82%
92%
⬆️ +0.46%
93.7%
⬆️ +0.04%
693-696, 776, 827, 845-848, 874-877, 883, 889, 902-905, 923, 986, 1005, 1013, 1099, 1123, 1131, 1139, 1150, 1180, 1182, 1201-1202, 1217, 1253, 1255, 1260, 1281, 1283, 1305, 1383, 1387-1388, 1404, 1409, 1443, 1446, 1519, 1524, 1551, 1553, 1557, 1564, 1623-1626, 1628-1631, 1636-1639, 1674, 1697, 1698, 1701, 1748-1751, 1756-1759, 1784, 1812, 1830-1834, 1866-1870, 1901, 1916, 1928, 1944, 1963, 1976, 2003, 2011, 2035, 2041, 2064, 2066, 2071, 2081, 2092, 2098, 2181, 2206, 2218-2222, 2240-2241, 2259, 2304-2306, 2341, 2413, 2421-2422, 2451, 2519, 2540, 2563, 2593, 2596, 2597, 2602, 2627, 2660, 2663, 2665, 2692, 2698, 2847, 2862, 2918, 2995, 3021, 3030, 3041, 3047, 3090-3091, 3095, 3178, 3184, 3234, 3245, 3247, 3263, 3296-3303, 3331-3335, 3357, 3365, 3373, 3383, 3476-3479, 3540, 3617, 3677-3681, 3740, 3751-3756, 3853, 3876, 3890, 3904, 3949, 3952, 3962, 3975, 3988-3989, 4017, 4050, 4059-4060, 4169, 4226-4228, 4239-4242, 4260-4261, 4271-4272
src/backend/services/events/anchors.ts 90.47%
⬇️ -1.42%
83.33%
⬇️ -1.96%
100%
🟰 ±0%
92.3%
⬇️ -1.81%
148, 173-175, 217-219, 282-284
src/backend/services/events/authorization.ts 90.9%
⬇️ -2.52%
86.95%
⬇️ -3.52%
100%
🟰 ±0%
96%
⬇️ -0.92%
136, 139, 207, 255, 257, 297, 301, 398
src/backend/services/events/kvShares.ts 96.82% 94.73% 100% 98.21% 143, 210
src/backend/services/events/subjects.ts 99.27%
⬆️ +0.14%
97.16%
⬆️ +0.65%
100%
🟰 ±0%
100%
🟰 ±0%
128
src/backend/stores/index.ts 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/backend/stores/events/DurableSubscriptionStore.ts 95.02%
🟰 ±0%
87.15%
🟰 ±0%
93.18%
🟰 ±0%
97.04%
🟰 ±0%
210, 214, 364, 405, 424, 695-700, 729-742
src/backend/stores/events/KvShareHandleStore.ts 100% 62.5% 100% 100%
src/backend/stores/events/types.ts 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/backend/stores/systemKv/SystemKVStore.ts 95.88%
🟰 ±0%
83.94%
🟰 ±0%
98.3%
🟰 ±0%
97.43%
🟰 ±0%
103, 129-131, 175, 184, 185, 225, 263, 279-280, 300-305, 318, 329, 354-357, 390, 431, 433-434, 466, 470, 522, 560, 977, 1053-1055, 1075, 1219, 1352, 1367
Generated in workflow #1510 for commit 56cc271 by the Vitest Coverage Report Action

@Salazareo
Salazareo force-pushed the DS/put-1686 branch 2 times, most recently from 3fc8b8d to d9b35fb Compare September 3, 2026 22:07
Base automatically changed from DS/put-1685 to main September 3, 2026 22:39
@Salazareo
Salazareo force-pushed the DS/put-1686 branch 3 times, most recently from 129b9ce to 248f743 Compare September 4, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant