@fuzdev/fuz_app 0.183.0 → 0.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/actions/CLAUDE.md +538 -1223
  2. package/dist/actions/action_codegen.d.ts +1 -1
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +3 -2
  5. package/dist/actions/connection_closer.d.ts +11 -9
  6. package/dist/actions/connection_closer.d.ts.map +1 -1
  7. package/dist/actions/connection_closer.js +11 -9
  8. package/dist/actions/frontend_rpc_client.d.ts +1 -1
  9. package/dist/actions/register_action_ws.d.ts +21 -1
  10. package/dist/actions/register_action_ws.d.ts.map +1 -1
  11. package/dist/actions/register_action_ws.js +2 -1
  12. package/dist/actions/ws_socket_session.d.ts +25 -4
  13. package/dist/actions/ws_socket_session.d.ts.map +1 -1
  14. package/dist/actions/ws_socket_session.js +81 -25
  15. package/dist/auth/CLAUDE.md +433 -1048
  16. package/dist/auth/account_queries.d.ts +1 -1
  17. package/dist/auth/account_queries.js +1 -1
  18. package/dist/auth/account_routes.d.ts +4 -5
  19. package/dist/auth/account_routes.d.ts.map +1 -1
  20. package/dist/auth/account_routes.js +8 -10
  21. package/dist/auth/admin_actions.d.ts.map +1 -1
  22. package/dist/auth/admin_actions.js +10 -11
  23. package/dist/auth/api_token.d.ts +20 -3
  24. package/dist/auth/api_token.d.ts.map +1 -1
  25. package/dist/auth/api_token.js +28 -9
  26. package/dist/auth/api_token_queries.d.ts +2 -2
  27. package/dist/auth/api_token_queries.js +2 -2
  28. package/dist/auth/audit_log_routes.d.ts +1 -1
  29. package/dist/auth/audit_log_routes.d.ts.map +1 -1
  30. package/dist/auth/audit_log_routes.js +3 -2
  31. package/dist/auth/audit_log_schema.d.ts +15 -9
  32. package/dist/auth/audit_log_schema.d.ts.map +1 -1
  33. package/dist/auth/audit_log_schema.js +1 -2
  34. package/dist/auth/auth_guard_resolver.d.ts +1 -1
  35. package/dist/auth/auth_guard_resolver.js +1 -1
  36. package/dist/auth/bearer_auth.d.ts +2 -5
  37. package/dist/auth/bearer_auth.d.ts.map +1 -1
  38. package/dist/auth/bearer_auth.js +4 -13
  39. package/dist/auth/bootstrap_account.d.ts +13 -15
  40. package/dist/auth/bootstrap_account.d.ts.map +1 -1
  41. package/dist/auth/bootstrap_account.js +9 -11
  42. package/dist/auth/bootstrap_routes.d.ts +20 -21
  43. package/dist/auth/bootstrap_routes.d.ts.map +1 -1
  44. package/dist/auth/bootstrap_routes.js +21 -19
  45. package/dist/auth/bootstrap_token_store.d.ts +3 -4
  46. package/dist/auth/bootstrap_token_store.d.ts.map +1 -1
  47. package/dist/auth/bootstrap_token_store.js +1 -1
  48. package/dist/auth/cleanup.d.ts +34 -3
  49. package/dist/auth/cleanup.d.ts.map +1 -1
  50. package/dist/auth/cleanup.js +11 -3
  51. package/dist/auth/daemon_token.d.ts +5 -1
  52. package/dist/auth/daemon_token.d.ts.map +1 -1
  53. package/dist/auth/daemon_token_middleware.d.ts +12 -8
  54. package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
  55. package/dist/auth/daemon_token_middleware.js +15 -21
  56. package/dist/auth/deps.d.ts +11 -0
  57. package/dist/auth/deps.d.ts.map +1 -1
  58. package/dist/auth/invite_queries.d.ts +51 -3
  59. package/dist/auth/invite_queries.d.ts.map +1 -1
  60. package/dist/auth/invite_queries.js +81 -6
  61. package/dist/auth/invite_schema.d.ts +2 -1
  62. package/dist/auth/invite_schema.d.ts.map +1 -1
  63. package/dist/auth/middleware.d.ts +2 -3
  64. package/dist/auth/middleware.d.ts.map +1 -1
  65. package/dist/auth/middleware.js +3 -3
  66. package/dist/auth/request_context.d.ts +3 -3
  67. package/dist/auth/request_context.js +3 -3
  68. package/dist/auth/role_grant_offer_actions.d.ts +2 -2
  69. package/dist/auth/role_grant_offer_actions.js +2 -2
  70. package/dist/auth/session_cookie.d.ts +82 -174
  71. package/dist/auth/session_cookie.d.ts.map +1 -1
  72. package/dist/auth/session_cookie.js +80 -130
  73. package/dist/auth/session_middleware.d.ts +8 -17
  74. package/dist/auth/session_middleware.d.ts.map +1 -1
  75. package/dist/auth/session_middleware.js +14 -23
  76. package/dist/auth/session_queries.d.ts +9 -14
  77. package/dist/auth/session_queries.d.ts.map +1 -1
  78. package/dist/auth/session_queries.js +8 -9
  79. package/dist/auth/signup_routes.d.ts.map +1 -1
  80. package/dist/auth/signup_routes.js +4 -6
  81. package/dist/db/CLAUDE.md +5 -3
  82. package/dist/dev/setup.d.ts +3 -1
  83. package/dist/dev/setup.d.ts.map +1 -1
  84. package/dist/dev/setup.js +3 -1
  85. package/dist/http/CLAUDE.md +315 -768
  86. package/dist/http/db_routes.d.ts +1 -1
  87. package/dist/http/db_routes.js +1 -1
  88. package/dist/http/origin.d.ts +7 -8
  89. package/dist/http/origin.d.ts.map +1 -1
  90. package/dist/http/origin.js +7 -8
  91. package/dist/http/pending_effects.d.ts +82 -4
  92. package/dist/http/pending_effects.d.ts.map +1 -1
  93. package/dist/http/pending_effects.js +82 -4
  94. package/dist/http/route_result.d.ts +1 -1
  95. package/dist/http/route_spec.d.ts +17 -14
  96. package/dist/http/route_spec.d.ts.map +1 -1
  97. package/dist/realtime/audit_log_sse.d.ts +1 -1
  98. package/dist/realtime/sse.d.ts +6 -25
  99. package/dist/realtime/sse.d.ts.map +1 -1
  100. package/dist/realtime/sse.js +4 -25
  101. package/dist/realtime/sse_constants.d.ts +1 -1
  102. package/dist/realtime/sse_constants.js +1 -1
  103. package/dist/server/app_backend.d.ts +4 -5
  104. package/dist/server/app_backend.d.ts.map +1 -1
  105. package/dist/server/app_backend.js +3 -1
  106. package/dist/server/app_server.d.ts +87 -76
  107. package/dist/server/app_server.d.ts.map +1 -1
  108. package/dist/server/app_server.js +111 -91
  109. package/dist/server/app_server_context.d.ts +1 -2
  110. package/dist/server/app_server_context.d.ts.map +1 -1
  111. package/dist/server/env.js +2 -2
  112. package/dist/server/shutdown_drain.d.ts +69 -0
  113. package/dist/server/shutdown_drain.d.ts.map +1 -0
  114. package/dist/server/shutdown_drain.js +77 -0
  115. package/dist/testing/CLAUDE.md +89 -57
  116. package/dist/testing/admin_integration.d.ts +4 -5
  117. package/dist/testing/admin_integration.d.ts.map +1 -1
  118. package/dist/testing/admin_integration.js +39 -23
  119. package/dist/testing/app_server.d.ts +3 -8
  120. package/dist/testing/app_server.d.ts.map +1 -1
  121. package/dist/testing/app_server.js +10 -9
  122. package/dist/testing/attack_surface.d.ts +1 -1
  123. package/dist/testing/attack_surface.d.ts.map +1 -1
  124. package/dist/testing/audit_completeness.d.ts +2 -3
  125. package/dist/testing/audit_completeness.d.ts.map +1 -1
  126. package/dist/testing/audit_completeness.js +1 -1
  127. package/dist/testing/cross_backend/bootstrap_backend.d.ts +3 -1
  128. package/dist/testing/cross_backend/bootstrap_backend.d.ts.map +1 -1
  129. package/dist/testing/cross_backend/bootstrap_backend.js +5 -1
  130. package/dist/testing/cross_backend/capability_mounts.d.ts.map +1 -1
  131. package/dist/testing/cross_backend/capability_mounts.js +16 -11
  132. package/dist/testing/cross_backend/conformance_table.d.ts +5 -6
  133. package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
  134. package/dist/testing/cross_backend/conformance_table.js +4 -4
  135. package/dist/testing/cross_backend/cookie_attributes.js +1 -1
  136. package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts +10 -1
  137. package/dist/testing/cross_backend/create_dual_spawn_global_setup.d.ts.map +1 -1
  138. package/dist/testing/cross_backend/create_dual_spawn_global_setup.js +33 -7
  139. package/dist/testing/cross_backend/default_backend_configs.d.ts +3 -3
  140. package/dist/testing/cross_backend/default_spine_surface.d.ts +0 -6
  141. package/dist/testing/cross_backend/default_spine_surface.d.ts.map +1 -1
  142. package/dist/testing/cross_backend/default_spine_surface.js +4 -9
  143. package/dist/testing/cross_backend/differential.d.ts +2 -3
  144. package/dist/testing/cross_backend/differential.d.ts.map +1 -1
  145. package/dist/testing/cross_backend/differential.js +1 -1
  146. package/dist/testing/cross_backend/full_spine_mount.d.ts +1 -42
  147. package/dist/testing/cross_backend/full_spine_mount.d.ts.map +1 -1
  148. package/dist/testing/cross_backend/full_spine_mount.js +45 -4
  149. package/dist/testing/cross_backend/in_process_setup.d.ts +7 -8
  150. package/dist/testing/cross_backend/in_process_setup.d.ts.map +1 -1
  151. package/dist/testing/cross_backend/in_process_setup.js +10 -13
  152. package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
  153. package/dist/testing/cross_backend/rpc_success_fixtures.js +2 -1
  154. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts +3 -4
  155. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  156. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +2 -2
  157. package/dist/testing/cross_backend/setup.d.ts +1 -1
  158. package/dist/testing/cross_backend/spawn_backend.d.ts +14 -0
  159. package/dist/testing/cross_backend/spawn_backend.d.ts.map +1 -1
  160. package/dist/testing/cross_backend/spawn_backend.js +56 -8
  161. package/dist/testing/cross_backend/spine_suites.d.ts +18 -16
  162. package/dist/testing/cross_backend/spine_suites.d.ts.map +1 -1
  163. package/dist/testing/cross_backend/spine_suites.js +38 -18
  164. package/dist/testing/cross_backend/standard.d.ts +19 -84
  165. package/dist/testing/cross_backend/standard.d.ts.map +1 -1
  166. package/dist/testing/cross_backend/standard.js +8 -23
  167. package/dist/testing/cross_backend/standard_auth.d.ts +74 -0
  168. package/dist/testing/cross_backend/standard_auth.d.ts.map +1 -0
  169. package/dist/testing/cross_backend/standard_auth.js +28 -0
  170. package/dist/testing/cross_backend/standard_bundle.d.ts +48 -0
  171. package/dist/testing/cross_backend/standard_bundle.d.ts.map +1 -0
  172. package/dist/testing/cross_backend/standard_bundle.js +43 -0
  173. package/dist/testing/cross_backend/testing_credential_read.d.ts +10 -11
  174. package/dist/testing/cross_backend/testing_credential_read.d.ts.map +1 -1
  175. package/dist/testing/cross_backend/testing_credential_read.js +12 -12
  176. package/dist/testing/cross_backend/testing_reset_actions.d.ts +46 -30
  177. package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
  178. package/dist/testing/cross_backend/testing_reset_actions.js +52 -31
  179. package/dist/testing/cross_backend/testing_server_bun.d.ts.map +1 -1
  180. package/dist/testing/cross_backend/testing_server_bun.js +5 -4
  181. package/dist/testing/cross_backend/testing_server_core.d.ts +16 -3
  182. package/dist/testing/cross_backend/testing_server_core.d.ts.map +1 -1
  183. package/dist/testing/cross_backend/testing_server_core.js +22 -7
  184. package/dist/testing/cross_backend/ts_spine_backend_config.d.ts +6 -2
  185. package/dist/testing/cross_backend/ts_spine_backend_config.d.ts.map +1 -1
  186. package/dist/testing/cross_backend/ts_spine_backend_config.js +7 -3
  187. package/dist/testing/daemon_token_rotation.d.ts.map +1 -1
  188. package/dist/testing/daemon_token_rotation.js +2 -3
  189. package/dist/testing/error_coverage.d.ts +5 -0
  190. package/dist/testing/error_coverage.d.ts.map +1 -1
  191. package/dist/testing/error_coverage.js +2 -1
  192. package/dist/testing/integration.d.ts +6 -23
  193. package/dist/testing/integration.d.ts.map +1 -1
  194. package/dist/testing/integration.js +53 -83
  195. package/dist/testing/integration_helpers.d.ts +16 -0
  196. package/dist/testing/integration_helpers.d.ts.map +1 -1
  197. package/dist/testing/integration_helpers.js +29 -1
  198. package/dist/testing/middleware_gate_probes.d.ts +55 -1
  199. package/dist/testing/middleware_gate_probes.d.ts.map +1 -1
  200. package/dist/testing/middleware_gate_probes.js +69 -3
  201. package/dist/testing/rate_limiting.d.ts +2 -3
  202. package/dist/testing/rate_limiting.d.ts.map +1 -1
  203. package/dist/testing/rate_limiting.js +3 -3
  204. package/dist/testing/rpc_helpers.d.ts +1 -2
  205. package/dist/testing/rpc_helpers.d.ts.map +1 -1
  206. package/dist/testing/rpc_helpers.js +3 -3
  207. package/dist/testing/rpc_round_trip.d.ts +2 -3
  208. package/dist/testing/rpc_round_trip.d.ts.map +1 -1
  209. package/dist/testing/rpc_round_trip.js +1 -1
  210. package/dist/testing/sse_round_trip.d.ts +2 -3
  211. package/dist/testing/sse_round_trip.d.ts.map +1 -1
  212. package/dist/testing/sse_round_trip.js +2 -2
  213. package/dist/testing/stubs.d.ts +5 -6
  214. package/dist/testing/stubs.d.ts.map +1 -1
  215. package/dist/testing/stubs.js +10 -8
  216. package/dist/testing/test_app.d.ts +8 -5
  217. package/dist/testing/test_app.d.ts.map +1 -1
  218. package/dist/testing/test_app.js +7 -7
  219. package/dist/testing/ws_round_trip.d.ts.map +1 -1
  220. package/dist/testing/ws_round_trip.js +3 -0
  221. package/dist/ui/ui_format.d.ts.map +1 -1
  222. package/dist/ui/ui_format.js +1 -2
  223. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import '../assert_dev_env.js';
2
2
  import { type RoleRegistry } from '../../auth/role_schema.js';
3
- import type { SessionOptions } from '../../auth/session_cookie.js';
4
3
  import type { AppSurfaceSpec } from '../../http/surface.js';
5
4
  import { type RpcEndpointsSuiteOption } from '../rpc_helpers.js';
6
5
  import type { RpcSuccessFixtures } from '../rpc_round_trip.js';
@@ -40,7 +39,8 @@ import { type CrossProcessSetupOptions, type ReconstructedBootstrappedBackendHan
40
39
  import { type SimpleRequestCrossTestOptions } from './simple_request.js';
41
40
  import { type TestingBackdoorMethod } from './spine_surface_constants.js';
42
41
  import { type CrossProcessSseTestOptions } from './sse_round_trip.js';
43
- import { type StandardCrossProcessTestOptions } from './standard.js';
42
+ import { type StandardCrossTestOptions } from './standard.js';
43
+ import { type StandardAuthCrossTestOptions } from './standard_auth.js';
44
44
  import { type TestingBackdoorCrossTestOptions } from './testing_backdoor.js';
45
45
  import { type TokenLifetimeCrossTestOptions } from './token_lifetime.js';
46
46
  import { type TokenScopeSurfaceCrossTestOptions } from './token_scope_surface.js';
@@ -54,15 +54,16 @@ import { type CrossProcessWsTestOptions } from './ws_round_trip.js';
54
54
  /**
55
55
  * Every shipped suite `describe_spine_cross_suites` runs, each named by its
56
56
  * module under `testing/cross_backend/` (`ws_round_trip` is
57
- * `describe_cross_process_ws_tests`, `standard` the standard bundle). Closed: a
57
+ * `describe_cross_process_ws_tests`; `standard_auth` and `standard` the two
58
+ * halves of the standard bundle, its auth suites and the rest). Closed: a
58
59
  * guard test holds it, with `STANDALONE_CROSS_SUITES`, to every module that
59
60
  * exports a `describe_*` suite, so a new suite fails until it is registered.
60
61
  */
61
- export declare const SUITE_NAMES: readonly ["account_lifecycle", "actor_lookup", "app_settings", "body_size", "body_size_smuggling", "capability_mounts", "cell_crud", "cell_gated_create", "cell_grant_role", "cell_grant_steward", "cell_moderate", "cell_ref_admission", "cell_relations", "cookie_attributes", "credential_conformance", "credential_conformance_wire", "credential_deadline", "credential_header_robustness", "fact_serving", "identity_parity", "origin", "origin_conformance", "origin_scope", "peer_ping_ws", "query_shape", "ready", "request_header_conformance_wire", "request_target_conformance_wire", "role_grant_offer_enumeration", "role_grant_offer_lifecycle", "role_grant_offer_notification_ws", "role_grant_participation", "role_grant_role_grammar", "rooms_ws", "rpc_adversarial", "session_cap", "session_cookie_codec", "simple_request", "sse_round_trip", "standard", "testing_backdoor", "token_lifetime", "token_scope_surface", "transport_composition", "ws_connection_cap", "ws_envelope", "ws_inbound_dispatch", "ws_outbound_overflow", "ws_role_gated", "ws_round_trip"];
62
+ export declare const SUITE_NAMES: readonly ["account_lifecycle", "actor_lookup", "app_settings", "body_size", "body_size_smuggling", "capability_mounts", "cell_crud", "cell_gated_create", "cell_grant_role", "cell_grant_steward", "cell_moderate", "cell_ref_admission", "cell_relations", "cookie_attributes", "credential_conformance", "credential_conformance_wire", "credential_deadline", "credential_header_robustness", "fact_serving", "identity_parity", "origin", "origin_conformance", "origin_scope", "peer_ping_ws", "query_shape", "ready", "request_header_conformance_wire", "request_target_conformance_wire", "role_grant_offer_enumeration", "role_grant_offer_lifecycle", "role_grant_offer_notification_ws", "role_grant_participation", "role_grant_role_grammar", "rooms_ws", "rpc_adversarial", "session_cap", "session_cookie_codec", "simple_request", "sse_round_trip", "standard", "standard_auth", "testing_backdoor", "token_lifetime", "token_scope_surface", "transport_composition", "ws_connection_cap", "ws_envelope", "ws_inbound_dispatch", "ws_outbound_overflow", "ws_role_gated", "ws_round_trip"];
62
63
  /** A shipped single-backend cross suite, named by its module. */
63
64
  export type SuiteName = (typeof SUITE_NAMES)[number];
64
65
  /** A shipped suite module `describe_spine_cross_suites` leaves out. */
65
- export type StandaloneSuiteName = 'conformance_table' | 'differential' | 'login_security' | 'ws_action_rate_limit';
66
+ export type StandaloneSuiteName = 'conformance_table' | 'differential' | 'login_security' | 'standard_bundle' | 'ws_action_rate_limit';
66
67
  /**
67
68
  * The shipped suite modules `describe_spine_cross_suites` leaves out, each with
68
69
  * why. Their entry points stay as they are; a consumer calls them beside the
@@ -124,7 +125,8 @@ export interface SuiteOptionsMap {
124
125
  session_cookie_codec: SessionCookieCodecCrossTestOptions;
125
126
  simple_request: SimpleRequestCrossTestOptions;
126
127
  sse_round_trip: CrossProcessSseTestOptions;
127
- standard: StandardCrossProcessTestOptions;
128
+ standard: StandardCrossTestOptions;
129
+ standard_auth: StandardAuthCrossTestOptions;
128
130
  testing_backdoor: TestingBackdoorCrossTestOptions;
129
131
  token_lifetime: TokenLifetimeCrossTestOptions;
130
132
  token_scope_surface: TokenScopeSurfaceCrossTestOptions;
@@ -196,11 +198,11 @@ export interface SpineSuiteRoles {
196
198
  }
197
199
  /** Options for `describe_spine_cross_suites`. */
198
200
  export interface SpineCrossSuitesOptions {
199
- /** The declared surface — the standard bundle and `rpc_adversarial` enumerate it. */
201
+ /** The declared surface — `standard_auth`, `standard` and `rpc_adversarial` enumerate it. */
200
202
  readonly surface_source: AppSurfaceSpec;
201
- /** The backend's session config, for the standard bundle. */
202
- readonly session_options: SessionOptions<string>;
203
- /** The backend's RPC endpoints, for the standard bundle. */
203
+ /** The session cookie's name, for `standard_auth` and `standard`. */
204
+ readonly session_cookie_name: string;
205
+ /** The backend's RPC endpoints, for `standard_auth` and `standard`. */
204
206
  readonly rpc_endpoints: RpcEndpointsSuiteOption;
205
207
  /**
206
208
  * The RPC endpoints the backend live-mounts, for the methods it keeps off
@@ -210,7 +212,7 @@ export interface SpineCrossSuitesOptions {
210
212
  * still runs once, from the declared surface.
211
213
  */
212
214
  readonly live_rpc_endpoints?: RpcEndpointsSuiteOption;
213
- /** The backend's role registry; given, the standard bundle runs its admin suite. */
215
+ /** The backend's role registry; given, `standard_auth` runs its admin suite. */
214
216
  readonly roles?: RoleRegistry;
215
217
  /**
216
218
  * Setup options every suite's `setup_test` starts from — a signup path the
@@ -261,8 +263,8 @@ export interface SpineCrossSuitesOptions {
261
263
  * The backend's request-body cap on `rpc_path`, in bytes, when it isn't the
262
264
  * spine default (`SPINE_BODY_LIMIT_DEFAULT_BYTES`): the boundary
263
265
  * `body_size`, `body_size_smuggling`, `transport_composition`'s RPC
264
- * over-cap row and the standard bundle's body-limit probe of the RPC
265
- * endpoint probe.
266
+ * over-cap row and `standard`'s body-limit probe of the RPC endpoint
267
+ * probe.
266
268
  */
267
269
  readonly rpc_max_body_bytes?: number;
268
270
  /**
@@ -271,12 +273,12 @@ export interface SpineCrossSuitesOptions {
271
273
  * `ws_round_trip`'s oversized-message case sends past.
272
274
  */
273
275
  readonly ws_max_message_bytes?: number;
274
- /** Forwarded to the standard bundle (`StandardCrossProcessTestOptions.rpc_success_fixtures`). */
276
+ /** Forwarded to `standard` (`StandardCrossTestOptions.rpc_success_fixtures`). */
275
277
  readonly rpc_success_fixtures?: RpcSuccessFixtures;
276
- /** Forwarded to the standard bundle (`StandardCrossProcessTestOptions.rpc_skip_methods`). */
278
+ /** Forwarded to `standard` (`StandardCrossTestOptions.rpc_skip_methods`). */
277
279
  readonly rpc_skip_methods?: Array<string>;
278
280
  /**
279
- * Forwarded to the standard bundle (`StandardCrossProcessTestOptions.rpc_input_overrides`)
281
+ * Forwarded to `standard` (`StandardCrossTestOptions.rpc_input_overrides`)
280
282
  * and to `rpc_adversarial` (`RpcAdversarialCrossTestOptions.input_overrides`),
281
283
  * where each override seeds the method's params cases. Those cases are sent
282
284
  * as a single-actor principal, so an override omits `acting`. A key naming a
@@ -1 +1 @@
1
- {"version":3,"file":"spine_suites.d.ts","sourceRoot":"","sources":["../../../src/lib/testing/cross_backend/spine_suites.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAwG9B,OAAO,EAA2B,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAmC,KAAK,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAClG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAEN,KAAK,gCAAgC,EACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,KAAK,2BAA2B,EAChC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEN,KAAK,2BAA2B,EAChC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAkC,KAAK,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC/F,OAAO,EAEN,KAAK,iCAAiC,EACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAM7D,OAAO,EAGN,KAAK,gCAAgC,EACrC,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAIN,KAAK,6BAA6B,EAClC,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAEN,KAAK,gCAAgC,EACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEN,KAAK,kCAAkC,EACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEN,KAAK,qCAAqC,EAC1C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEN,KAAK,yCAAyC,EAC9C,MAAM,kCAAkC,CAAC;AAE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C,EAC9C,SAAS,uBAAuB,KAC9B,IAEF,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,0BAA0B,gDAAgD,CAAC"}
@@ -44,7 +44,7 @@ import '../assert_dev_env.js';
44
44
  * built on a derived value. A required option the merge leaves `undefined`
45
45
  * throws at collection.
46
46
  * - `rpc_success_fixtures` / `rpc_skip_methods` / `rpc_input_overrides` go to
47
- * the standard bundle's RPC round-trip; `rpc_input_overrides` also seeds
47
+ * the `standard` suite's RPC round-trip; `rpc_input_overrides` also seeds
48
48
  * `rpc_adversarial`'s params cases (each override is the valid base they
49
49
  * break one field of). A key naming a method on neither the declared surface
50
50
  * nor `live_rpc_endpoints` throws at collection.
@@ -55,7 +55,7 @@ import '../assert_dev_env.js';
55
55
  * seeds the holder each needs.
56
56
  *
57
57
  * **Inputs the handle doesn't carry.** The declared surface (`surface_source`,
58
- * `session_options`, `rpc_endpoints`, `roles`) is a required option. Paths and
58
+ * `session_cookie_name`, `rpc_endpoints`, `roles`) is a required option. Paths and
59
59
  * roles that name what the reference spines mount (the role-gated WS endpoint
60
60
  * and its roles) default to the `SPINE_*` constants, and a suite whose
61
61
  * capability flag is off never reaches them. Anything else a suite needs comes
@@ -135,7 +135,8 @@ import { default_cross_process_setup } from './setup.js';
135
135
  import { describe_simple_request_cross_tests } from './simple_request.js';
136
136
  import { SPINE_PARTICIPANT_ROLE, SPINE_ROLE_GATED_WS_PATH, SPINE_ROLE_GATED_WS_ROLES } from './spine_surface_constants.js';
137
137
  import { describe_cross_process_sse_tests } from './sse_round_trip.js';
138
- import { describe_standard_cross_process_tests } from './standard.js';
138
+ import { describe_standard_cross_tests } from './standard.js';
139
+ import { describe_standard_auth_cross_tests } from './standard_auth.js';
139
140
  import { describe_testing_backdoor_cross_tests } from './testing_backdoor.js';
140
141
  import { describe_token_lifetime_cross_tests } from './token_lifetime.js';
141
142
  import { describe_token_scope_surface_cross_tests } from './token_scope_surface.js';
@@ -150,7 +151,8 @@ import { DB_INVARIANTS_EXCLUDE_ALL } from '../db_invariant_queries.js';
150
151
  /**
151
152
  * Every shipped suite `describe_spine_cross_suites` runs, each named by its
152
153
  * module under `testing/cross_backend/` (`ws_round_trip` is
153
- * `describe_cross_process_ws_tests`, `standard` the standard bundle). Closed: a
154
+ * `describe_cross_process_ws_tests`; `standard_auth` and `standard` the two
155
+ * halves of the standard bundle, its auth suites and the rest). Closed: a
154
156
  * guard test holds it, with `STANDALONE_CROSS_SUITES`, to every module that
155
157
  * exports a `describe_*` suite, so a new suite fails until it is registered.
156
158
  */
@@ -195,6 +197,7 @@ export const SUITE_NAMES = [
195
197
  'simple_request',
196
198
  'sse_round_trip',
197
199
  'standard',
200
+ 'standard_auth',
198
201
  'testing_backdoor',
199
202
  'token_lifetime',
200
203
  'token_scope_surface',
@@ -215,7 +218,8 @@ export const STANDALONE_CROSS_SUITES = {
215
218
  differential: 'compares two backends: it needs both handles of a dual-spawn project, not one backend',
216
219
  login_security: 'needs a backend spawned with the login limiters enabled, which the standard suites would exhaust',
217
220
  ws_action_rate_limit: 'needs a backend spawned with the action limiters enabled, which the standard suites would exhaust',
218
- conformance_table: "a runner over the consumer's own cases, not a suite"
221
+ conformance_table: "a runner over the consumer's own cases, not a suite",
222
+ standard_bundle: 'runs `standard_auth` and `standard` in one call, which the registry runs as two suites'
219
223
  };
220
224
  /**
221
225
  * The backdoors `describe_spine_cross_suites` requires of every backend, since
@@ -696,7 +700,7 @@ const SUITE_ENTRIES = {
696
700
  setup_test: c.setup(),
697
701
  surface_source: c.options.surface_source,
698
702
  live_rpc_endpoints: c.options.live_rpc_endpoints &&
699
- resolve_rpc_endpoints_for_setup(c.options.live_rpc_endpoints, c.options.session_options),
703
+ resolve_rpc_endpoints_for_setup(c.options.live_rpc_endpoints, c.options.session_cookie_name),
700
704
  rpc_path: c.config.rpc_path,
701
705
  input_overrides: c.options.rpc_input_overrides
702
706
  }),
@@ -747,34 +751,50 @@ const SUITE_ENTRIES = {
747
751
  required: { setup_test: true, capabilities: true, base_url: true }
748
752
  },
749
753
  standard: {
750
- // a keeper-only account for the admin suite's keeper ≠ admin probe —
751
- // `ROLE_KEEPER` is bootstrap-only, so it is seeded at reset
752
754
  derive: (c) => ({
753
- setup_test: c.setup({
754
- extra_accounts: [{ username: 'non_admin_keeper', roles: [ROLE_KEEPER] }]
755
- }),
755
+ setup_test: c.setup(),
756
756
  surface_source: c.options.surface_source,
757
- capabilities: c.config.capabilities,
758
- session_options: c.options.session_options,
757
+ session_cookie_name: c.options.session_cookie_name,
759
758
  rpc_endpoints: c.options.rpc_endpoints,
760
- roles: c.options.roles,
761
759
  rpc_success_fixtures: c.options.rpc_success_fixtures,
762
760
  rpc_skip_methods: c.options.rpc_skip_methods,
763
761
  rpc_input_overrides: c.options.rpc_input_overrides,
764
762
  base_url: c.config.base_url,
765
763
  rpc_max_body_bytes: c.options.rpc_max_body_bytes
766
764
  }),
767
- describe: describe_standard_cross_process_tests,
765
+ describe: describe_standard_cross_tests,
768
766
  transcript: TRANSCRIPT_RAW_SOCKET,
769
767
  required: {
770
768
  setup_test: true,
771
769
  surface_source: true,
772
- session_options: true,
770
+ session_cookie_name: true,
773
771
  rpc_endpoints: true,
774
- capabilities: true,
775
772
  base_url: true
776
773
  }
777
774
  },
775
+ standard_auth: {
776
+ // a keeper-only account for the admin suite's keeper ≠ admin probe —
777
+ // `ROLE_KEEPER` is bootstrap-only, so it is seeded at reset
778
+ derive: (c) => ({
779
+ setup_test: c.setup({
780
+ extra_accounts: [{ username: 'non_admin_keeper', roles: [ROLE_KEEPER] }]
781
+ }),
782
+ surface_source: c.options.surface_source,
783
+ capabilities: c.config.capabilities,
784
+ session_cookie_name: c.options.session_cookie_name,
785
+ rpc_endpoints: c.options.rpc_endpoints,
786
+ roles: c.options.roles
787
+ }),
788
+ describe: describe_standard_auth_cross_tests,
789
+ transcript: 'http',
790
+ required: {
791
+ setup_test: true,
792
+ surface_source: true,
793
+ session_cookie_name: true,
794
+ rpc_endpoints: true,
795
+ capabilities: true
796
+ }
797
+ },
778
798
  testing_backdoor: {
779
799
  derive: (c) => ({ ...rpc_gated(c), ws: c.ws }),
780
800
  describe: describe_testing_backdoor_cross_tests,
@@ -981,7 +1001,7 @@ const validate_spine_cross_suites_options = (options, declared, backdoor_skips,
981
1001
  methods.add(method.name);
982
1002
  }
983
1003
  if (options.live_rpc_endpoints) {
984
- const live = resolve_rpc_endpoints_for_setup(options.live_rpc_endpoints, options.session_options);
1004
+ const live = resolve_rpc_endpoints_for_setup(options.live_rpc_endpoints, options.session_cookie_name);
985
1005
  for (const endpoint of live) {
986
1006
  for (const action of endpoint.actions)
987
1007
  methods.add(action.spec.method);
@@ -1,54 +1,22 @@
1
1
  import '../assert_dev_env.js';
2
2
  /**
3
- * One call wiring the standard suites that run against a spawned backend —
4
- * the ones whose option shape is `{setup_test, surface_source, capabilities, ...}`
5
- * and whose bodies fire requests through `fixture.transport` rather than
6
- * touching the in-process `Backend`. Consumers wire one call against a
7
- * spawned binary instead of repeating the sibling calls per file.
8
- *
9
- * **Suites included** — always run:
10
- *
11
- * - `describe_standard_integration_tests`
12
- * - `describe_round_trip_validation`
13
- * - `describe_rpc_round_trip_tests`
14
- * - `describe_data_exposure_tests`
15
- *
16
- * **Gated on `roles`** — included when the consumer supplies a
17
- * `RoleRegistry`:
18
- *
19
- * - `describe_standard_admin_integration_tests`
20
- *
21
- * **Suites omitted** — the ones that don't survive a process boundary,
22
- * documented here so per-consumer files don't have to repeat the
23
- * bookkeeping:
24
- *
25
- * - `describe_rate_limiting_tests` — builds a fresh `TestApp` per test to
26
- * inject tight per-test rate-limiter overrides. That path requires
27
- * in-process construction of `Backend` + rate limiter; the spawned
28
- * binary has neither knob nor restart-per-test budget.
29
- * - `describe_audit_completeness_tests` — reaches into FK-structural
30
- * introspection that only the in-process backend exposes. Wire-level
31
- * audit observability lives in the consumer's own audit `.cross.test.ts`
32
- * driving `audit_log_list` / `audit_log_role_grant_history`.
3
+ * The standard suites against a spawned backend that fuz_app's transcript
4
+ * differential can't run: `describe_middleware_gate_tests`, whose probes write
5
+ * raw request heads over a socket, and `describe_round_trip_validation`,
6
+ * `describe_rpc_round_trip_tests` and `describe_data_exposure_tests`, which
7
+ * build fixtures outside a test. The standard auth suites, which it can, are
8
+ * `standard_auth.ts`; `describe_standard_cross_process_tests`
9
+ * (`standard_bundle.ts`) runs both in one call.
33
10
  *
34
11
  * @module
35
12
  */
36
- import type { SessionOptions } from '../../auth/session_cookie.js';
37
- import type { RoleRegistry } from '../../auth/role_schema.js';
38
13
  import type { AppSurfaceSpec } from '../../http/surface.js';
39
14
  import { type RpcSuccessFixtures } from '../rpc_round_trip.js';
40
15
  import type { RpcEndpointsSuiteOption } from '../rpc_helpers.js';
41
- import type { BackendCapabilities } from './capabilities.js';
42
- import type { UncoveredEntry } from '../error_coverage.js';
43
16
  import type { SetupTest, TestFixture } from './setup.js';
44
17
  import type { RouteParamValues } from '../schema_generators.js';
45
- /**
46
- * Configuration for `describe_standard_cross_process_tests`.
47
- *
48
- * The in-process suites' shared options minus their in-process-only knobs
49
- * (`create_route_specs`, `rate_limiting_app_options`).
50
- */
51
- export interface StandardCrossProcessTestOptions {
18
+ /** Configuration for `describe_standard_cross_tests`. */
19
+ export interface StandardCrossTestOptions {
52
20
  /** Per-test fixture-producing function. */
53
21
  setup_test: SetupTest;
54
22
  /**
@@ -56,59 +24,27 @@ export interface StandardCrossProcessTestOptions {
56
24
  * in-process and cross-process tests.
57
25
  */
58
26
  surface_source: AppSurfaceSpec;
59
- /**
60
- * Backend capability declarations. Forwarded to the one bundled suite
61
- * that gates on them (`describe_standard_integration_tests`); the other
62
- * suites in the bundle read no flags and take no capability field.
63
- */
64
- capabilities: BackendCapabilities;
65
- /** Session config — needed for cookie_name + factory-form rpc_endpoints resolution. */
66
- session_options: SessionOptions<string>;
67
- /**
68
- * RPC endpoint specs — required. The standard integration tests drive
69
- * `account_verify`, `account_session_*`, `account_token_*` through the
70
- * RPC surface (and admin tests, when wired, drive role_grant grant/revoke
71
- * through it too).
72
- */
27
+ /** The session cookie's name — read for the factory-form `rpc_endpoints` resolution. */
28
+ session_cookie_name: string;
29
+ /** RPC endpoint specs — the RPC round trip drives every method on them. */
73
30
  rpc_endpoints: RpcEndpointsSuiteOption;
74
- /**
75
- * Role registry from `create_role_registry()`.
76
- * When provided, the admin integration suite is included.
77
- */
78
- roles?: RoleRegistry;
79
- /**
80
- * Path prefix where admin routes are mounted.
81
- * Default `'/api/admin'`.
82
- */
83
- admin_prefix?: string;
84
- /**
85
- * Forwarded to `describe_standard_integration_tests` — overrides the
86
- * default error-coverage threshold on the scoped REST surface. Set to
87
- * `0` to skip the assertion entirely.
88
- */
89
- error_coverage_min?: number;
90
31
  /**
91
32
  * Base URL the spawned backend is reachable at. Forwarded to
92
- * `describe_standard_integration_tests`, whose middleware-gate probes write
93
- * their request heads to the socket.
33
+ * `describe_middleware_gate_tests`, whose probes write their request heads
34
+ * to the socket.
94
35
  */
95
36
  base_url: string;
96
37
  /**
97
- * Forwarded to `describe_standard_integration_tests` — the backend's
38
+ * Forwarded to `describe_middleware_gate_tests` — the backend's
98
39
  * request-body cap on every counted route but the RPC endpoint, when it
99
40
  * isn't the spine default.
100
41
  */
101
42
  max_body_bytes?: number;
102
43
  /**
103
- * Forwarded to `describe_standard_integration_tests` — the backend's
44
+ * Forwarded to `describe_middleware_gate_tests` — the backend's
104
45
  * request-body cap on the RPC endpoint, when it isn't `max_body_bytes`.
105
46
  */
106
47
  rpc_max_body_bytes?: number;
107
- /**
108
- * Forwarded to `describe_standard_integration_tests` — called with the
109
- * declared error paths of its counted routes it never observed.
110
- */
111
- check_uncovered_errors?: (uncovered: Array<UncoveredEntry>) => void;
112
48
  /**
113
49
  * Forwarded to `describe_round_trip_validation` as `skip_routes`
114
50
  * (`'METHOD /path'` keys). For consumer REST routes whose responses
@@ -167,9 +103,8 @@ export interface StandardCrossProcessTestOptions {
167
103
  }>>;
168
104
  }
169
105
  /**
170
- * Run the cross-process standard test bundle — integration, admin (when
171
- * `roles` provided), round trip, RPC round trip, data exposure. See the
172
- * module doc for the suites omitted from this bundle and why.
106
+ * Run the standard suites the transcript can't — the middleware-gate probes,
107
+ * round trip, RPC round trip, data exposure.
173
108
  */
174
- export declare const describe_standard_cross_process_tests: (options: StandardCrossProcessTestOptions) => void;
109
+ export declare const describe_standard_cross_tests: (options: StandardCrossTestOptions) => void;
175
110
  //# sourceMappingURL=standard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../src/lib/testing/cross_backend/standard.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,EAAiC,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE9F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B;IAC/C,2CAA2C;IAC3C,UAAU,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;;;OAIG;IACH,YAAY,EAAE,mBAAmB,CAAC;IAClC,uFAAuF;IACvF,eAAe,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;IACxC;;;;;O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AC,CAAC;IAC3D;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,GAAG,CAC1B,MAAM,EACN,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CACnF,CAAC;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,GAAI,SAAS,wBAAwB,KAAG,IAgCjF,CAAC"}
@@ -1,26 +1,21 @@
1
1
  import '../assert_dev_env.js';
2
- import { describe_standard_integration_tests } from '../integration.js';
3
- import { describe_standard_admin_integration_tests } from '../admin_integration.js';
2
+ import { describe_middleware_gate_tests } from '../middleware_gate_probes.js';
4
3
  import { describe_round_trip_validation } from '../round_trip.js';
5
4
  import { describe_rpc_round_trip_tests } from '../rpc_round_trip.js';
6
5
  import { describe_data_exposure_tests } from '../data_exposure.js';
7
6
  /**
8
- * Run the cross-process standard test bundle — integration, admin (when
9
- * `roles` provided), round trip, RPC round trip, data exposure. See the
10
- * module doc for the suites omitted from this bundle and why.
7
+ * Run the standard suites the transcript can't — the middleware-gate probes,
8
+ * round trip, RPC round trip, data exposure.
11
9
  */
12
- export const describe_standard_cross_process_tests = (options) => {
13
- describe_standard_integration_tests({
10
+ export const describe_standard_cross_tests = (options) => {
11
+ describe_middleware_gate_tests({
14
12
  setup_test: options.setup_test,
15
13
  surface_source: options.surface_source,
16
- capabilities: options.capabilities,
17
- session_options: options.session_options,
14
+ session_cookie_name: options.session_cookie_name,
18
15
  rpc_endpoints: options.rpc_endpoints,
19
- error_coverage_min: options.error_coverage_min,
20
16
  base_url: options.base_url,
21
17
  max_body_bytes: options.max_body_bytes,
22
- rpc_max_body_bytes: options.rpc_max_body_bytes,
23
- check_uncovered_errors: options.check_uncovered_errors
18
+ rpc_max_body_bytes: options.rpc_max_body_bytes
24
19
  });
25
20
  describe_round_trip_validation({
26
21
  setup_test: options.setup_test,
@@ -32,7 +27,7 @@ export const describe_standard_cross_process_tests = (options) => {
32
27
  describe_rpc_round_trip_tests({
33
28
  setup_test: options.setup_test,
34
29
  surface_source: options.surface_source,
35
- session_options: options.session_options,
30
+ session_cookie_name: options.session_cookie_name,
36
31
  rpc_endpoints: options.rpc_endpoints,
37
32
  skip_methods: options.rpc_skip_methods,
38
33
  input_overrides: options.rpc_input_overrides,
@@ -44,14 +39,4 @@ export const describe_standard_cross_process_tests = (options) => {
44
39
  skip_routes: options.data_exposure_skip_routes,
45
40
  param_values: options.param_values
46
41
  });
47
- if (options.roles) {
48
- describe_standard_admin_integration_tests({
49
- setup_test: options.setup_test,
50
- surface_source: options.surface_source,
51
- session_options: options.session_options,
52
- roles: options.roles,
53
- rpc_endpoints: options.rpc_endpoints,
54
- admin_prefix: options.admin_prefix
55
- });
56
- }
57
42
  };
@@ -0,0 +1,74 @@
1
+ import '../assert_dev_env.js';
2
+ /**
3
+ * The standard auth suites against a spawned backend:
4
+ * `describe_standard_integration_tests`, and
5
+ * `describe_standard_admin_integration_tests` when the consumer supplies a
6
+ * `RoleRegistry`. Every request they send goes through the fixture
7
+ * transports, each test building its own fixture, so fuz_app's transcript
8
+ * differential runs them — the login, session, token and invite verbs each
9
+ * diffed request by request, and the database each test leaves.
10
+ *
11
+ * The rest of the standard suites — the middleware-gate probes, written to a
12
+ * raw socket, and the round trips and data exposure, which build fixtures
13
+ * outside a test — are `describe_standard_cross_tests` (`standard.ts`);
14
+ * `describe_standard_cross_process_tests` (`standard_bundle.ts`) runs both.
15
+ *
16
+ * @module
17
+ */
18
+ import type { RoleRegistry } from '../../auth/role_schema.js';
19
+ import type { AppSurfaceSpec } from '../../http/surface.js';
20
+ import type { RpcEndpointsSuiteOption } from '../rpc_helpers.js';
21
+ import type { UncoveredEntry } from '../error_coverage.js';
22
+ import type { BackendCapabilities } from './capabilities.js';
23
+ import type { SetupTest } from './setup.js';
24
+ /** Configuration for `describe_standard_auth_cross_tests`. */
25
+ export interface StandardAuthCrossTestOptions {
26
+ /** Per-test fixture-producing function. */
27
+ setup_test: SetupTest;
28
+ /**
29
+ * App surface. Constructed in TS by the consumer; same shape for
30
+ * in-process and cross-process tests.
31
+ */
32
+ surface_source: AppSurfaceSpec;
33
+ /**
34
+ * Backend capability declarations, read by the integration suite's gated
35
+ * cases.
36
+ */
37
+ capabilities: BackendCapabilities;
38
+ /** The session cookie's name — read for the session cookie and the factory-form `rpc_endpoints` resolution. */
39
+ session_cookie_name: string;
40
+ /**
41
+ * RPC endpoint specs — required. The integration suite drives
42
+ * `account_verify`, `account_session_*` and `account_token_*` through the
43
+ * RPC surface, and the admin suite, when wired, the admin and role-grant
44
+ * verbs.
45
+ */
46
+ rpc_endpoints: RpcEndpointsSuiteOption;
47
+ /**
48
+ * Role registry from `create_role_registry()`.
49
+ * When provided, the admin integration suite is included.
50
+ */
51
+ roles?: RoleRegistry;
52
+ /**
53
+ * Path prefix where admin routes are mounted.
54
+ * Default `'/api/admin'`.
55
+ */
56
+ admin_prefix?: string;
57
+ /**
58
+ * Forwarded to `describe_standard_integration_tests` — overrides the
59
+ * default error-coverage threshold on the scoped REST surface. Set to
60
+ * `0` to skip the assertion entirely.
61
+ */
62
+ error_coverage_min?: number;
63
+ /**
64
+ * Forwarded to `describe_standard_integration_tests` — called with the
65
+ * declared error paths of its counted routes it never observed.
66
+ */
67
+ check_uncovered_errors?: (uncovered: Array<UncoveredEntry>) => void;
68
+ }
69
+ /**
70
+ * Run the standard auth suites against a spawned backend — integration, and
71
+ * admin when `roles` is provided.
72
+ */
73
+ export declare const describe_standard_auth_cross_tests: (options: StandardAuthCrossTestOptions) => void;
74
+ //# sourceMappingURL=standard_auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standard_auth.d.ts","sourceRoot":"","sources":["../../../src/lib/testing/cross_backend/standard_auth.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,8DAA8D;AAC9D,MAAM,WAAW,4BAA4B;IAC5C,2CAA2C;IAC3C,UAAU,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;;OAGG;IACH,YAAY,EAAE,mBAAmB,CAAC;IAClC,+GAA+G;IAC/G,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;;OAKG;IACH,aAAa,EAAE,uBAAuB,CAAC;IACvC;;;OAGG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACpE;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,GAAI,SAAS,4BAA4B,KAAG,IAoB1F,CAAC"}
@@ -0,0 +1,28 @@
1
+ import '../assert_dev_env.js';
2
+ import { describe_standard_integration_tests } from '../integration.js';
3
+ import { describe_standard_admin_integration_tests } from '../admin_integration.js';
4
+ /**
5
+ * Run the standard auth suites against a spawned backend — integration, and
6
+ * admin when `roles` is provided.
7
+ */
8
+ export const describe_standard_auth_cross_tests = (options) => {
9
+ describe_standard_integration_tests({
10
+ setup_test: options.setup_test,
11
+ surface_source: options.surface_source,
12
+ capabilities: options.capabilities,
13
+ session_cookie_name: options.session_cookie_name,
14
+ rpc_endpoints: options.rpc_endpoints,
15
+ error_coverage_min: options.error_coverage_min,
16
+ check_uncovered_errors: options.check_uncovered_errors
17
+ });
18
+ if (options.roles) {
19
+ describe_standard_admin_integration_tests({
20
+ setup_test: options.setup_test,
21
+ surface_source: options.surface_source,
22
+ session_cookie_name: options.session_cookie_name,
23
+ roles: options.roles,
24
+ rpc_endpoints: options.rpc_endpoints,
25
+ admin_prefix: options.admin_prefix
26
+ });
27
+ }
28
+ };