Neil
55697aec91
fix(cli): keep remote read-only commands working when environment usage can't be recorded ( #39052 )
...
* fix(cli): keep read-only commands working when environment usage can't be recorded
The CLI recorded each environment's last-used time with a strict store write,
so a profile whose directory refuses chmod (EPERM) failed commands whose reply
had already arrived. The desktop already skipped such failures in one path.
Move that best-effort recorder to shared code and route every desktop and CLI
usage write through it.
Fixes #38673
* test: assert the usage write failure, not call counts
Refs #38673
* test: skip the chmod EPERM case on Windows and drop a cast
Refs #38673
2026-11-06 05:53:10 -08:00
..
2026-10-29 22:55:19 -07:00
2026-11-06 05:53:10 -08:00
2026-11-05 18:08:51 -08:00
2026-11-03 20:19:21 -08:00
2026-11-05 18:43:44 -08:00
2026-11-06 05:53:10 -08:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-05-14 23:13:37 -07:00
2026-11-05 11:58:24 -08:00
2026-11-06 05:53:10 -08:00
2026-11-03 09:40:16 -08:00
2026-10-23 08:54:49 -07:00
2026-10-27 01:28:20 -07:00
2026-10-12 08:36:28 -07:00
2026-10-08 05:36:25 -07:00
2026-10-23 08:54:49 -07:00
2026-11-05 16:02:19 -08:00
2026-10-27 01:28:20 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-29 22:55:19 -07:00
2026-10-29 22:55:19 -07:00
2026-10-23 08:54:49 -07:00
2026-11-01 12:08:34 -08:00
2026-11-03 09:25:28 -08:00
2026-10-31 01:23:25 -04:00
2026-10-25 02:51:13 -07:00
2026-10-20 19:54:55 -07:00
2026-11-06 05:53:10 -08:00
2026-10-29 22:55:19 -07:00
2026-10-29 22:55:19 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-29 22:55:19 -07:00
2026-11-03 20:19:21 -08:00
2026-07-29 11:31:35 -07:00
2026-10-23 08:54:49 -07:00
2026-11-06 05:15:02 +00:00
2026-10-31 17:15:16 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-11-03 11:07:43 -08:00
2026-10-29 22:55:19 -07:00
2026-10-16 01:01:50 -07:00
2026-10-12 08:28:58 -07:00
2026-10-23 08:54:49 -07:00
2026-10-25 02:51:13 -07:00
2026-11-05 16:41:49 -08:00
2026-10-23 17:34:11 -07:00
2026-10-23 08:54:49 -07:00
2026-10-16 01:01:50 -07:00
2026-10-23 08:54:49 -07:00
2026-10-11 22:00:50 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-11 22:00:50 -07:00
2026-10-23 08:54:49 -07:00
2026-10-12 03:23:49 -07:00
2026-10-11 06:10:50 -07:00
2026-10-23 08:54:49 -07:00
2026-10-20 19:54:55 -07:00
2026-10-20 01:34:52 -07:00
2026-11-05 17:53:55 -08:00
2026-11-05 16:41:49 -08:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-11 03:55:24 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 08:54:49 -07:00
2026-11-02 17:34:32 -08:00
2026-10-12 03:23:49 -07:00
2026-10-23 08:54:49 -07:00
2026-10-23 17:34:11 -07:00
2026-11-01 01:24:37 -08:00
2026-11-03 09:56:05 -08:00
2026-11-03 20:19:21 -08:00
2026-11-01 21:12:57 -08:00
2026-11-01 21:12:57 -08:00
2026-10-15 22:21:36 -07:00
2026-10-30 01:37:01 -07:00
2026-11-05 18:08:51 -08:00
2026-07-29 11:31:35 -07:00
2026-10-30 01:37:01 -07:00
2026-11-03 20:19:21 -08:00
2026-11-03 20:19:21 -08:00
2026-11-06 03:44:40 +00:00