Garry Tan
472e79a28b
test(brain-sync): GSTACK_HOME isolation test compares mtime, not content
...
Pre-existing flaky test: the GSTACK_HOME-overrides-real-config test asserted
the real ~/.gstack/config.yaml does NOT contain "gbrain_sync_mode: full"
after the test. That fails for any user whose real config legitimately has
that key set from prior usage — the test's invariant is "the command did
not modify the real file," not "the real file lacks any specific value."
Switch to mtime + content snapshot: capture both BEFORE running the command,
then verify both are unchanged after. Also add a positive assertion that
the tmpHome config DID get the new key.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 21:01:46 -07:00
..
2026-04-25 21:01:46 -07:00
2026-04-23 07:25:20 -07:00
2026-03-18 23:57:59 -05:00
2026-04-19 17:50:31 +08:00
2026-04-19 17:50:31 +08:00
2026-04-19 17:50:31 +08:00
2026-04-25 21:01:46 -07:00
2026-04-08 22:21:28 -10:00
2026-04-23 07:25:20 -07:00
2026-03-23 23:05:22 -07:00
2026-04-18 12:30:54 +08:00
2026-04-19 08:38:19 +08:00
2026-03-30 22:07:50 -06:00
2026-04-18 15:05:42 +08:00
2026-04-16 10:41:38 -07:00
2026-04-23 07:25:20 -07:00
2026-04-05 02:02:06 -07:00
2026-04-18 15:05:42 +08:00
2026-04-18 15:05:42 +08:00
2026-04-18 15:05:42 +08:00
2026-03-18 23:57:59 -05:00
2026-04-17 00:45:13 -07:00
2026-04-18 15:05:42 +08:00
2026-04-06 00:47:04 -07:00
2026-03-29 17:02:01 -06:00
2026-04-19 08:38:19 +08:00
2026-04-17 00:45:13 -07:00
2026-04-18 15:05:42 +08:00
2026-04-18 15:05:42 +08:00
2026-04-16 15:39:44 -07:00
2026-03-26 23:21:27 -06:00
2026-04-18 12:30:54 +08:00
2026-04-18 23:58:59 +08:00
2026-04-19 08:38:19 +08:00
2026-04-19 08:38:19 +08:00
2026-04-19 17:50:31 +08:00
2026-04-23 09:10:59 -07:00
2026-04-19 08:38:19 +08:00
2026-03-23 06:57:22 -07:00
2026-03-26 11:08:31 -07:00
2026-03-23 10:17:33 -07:00
2026-03-31 23:08:22 -06:00
2026-04-19 05:44:39 +08:00
2026-04-22 01:06:22 -07:00
2026-04-23 07:25:20 -07:00
2026-04-18 15:05:42 +08:00
2026-04-19 05:44:39 +08:00
2026-03-23 10:17:33 -07:00
2026-03-23 10:17:33 -07:00
2026-03-30 22:07:50 -06:00
2026-04-16 10:41:38 -07:00
2026-04-19 08:38:19 +08:00
2026-04-04 15:32:20 -07:00
2026-04-07 00:23:36 -07:00
2026-03-31 23:08:22 -06:00
2026-03-26 17:31:53 -06:00
2026-03-13 21:08:12 -07:00
2026-04-16 10:41:38 -07:00
2026-04-22 01:06:22 -07:00
2026-04-19 17:50:31 +08:00
2026-04-22 01:06:22 -07:00
2026-03-29 21:43:36 -06:00
2026-04-01 00:50:42 -06:00
2026-04-23 07:25:20 -07:00
2026-03-27 00:44:37 -06:00
2026-04-18 15:05:42 +08:00
2026-04-18 15:05:42 +08:00
2026-04-06 14:41:06 -07:00
2026-04-18 15:05:42 +08:00