Alex Zamoshchin
6a8a81166a
Refresh plugin recommendations after installed state changes ( #62610 )
...
## Why
Recommendation lookups poll the plugin service for a tooling-state marker even when the cached catalog can still be reused. Install flows and installed-plugin snapshots already give Codex signals to refresh recommendations.
## What changed
Remove tooling-state polling and refresh recommendations on the next lookup after a known install event or a change to the installed plugin inventory or enabled state. Invalidate all product SKUs for the affected plugin service and account scope. If the account changes while a remote install prompt is open, invalidate both account scopes when the user accepts.
Concurrent lookups share a catalog fetch. If a refresh fails, keep serving the last successful result when available and retry on the next lookup.
## Testing
Cover invalidation across accounts, backends, and product SKUs, retention of the last catalog after a failed refresh, and isolation from fetches that complete after invalidation. Update the remote install integration test to exercise the next turn without waiting for the poll interval.
GitOrigin-RevId: 5d2ba84d1118e9346308bf6225543e0e174f8125
2026-11-19 22:16:30 +00:00
..
2026-11-19 21:06:08 +00:00
2026-11-13 00:29:24 +00:00
2026-11-17 03:28:51 +00:00
2026-11-19 20:43:32 +00:00
2026-11-18 14:26:53 +00:00
2026-11-19 20:43:32 +00:00
2026-11-03 02:37:20 +00:00
2026-10-30 18:20:57 +00:00
2026-11-19 20:43:32 +00:00
2026-11-15 00:39:00 +00:00
2026-11-19 01:27:01 +00:00
2026-11-11 23:36:19 +00:00
2026-11-18 15:24:29 +00:00
2026-11-18 15:24:29 +00:00
2026-11-18 04:41:01 +00:00
2026-11-19 00:17:19 +00:00
2026-11-19 22:00:52 +00:00
2026-11-19 21:45:13 +00:00
2026-11-19 21:45:13 +00:00
2026-11-19 20:43:32 +00:00
2026-11-19 22:16:30 +00:00
2026-11-18 20:29:59 +00:00
2026-11-19 17:33:26 +00:00
2026-11-14 05:00:21 +00:00
2026-11-12 22:43:14 +00:00
2026-11-04 16:34:49 +00:00
2026-11-04 16:34:49 +00:00
2026-11-04 16:34:49 +00:00
2026-10-26 21:15:23 +00:00
2026-10-26 21:15:23 +00:00
2026-11-14 15:44:38 +00:00
2026-11-17 03:28:51 +00:00
2026-11-06 22:27:23 +00:00
2026-11-19 21:06:08 +00:00
2026-11-14 15:44:38 +00:00
2026-11-19 01:14:54 +00:00
2026-11-19 09:36:18 +00:00
2026-10-28 21:34:25 +00:00
2026-11-19 09:37:29 +00:00
2026-11-19 09:37:29 +00:00
2026-11-17 04:08:00 +00:00
2026-11-19 20:43:32 +00:00
2026-11-19 21:45:13 +00:00
2026-11-14 19:40:12 +00:00
2026-11-04 13:03:01 +00:00
2026-11-13 18:46:13 +00:00
2026-11-14 19:40:12 +00:00
2026-11-06 04:33:14 +00:00
2026-11-19 20:43:32 +00:00
2026-11-04 00:19:12 +00:00
2026-11-04 00:19:12 +00:00
2026-11-19 17:46:53 +00:00
2026-11-13 18:46:13 +00:00
2026-11-17 04:08:00 +00:00
2026-11-17 05:35:07 +00:00
2026-11-17 04:08:00 +00:00
2026-11-18 20:42:18 +00:00
2026-11-18 20:42:18 +00:00
2026-11-13 21:51:53 +00:00
2026-11-13 21:51:53 +00:00
2026-11-19 22:00:52 +00:00
2026-11-04 09:51:28 +00:00
2026-11-03 02:37:20 +00:00
2026-11-03 02:37:20 +00:00
2026-11-04 04:02:00 +00:00
2026-11-13 00:29:24 +00:00
2026-10-08 13:45:19 +00:00
2026-11-03 11:14:59 +00:00
2026-10-14 19:47:50 +00:00
2026-11-12 23:51:52 +00:00
2026-11-19 01:16:07 +00:00
2026-11-19 00:17:19 +00:00
2026-11-14 23:53:23 +00:00
2026-10-07 03:07:51 +00:00
2026-11-18 21:56:16 +00:00
2026-11-03 02:37:20 +00:00
2026-11-17 16:56:34 +00:00
2026-11-17 16:56:34 +00:00
2026-11-18 14:26:53 +00:00
2026-11-13 18:44:31 +00:00
2026-11-17 13:38:34 +00:00
2026-11-19 21:45:13 +00:00
2026-11-05 03:49:13 +00:00
2026-11-11 23:36:19 +00:00
2026-11-18 20:42:18 +00:00
2026-11-19 21:06:08 +00:00
2026-11-11 23:36:19 +00:00
2026-11-11 23:36:19 +00:00
2026-11-16 03:40:21 +00:00
2026-11-14 23:50:12 +00:00
2026-11-07 07:45:36 +00:00
2026-11-19 21:06:08 +00:00
2026-11-18 11:01:02 +00:00
2026-11-18 09:55:30 +00:00
2026-11-17 21:10:09 +00:00
2026-11-17 04:08:00 +00:00
2026-11-10 11:17:06 +00:00
2026-11-14 02:23:37 +00:00
2026-11-18 15:24:29 +00:00
2026-11-18 15:24:29 +00:00
2026-11-18 15:24:29 +00:00
2026-11-18 15:24:29 +00:00
2026-10-27 12:17:14 +00:00
2026-11-17 01:59:51 +00:00
2026-11-19 21:06:08 +00:00
2026-11-18 18:11:54 +00:00
2026-11-19 17:46:53 +00:00
2026-11-07 10:41:36 +00:00
2026-11-07 10:41:36 +00:00
2026-10-17 04:02:21 +00:00
2026-10-16 17:31:47 +00:00
2026-10-16 17:31:47 +00:00
2026-11-19 03:03:32 +00:00
2026-11-18 06:22:36 +00:00
2026-11-18 03:59:37 +00:00
2026-11-13 18:48:18 +00:00
2026-11-04 01:15:38 +00:00
2026-11-07 02:01:23 +00:00
2026-11-16 23:26:42 +00:00
2026-11-15 00:03:59 +00:00
2026-11-15 00:03:59 +00:00
2026-11-19 21:06:08 +00:00
2026-10-30 18:34:10 +00:00
2026-11-19 20:26:00 +00:00
2026-11-19 20:43:32 +00:00
2026-10-10 01:25:00 +00:00
2026-11-18 15:24:29 +00:00
2026-11-19 18:39:32 +00:00
2026-11-18 12:55:14 +00:00
2026-11-16 14:18:24 +00:00
2026-11-16 14:18:24 +00:00
2026-11-19 21:06:08 +00:00
2026-11-19 06:03:09 +00:00
2026-11-18 20:29:59 +00:00
2026-11-18 20:29:59 +00:00
2026-10-17 04:02:21 +00:00
2026-11-18 17:09:03 +00:00