<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-agenda-build-list.el, branch performance</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=performance</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=performance'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2025-11-12T00:59:36+00:00</updated>
<entry>
<title>test: Add comprehensive tests for org-agenda cache</title>
<updated>2025-11-12T00:59:36+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2025-11-12T00:59:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=2b630854def58e1316587e00e12086e5ff85b1f0'/>
<id>urn:sha1:2b630854def58e1316587e00e12086e5ff85b1f0</id>
<content type='text'>
Add 9 ERT tests covering org-agenda file list caching:

Normal cases:
- First call builds cache from scratch
- Second call uses cached files (validates cache hit)
- Force rebuild bypasses valid cache

Boundary cases:
- Cache expires after TTL and triggers rebuild
- Empty directories create minimal base file list
- Building flag set during build and cleared after
- Building flag clears on error (unwind-protect)

Error cases:
- Nil cache with timestamp triggers rebuild
- Directory scan failures propagate correctly

All tests pass (9/9). No regressions in full suite.
Total: 1,823 tests, 17 pre-existing failures (down from 18).
</content>
</entry>
</feed>
