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-23 19:19:35 +00:00
2026-07-21 22:44:43 +00:00
2026-07-23 22:31:53 +00: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-07-21 15:00:18 +00: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-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-24 09:50:41 +00:00
2026-07-24 00:10:22 +00:00
2026-07-23 01:00:35 +00: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-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-07-23 23:35:29 +00: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-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-07-20 16:25:57 +00:00
2026-07-24 05:59:16 +00:00
2026-07-22 19:14:11 +00:00
2026-07-24 01:20:04 +00: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-07-23 21:50:17 +00:00
2026-07-20 23:22:48 +00:00
2026-07-23 21:17:45 +00: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-07-24 05:59:16 +00:00
2026-07-22 16:18:08 +00:00
2026-07-24 00:16:42 +00:00
2026-07-24 01:34:56 +00: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