convert to using postgres #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tests will sometimes fail. Easy way to reproduce is run tests in a loop, for example:
for i in {1..100}; do go test -run RoundTrip; done;
With ~10% fail rate, you should see:
--- FAIL: TestRoundTrip (0.09s)
api_test.go:666: pkgs should have something in it; got 0, want 1
Here's good way to test that this has been solved (aside from making a test that reproduces this pathology, which we haven't done yet):
This gets around the overhead of compilation for every test as it compiles it once.
It's not sqlite:
https://grt.mcquay.me/#/c/9/
but I am starting to think it should just be in-memory and written to disk periodically.