teknium1
0ddeaf9334
test: pin REST profile scoping with real multi-profile activation
...
The destructive-route file covered 3 of the 12 gated routes and faked the
gate itself (`monkeypatch` on `is_multiplex_active`), which left the boot
wiring the whole 400 branch rests on untested.
* All 12 destructive/privileged routes are parametrized through the refusal
case, and the refusal now asserts the ABSENCE of the effect (no spawn, no
session store opened, no file touched) instead of the detail wording.
* Multi-profile hosting is armed for real: `activate_multi_profile_hosting_eagerly()`
(the boot probe) for the refusal cases, plus a test that a cross-profile
request is itself the lazy activation. An autouse fixture enters each test
single-profile and restores the process-global flag and frozen launch-env
snapshot, so the one-way flip cannot leak into the single-profile-host test.
* New coverage for the scoping that had none: PUT /api/dashboard/plugin-providers,
POST /api/local-models/quickstart, memory-provider readiness judged inside the
write scope, and one invariant each for status/actions/config_env/memory_providers.
* web: ?profile= on /api/credentials, the serving-profile fallback for
getManagementProfile/fetchJSON, authedFetch going through withManagementProfile,
and initialProfileScope's URL > bootstrap > serving precedence.
Every new assertion was proven red against the PR's own previous head
(ac3d794) or, for the scoping introduced there, against the pre-PR base.
2026-09-21 09:59:11 -07:00
..
2026-09-21 15:55:09 +05:30
2026-09-21 07:14:37 -07:00
2026-09-20 13:21:24 -07:00
2026-09-20 10:06:50 -07:00
2026-09-21 15:55:09 +05:30
2026-09-21 15:55:09 +05:30
2026-09-21 15:55:09 +05:30
2026-09-19 09:38:01 -07:00
2026-09-19 09:33:05 -07:00
2026-09-19 12:11:59 -07:00
2026-09-19 09:40:56 -07:00
2026-09-19 00:59:44 -07:00
2026-09-19 10:29:37 -07:00
2026-09-18 10:17:59 -07:00
2026-09-20 10:18:48 -07:00
2026-09-21 09:55:40 -07:00
2026-09-20 22:46:49 -04:00
2026-09-19 09:23:22 -07:00
2026-09-19 09:31:28 -07:00
2026-09-20 20:13:41 -07:00
2026-09-21 01:44:42 -07:00
2026-09-20 18:20:44 -07:00
2026-09-21 15:55:09 +05:30
2026-09-20 20:42:17 -07:00
2026-09-20 15:56:33 -07:00
2026-09-21 10:04:32 +05:30
2026-09-19 01:43:15 -07:00
2026-09-18 10:24:15 -07:00
2026-09-20 13:35:09 -07:00
2026-09-20 16:23:22 -07:00
2026-09-20 20:42:17 -07:00
2026-09-19 09:43:20 -07:00
2026-09-20 09:20:51 -07:00
2026-09-19 03:15:10 -07:00
2026-09-19 09:40:23 -07:00
2026-09-20 11:48:28 -07:00
2026-09-19 10:22:33 -07:00
2026-09-18 10:00:29 -07:00
2026-09-19 09:30:56 -07:00
2026-09-19 09:30:56 -07:00
2026-09-21 09:55:40 -07:00
2026-09-21 16:21:00 +05:30
2026-09-20 12:44:48 -07:00
2026-09-21 01:45:08 -07:00
2026-09-18 12:44:32 -07:00
2026-09-20 18:54:24 -07:00
2026-09-20 20:13:33 -07:00
2026-09-19 16:28:57 +05:30
2026-09-21 05:06:45 -07:00
2026-09-18 12:46:54 -07:00
2026-09-21 05:06:45 -07:00
2026-09-20 15:17:49 +05:30
2026-09-20 11:19:50 -07:00
2026-09-19 10:26:08 -07:00
2026-09-19 02:38:49 -07:00
2026-09-18 15:12:27 -07:00
2026-09-20 10:49:13 -07:00
2026-09-20 11:12:12 -07:00
2026-09-20 18:26:14 -07:00
2026-09-20 16:41:21 +05:30
2026-09-20 11:52:04 -07:00
2026-09-20 10:05:53 -07:00
2026-09-18 10:38:08 -07:00
2026-09-20 15:57:25 -07:00
2026-09-19 09:29:18 -07:00
2026-09-21 01:57:05 -07:00
2026-09-20 12:15:07 -07:00
2026-09-18 09:56:28 -07:00
2026-09-20 20:13:25 -07:00
2026-09-20 00:19:04 +05:30
2026-09-19 12:30:32 -07:00
2026-09-20 11:52:45 -07:00
2026-09-20 16:32:50 -07:00
2026-09-20 10:39:01 -07:00
2026-09-21 08:38:15 -07:00
2026-09-19 02:59:51 -07:00
2026-09-21 05:06:45 -07:00
2026-09-18 12:49:13 -07:00
2026-09-21 05:02:29 -07:00
2026-09-19 00:43:49 +05:30
2026-09-21 17:16:23 +05:30
2026-09-20 12:47:14 -07:00
2026-09-21 05:02:29 -07:00
2026-09-20 10:50:27 -07:00
2026-09-20 12:03:06 -07:00
2026-09-21 09:55:40 -07:00
2026-09-18 10:00:29 -07:00
2026-09-20 10:05:53 -07:00
2026-09-18 10:15:11 -07:00
2026-09-20 10:19:25 -07:00
2026-09-19 10:05:26 -07:00
2026-09-20 11:28:15 -07:00
2026-09-20 15:55:14 -07:00
2026-09-19 00:10:41 +05:30
2026-09-20 18:43:59 -07:00
2026-09-20 10:24:53 -07:00
2026-09-20 19:03:47 -07:00
2026-09-18 09:50:19 -07:00
2026-09-20 19:03:47 -07:00
2026-09-18 10:21:42 -07:00
2026-09-18 10:04:23 -07:00
2026-09-20 10:13:26 -07:00
2026-09-20 10:08:02 -07:00
2026-09-20 19:03:47 -07:00
2026-09-20 19:03:47 -07:00
2026-09-20 19:03:47 -07:00
2026-09-20 19:03:47 -07:00
2026-09-18 11:03:57 -07:00
2026-09-18 12:48:16 -07:00
2026-09-21 02:58:40 -07:00
2026-09-20 10:41:25 -07:00
2026-09-18 10:10:05 -07:00
2026-09-20 12:47:14 -07:00
2026-09-20 15:17:14 +05:30
2026-09-19 09:53:48 -07:00
2026-09-20 11:14:00 -07:00
2026-09-20 20:42:05 -07:00
2026-09-20 11:50:48 -07:00
2026-09-20 15:29:34 -07:00
2026-09-20 14:23:15 -07:00
2026-09-20 15:53:25 -07:00
2026-09-19 02:44:02 -07:00
2026-09-21 07:14:37 -07:00
2026-09-21 08:59:03 -07:00
2026-09-21 08:59:03 -07:00
2026-09-19 23:46:42 -07:00
2026-09-20 12:50:53 -07:00
2026-09-20 12:40:36 -07:00
2026-09-20 14:29:39 -07:00
2026-09-19 09:34:40 -07:00
2026-09-18 11:01:52 -07:00
2026-09-19 22:18:25 +05:30
2026-09-20 14:29:39 -07:00
2026-09-19 09:32:32 -07:00
2026-09-20 11:14:00 -07:00
2026-09-20 16:22:25 -07:00
2026-09-19 10:22:01 -07:00
2026-09-20 20:41:54 -07:00
2026-09-20 14:02:17 +05:30
2026-09-18 09:52:03 -07:00
2026-09-21 05:06:45 -07:00
2026-09-19 20:55:20 -07:00
2026-09-19 09:24:25 -07:00
2026-09-18 11:01:52 -07:00
2026-09-19 09:42:18 -07:00
2026-09-19 01:16:39 -07:00
2026-09-18 11:01:52 -07:00
2026-09-18 09:50:52 -07:00
2026-09-20 10:16:51 -07:00
2026-09-20 10:02:22 -07:00
2026-09-21 07:14:37 -07:00
2026-09-21 01:15:33 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 14:29:39 -07:00
2026-09-20 15:56:55 -07:00
2026-09-19 11:58:06 -07:00
2026-09-20 10:44:52 -07:00
2026-09-19 20:54:06 -07:00
2026-09-19 21:11:30 -07:00
2026-09-20 11:49:00 -07:00
2026-09-20 11:52:45 -07:00
2026-09-21 08:58:37 -07:00
2026-09-20 15:21:14 -07:00
2026-09-20 15:27:46 -07:00
2026-09-20 20:29:14 +05:30
2026-09-20 13:55:03 -07:00
2026-09-21 08:58:37 -07:00
2026-09-20 18:45:07 -07:00
2026-09-19 01:43:14 +05:30
2026-09-20 10:29:54 -07:00
2026-09-19 20:45:06 -07:00
2026-09-20 10:14:01 -07:00
2026-09-20 10:01:58 -07:00
2026-09-20 10:06:29 -07:00
2026-09-20 12:51:30 -07:00
2026-09-20 11:55:07 -07:00
2026-09-19 09:25:29 -07:00
2026-09-19 23:42:20 -07:00
2026-09-21 21:41:36 +05:30
2026-09-19 00:45:43 -07:00
2026-09-20 13:22:30 -07:00
2026-09-19 03:43:03 +05:30
2026-09-20 14:02:17 +05:30
2026-09-18 09:55:21 -07:00
2026-09-19 00:24:50 +05:30
2026-09-21 02:51:58 -07:00
2026-09-20 18:16:47 +05:30
2026-09-20 00:22:24 -07:00
2026-09-20 20:13:41 -07:00
2026-09-18 10:38:41 -07:00
2026-09-20 00:11:37 -07:00
2026-09-20 20:36:42 -07:00
2026-09-18 22:36:41 -07:00
2026-09-20 20:13:25 -07:00
2026-09-20 10:08:37 -07:00
2026-09-20 12:17:52 +05:30
2026-09-20 15:16:35 +05:30
2026-09-21 10:04:32 +05:30
2026-09-20 16:23:22 -07:00
2026-09-18 12:51:22 -07:00
2026-09-20 18:25:48 -07:00
2026-09-20 11:30:36 -07:00
2026-09-19 01:44:53 +05:30
2026-09-18 10:15:11 -07:00
2026-09-20 15:16:06 +05:30
2026-09-19 23:46:08 -07:00
2026-09-20 12:44:48 -07:00
2026-09-19 09:42:18 -07:00
2026-09-20 00:13:01 -07:00
2026-09-19 02:33:41 -07:00
2026-09-20 15:23:04 -07:00
2026-09-21 07:14:37 -07:00
2026-09-18 12:44:04 -07:00
2026-09-21 07:14:37 -07:00
2026-09-20 09:52:06 -07:00
2026-09-20 00:03:06 -07:00
2026-09-20 20:13:57 -07:00
2026-09-20 18:51:36 -07:00
2026-09-19 23:52:01 -07:00
2026-09-20 10:29:35 -07:00
2026-09-18 12:47:23 -07:00
2026-09-21 07:14:37 -07:00
2026-09-21 07:14:37 -07:00
2026-09-19 02:01:36 -07:00
2026-09-19 02:01:36 -07:00
2026-09-21 01:57:31 -07:00
2026-09-19 02:02:14 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 10:31:14 -07:00
2026-09-19 09:42:49 -07:00
2026-09-20 10:21:52 -07:00
2026-09-19 02:39:51 -07:00
2026-09-18 10:32:15 -07:00
2026-09-18 10:18:40 -07:00
2026-09-21 09:59:11 -07:00
2026-09-19 10:04:52 -07:00
2026-09-20 20:13:41 -07:00
2026-09-21 02:56:31 -07:00
2026-09-20 12:45:24 -07:00
2026-09-18 10:18:40 -07:00
2026-09-21 02:52:15 -07:00
2026-09-21 02:58:40 -07:00
2026-09-20 09:20:51 -07:00
2026-09-20 11:54:02 -07:00
2026-09-20 15:15:36 +05:30
2026-09-19 03:35:57 -07:00
2026-09-20 12:39:58 -07:00
2026-09-20 16:41:21 +05:30
2026-09-20 10:40:12 -07:00
2026-09-21 09:55:40 -07:00
2026-09-21 09:55:40 -07:00