Download-albums example test no longer depends on the disk's free space (closes #160) #161
@@ -25,6 +25,12 @@ declares one.
|
|||||||
|
|
||||||
# Completed Steps
|
# Completed Steps
|
||||||
|
|
||||||
|
- 2026-10-03: The download-albums example test no longer fails on a disk with
|
||||||
|
under 50 GiB free (issue 160). It opens its libraries with
|
||||||
|
`freeBelowBytes: 0`, so the free space of the disk it runs on cannot shrink
|
||||||
|
the cache, evict the original it cached and add a fetch to the count. No other
|
||||||
|
test's result depends on that free space. The 50 GiB default is unchanged.
|
||||||
|
|
||||||
- 2026-10-02: `docker build .` stamps the commit's tag or short commit, not
|
- 2026-10-02: `docker build .` stamps the commit's tag or short commit, not
|
||||||
`dev` (issue 154). `script/build` writes the version `script/version` prints
|
`dev` (issue 154). `script/build` writes the version `script/version` prints
|
||||||
into `dist/package.json`: the `VERSION` environment variable or build arg when
|
into `dist/package.json`: the `VERSION` environment variable or build arg when
|
||||||
|
|||||||
@@ -162,6 +162,9 @@ describe("examples/download-albums.ts", () => {
|
|||||||
refreshIntervalSeconds: 3600,
|
refreshIntervalSeconds: 3600,
|
||||||
precacheThumbnails: false,
|
precacheThumbnails: false,
|
||||||
precacheOriginals: false,
|
precacheOriginals: false,
|
||||||
|
// The test counts fetches, so the free space of the disk it
|
||||||
|
// runs on must not shrink the cache and evict photo 1.
|
||||||
|
freeBelowBytes: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
const first = await open();
|
const first = await open();
|
||||||
|
|||||||
Reference in New Issue
Block a user