aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-general--find-project-root-file.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-14 00:07:06 -0500
committerCraig Jennings <c@cjennings.net>2026-07-14 00:07:06 -0500
commit703b4841253ca610e9b50a8e8519863eaf22a6b2 (patch)
tree162e9cff886d7e8e6bdca41113dc245cee438d61 /tests/test-prog-general--find-project-root-file.el
parent03a1f26b2879f678a48c036a9e6f4b9ace864c3b (diff)
downloaddotemacs-703b4841253ca610e9b50a8e8519863eaf22a6b2.tar.gz
dotemacs-703b4841253ca610e9b50a8e8519863eaf22a6b2.zip
fix(signal): honor the cache-clear promise and mark empty fetches warm
Two picker-cache bugs from the config audit, verified against current code first. The cache docstring promised clearing on signel-stop, but nothing cleared it, so a stale contact list survived a relink or reconnect. I advised a named clear function :after signel-stop, which makes the docstring true. An empty listContacts result cached nil, indistinguishable from a cold cache, so a zero-contact account re-ran the picker's blocking fetch (up to the 3s timeout) on every open. The fetch now caches an empty sentinel and the picker reads through cj/signel--cached-contacts. One existing test pinned the nil behavior and now asserts the sentinel instead.
Diffstat (limited to 'tests/test-prog-general--find-project-root-file.el')
0 files changed, 0 insertions, 0 deletions