omnigraph/crates/omnigraph-cli/src
Devin AI 6c4c705888 fix(cli): scope touch_cooldown version reuse to matching repo_slug (MR-612)
cubic P2 follow-up. `touch_cooldown` previously carried forward
`latest_version` from any prior cache entry, even one written by a
binary pointed at a different fork. After this change we only reuse the
cached version when its `repo_slug` matches the repo this binary was
built for; otherwise we fall back to the current binary's own version,
which never fires a spurious "newer available" notice.

Adds two unit tests covering both cases.

Co-Authored-By: Ragnor Comerford <ragnor.comerford@gmail.com>
2026-05-11 23:02:24 +00:00
..
embed.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
main.rs feat(cli): add self-update mechanism (MR-612) 2026-05-11 23:02:24 +00:00
read_format.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
update.rs fix(cli): address PR review findings on omnigraph update (MR-612) 2026-05-11 23:02:24 +00:00
version_check.rs fix(cli): scope touch_cooldown version reuse to matching repo_slug (MR-612) 2026-05-11 23:02:24 +00:00