Commit Graph

59 Commits

Author SHA1 Message Date
adbd87a81e Clear out ~/.hishtory/ between test retries to ensure state is cleared for a fresh run 2023-09-04 21:16:22 -07:00
22abfbc733 Add overall test retries for all tests to make github action tests even more reliable 2023-09-04 19:30:38 -07:00
25eae144d8 Revert all tmpfs related commits, since running in a tmpfs doesn't seem to meaningfully improve test reliability 2023-09-04 18:03:46 -07:00
6950215427 Increase test timeout to account for copies being slower than renames 2023-09-02 19:47:59 -07:00
069705ef41 Move setting of TZ variable into Makefile so it is always set even if doing local development in a different timezone 2023-09-02 18:28:37 -07:00
9fdd676ed5 Increase test timeout since github actions tests are slow on macos 2023-08-30 11:13:18 -07:00
f9da1bf8b6 Rewrite makefile for deploy-static to work from my arm macbook. The docker compose rm is needed because hishtory-static has a volume that was getting reused 2023-02-28 21:22:35 -08:00
f502cbee1d Fix memory leak caused by not closing resp.Body (#62) and also fix the server to work when the DD integration is disabled 2022-12-23 17:17:44 -08:00
63a9f67771 Rm the hishtory binary before docker build to avoid wasting time transferring it 2022-12-17 21:26:18 -08:00
1e7f5d9119 Add clean for the test cache for make ftest target 2022-12-16 21:18:37 -08:00
53a417296e Improve backup and restore env function + fix makefile with quotes + remove the zdotdir created file 2022-11-13 16:53:37 -08:00
072a0d0a18 Add ftest command for filter testing 2022-11-13 06:34:41 -08:00
5cd403a22b Add HISHTORY_SKIP_INIT_IMPORT to makefile to see if that fixes github action tests 2022-11-12 07:42:27 -08:00
6f53fdd41e Better handling for control-c with control-r search in the shell + update bubbletea 2022-11-11 16:42:07 -08:00
e520b23858 Improve history importing to not double import HISTFILE + improve tests 2022-11-11 18:12:23 -05:00
21a7a48afb Migrate to logrus so we can auto-rotate the log file 2022-11-09 16:14:44 -08:00
fadc8ad70e go test -v to make it so I can monitor github actions 2022-11-05 23:57:16 -07:00
e46221f893 Revert all the windows+freebsd commits since they seem to be hopelessly broken 2022-11-04 23:14:34 -07:00
02b093c56d Increase test timeout for windows tests 2022-11-04 23:09:48 -07:00
18e7580b71 Add ssh command to finish the deploy-static make command 2022-11-03 18:17:43 -07:00
c4a66bb428 Remove -v from make test for shorter output 2022-10-23 15:07:28 -07:00
f3758dc376 Add fix for the weird zsh bug + disable tmate 2022-10-23 00:36:23 -07:00
f2d5026282 Add docker compose integration to the makefile 2022-10-18 14:45:17 -07:00
ad809efef6 Migrate hishtory from k8s to docker compose 2022-10-18 11:53:35 -07:00
8e6a55237c Try running all tests in github actions with a longer timeout 2022-10-09 19:04:03 -07:00
e91e6ab237 Add longer timeout for running tests because github actions on macos are slow 2022-09-27 22:02:55 -07:00
9895a5c677 Improve copy function error checking + delete make fuzz because of https://github.com/golang/go/issues/52569 2022-09-22 23:20:21 -07:00
4e4caef10f Add initial implementation of fuzz testing that fuzzes multiple devices and multiple users 2022-09-22 23:06:28 -07:00
55f0f97d29 Fix tests for importing so they pass on github actions 2022-09-17 21:56:39 -07:00
8d93d08f80 Update make release command for new release system 2022-06-04 20:35:01 -07:00
1da703e9c2 Working update code for macos 2022-05-26 23:45:08 -07:00
93e59f37ec Fix downloading the xattr file 2022-04-25 22:21:17 -07:00
d214395dfd Tag the commit containing the xattrs 2022-04-25 20:59:12 -07:00
10ee085d4c Remove unnecessary set -m calls, speed up the local make acttest command, embed ReleaseVersion into the test server to fix the test failures on macos, and update install to be resistant to bashrc and zshrc not existing 2022-04-19 21:05:54 -07:00
15bec30315 Add fake event with head_commit to restore the ability to run the github action test locally 2022-04-17 21:47:49 -07:00
be6ccbbcc6 Add untested update operation that works with the new releases 2022-04-17 12:30:46 -07:00
e98783d30f Add server-side code to handle updates for non-linux 2022-04-17 12:02:56 -07:00
4036a4594b Add config for building/releasing binaries for other OSs 2022-04-17 11:44:57 -07:00
a827455be7 Better commit message for releases 2022-04-16 21:30:51 -07:00
f7c95f95b4 Fix the ldflags attempt #2 2022-04-16 21:29:59 -07:00
5b59141c3a optimize test execution time by only building the client once + add Makefile target for action tests 2022-04-15 18:12:26 -07:00
dc6fb6a47b Refactor tests to make them non-flakey and pass on actions
This required adding the ability to have hishtory run synchronously to avoid reconditions. I also added additional waiting code. Also a whole bunch of new tests and disabled gorm's default logger which also caued flakeyness
2022-04-14 20:18:49 -07:00
2bb06b568a Add version to binary 2022-04-09 14:37:21 -07:00
57a95fb9a7 Moved all backend code into the backend/ directory 2022-04-08 23:56:02 -07:00
223d14b6a2 Add missing git push 2022-04-08 23:08:53 -07:00
926c7631ae Fix makefile to run in correct order for deploys to work 2022-04-08 23:07:44 -07:00
22ffaf6364 fix makefile 2022-04-08 22:57:53 -07:00
108e1526b8 trying again with ldflags + fixed update url 2022-04-08 22:56:44 -07:00
c42bb66e96 Add server handlers for downloads 2022-04-08 22:37:03 -07:00
13d766a9c8 trying again to make ldflags work with slsa 2022-04-08 22:12:00 -07:00