Changes between Initial Version and Version 1 of Ticket #37439
- Timestamp:
- Oct 20, 2026, 1:23:01 AM (3 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37439 – Description
initial v1 1 2 1 `DatabaseCache.touch()` can successfully extend the expiry of a cache entry that has already expired, as long as its database row has not yet been culled. 3 2 … … 89 88 The behavior was reproduced using SQLite. 90 89 91 The full cache test suite has not yet been run. Before submitting a patch, the following should be run:90 The existing cache test suite passes successfully on the current codebase. 92 91 93 92 {{{ 94 ./runtests.py cache93 python tests/runtests.py cache 95 94 }}} 96 95 97 The database backend has currently only been tested with SQLite; PostgreSQL, MySQL, and Oracle have not been tested yet. 96 Result: 98 97 99 A patch containing the fix and regression test is attached to this ticket. 98 * 696 tests passed. 99 * 211 tests were skipped, primarily due to unavailable optional dependencies. 100 * No tests failed. 101 102 This confirms that the existing cache test suite is passing before applying the fix. 103 104 The existing `BaseCacheTests.test_touch` does not currently cover touching an already-expired key, so this behavior is not detected by the existing test suite.