jif
6c729ef1c1
Refresh MCP runtimes when session auth changes ( #35146 )
...
## What changed
- Track the authentication state used by each published MCP runtime and mark the runtime dirty when the auth mode, account details, or token changes.
- Refresh plugin auth mode before evaluating pending MCP work, and rebuild the initial MCP projection if authentication changes during session startup.
- Carry one auth snapshot through runtime construction so plugin discovery and MCP connections use consistent credentials.
## Testing
- Add a regression test that replaces an API key, reloads authentication, and verifies that MCP refresh publishes a runtime using the new credentials.
GitOrigin-RevId: 219c2f7a157f53b5467116e18bfe70a8c3dca695
2026-07-24 09:50:41 +00:00
..
2026-07-02 10:59:00 -07:00
2026-06-09 12:48:04 -07:00
2026-07-23 19:19:35 +00:00
2026-07-21 22:44:43 +00:00
2026-07-23 22:31:53 +00:00
2026-05-07 15:44:17 -07:00
2026-07-24 04:37:01 +00:00
2026-07-22 21:35:16 +00:00
2026-07-21 08:50:21 +00:00
2026-07-23 23:21:33 +00:00
2026-07-22 22:54:28 +00:00
2026-07-23 19:19:35 +00:00
2026-07-22 02:19:45 +00:00
2026-07-21 08:59:41 +00:00
2026-06-11 18:16:39 -07:00
2026-05-08 04:07:59 +00:00
2026-07-21 15:00:18 +00:00
2026-06-13 21:43:39 -07:00
2026-07-23 01:00:35 +00:00
2026-07-24 04:37:01 +00:00
2026-07-22 02:26:16 +00:00
2026-07-22 01:35:06 +00:00
2026-07-21 08:28:51 +00:00
2026-06-11 18:16:39 -07:00
2026-07-24 04:37:01 +00:00
2026-07-24 04:37:01 +00:00
2026-07-24 04:37:01 +00:00
2026-07-23 19:32:26 +00:00
2026-07-07 13:00:44 -07:00
2026-07-07 01:12:24 +00:00
2026-05-07 15:44:17 -07:00
2026-06-15 20:10:53 -07:00
2026-07-24 09:50:41 +00:00
2026-06-21 13:35:25 -07:00
2026-07-24 00:10:22 +00:00
2026-07-23 01:00:35 +00:00
2026-06-22 11:11:25 -07:00
2026-07-24 09:50:41 +00:00
2026-07-24 06:03:36 +00:00
2026-07-24 05:59:16 +00:00
2026-07-24 05:59:16 +00:00
2026-06-05 15:41:13 -07:00
2026-07-23 22:31:53 +00:00
2026-07-24 00:53:05 +00:00
2026-07-23 23:35:29 +00:00
2026-07-20 06:13:29 +00:00
2026-07-24 05:59:16 +00:00
2026-07-23 17:51:12 +00:00
2026-07-24 01:20:04 +00:00
2026-07-22 16:50:09 +00:00
2026-05-07 15:44:17 -07:00
2026-07-23 23:35:29 +00:00
2026-05-28 23:09:55 -07:00
2026-07-22 02:19:45 +00:00
2026-07-20 20:06:58 +00:00
2026-07-23 23:25:53 +00:00
2026-07-08 12:17:58 -04:00
2026-06-12 19:52:49 +00:00
2026-07-23 19:32:26 +00:00
2026-07-22 04:17:34 +00:00
2026-07-23 00:02:15 +00:00
2026-07-23 23:13:59 +00:00
2026-07-23 19:19:35 +00:00
2026-07-17 20:52:42 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 00:02:15 +00:00
2026-07-22 06:09:10 +00:00
2026-07-22 00:31:30 +00:00
2026-06-04 09:53:08 -04:00
2026-07-20 16:25:57 +00:00
2026-07-24 05:59:16 +00:00
2026-05-25 17:26:10 -03:00
2026-07-22 19:14:11 +00:00
2026-07-24 01:20:04 +00:00
2026-05-07 15:44:17 -07:00
2026-07-24 00:53:05 +00:00
2026-07-23 19:19:35 +00:00
2026-07-23 23:13:59 +00:00
2026-07-21 21:06:04 +00:00
2026-05-26 20:59:47 -07:00
2026-06-12 19:52:49 +00:00
2026-07-23 21:50:17 +00:00
2026-06-25 13:56:08 -07:00
2026-07-20 23:22:48 +00:00
2026-07-23 21:17:45 +00:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-07-24 00:10:22 +00:00
2026-07-23 23:18:06 +00:00
2026-07-22 21:00:01 +00:00
2026-07-23 23:21:33 +00:00
2026-05-07 15:44:17 -07:00
2026-07-24 05:59:16 +00:00
2026-07-22 16:18:08 +00:00
2026-06-13 21:43:39 -07:00
2026-07-24 00:16:42 +00:00
2026-07-24 01:34:56 +00:00
2026-07-09 17:31:44 -07:00
2026-07-24 04:37:01 +00:00
2026-07-23 19:24:41 +00:00
2026-07-11 03:27:51 +00:00
2026-07-24 00:53:05 +00:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00