hishtory/client
David Dworken e50f4d164b
Fix race condition in TUI code for handling async queries
If someone types in "l" and then "s" to search for "ls", then this will dispatch two async queries. If the query for "l" finishes after the query for "ls", then this will lead to the results for "l" getting incorrectly displayed. In practice, this is quite rare for human typing speeds so I had never noticed this. But, it causes an issue for test flakes and is the root cause of many of my recent changes around test flakes. Fixing this should improve test reliability significantly.
2023-10-24 22:52:52 -07:00
..
cmd Add support for running hishtory redact while offline, even though this may lead to syncing inconsistency bugs 2023-10-22 11:43:56 -07:00
data Swap interface{} to any 2023-10-07 15:11:49 -07:00
hctx Always include user and device ID in API request headers, so that they're available in all server-side handlers 2023-10-14 10:52:51 -07:00
lib Add support for running hishtory redact while offline, even though this may lead to syncing inconsistency bugs 2023-10-22 11:43:56 -07:00
table Revert "Revert all commits since v0.223 to enable me to release a patch on top of v0.223" 2023-09-29 18:21:23 -07:00
test_metrics_exporter Close dd stats 2023-10-23 19:26:25 -07:00
tui Fix race condition in TUI code for handling async queries 2023-10-24 22:52:52 -07:00
client_test.go Revert "Increase delays for testTui/search since it is the flakiest test" since I figured out the source of the flakes 2023-10-24 22:47:36 -07:00
fuzz_test.go Revert "Revert all commits since v0.223 to enable me to release a patch on top of v0.223" 2023-09-29 18:21:23 -07:00
testutils.go Refactor code to strip out the shell prefix to a separate function 2023-10-23 12:24:43 -07:00