History added on some systems but not others

I have atuin on six boxes, a mix of Linux, Cygwin, and MacOS. They are all syncing to the same self-hosted sql server and all have the same configuration. The CTRL-R history is consistent on all of them, but new history entries are missing from about half of them. If I execute atuin history list, the most recent commands on some boxes (but not others) just don’t show up. This is true on one of the Linux machines as well as the cygwin and MacOS boxes.

Any ideas how to troubleshoot?

I got some help via Discord. Turns out I was missing .bash-preexec.sh on some but not all of the systems. Restoring that eliminated the issue.

For anyone finding this via search engines, the docs cover shell integrations (and extra setup for bash): Installation | Atuin Docs

If you use the install script, this should be handled for you