Skip to content

Release 0.13.0.0: multipart NAR upload, removal inside the server, NarWalkError - #108

Merged
aoinoikaz merged 2 commits into
mainfrom
release-0.13.0.0
Nov 16, 2026
Merged

aoinoikaz merged 2 commits into
mainfrom
release-0.13.0.0

Conversation

@aoinoikaz

Copy link
Copy Markdown
Contributor

Cuts 0.13.0.0 from main: the six changelog.d/ fragments are assembled under ## 0.13.0.0 - 2026-11-16 and removed, nova-cache.cabal moves to 0.13.0.0, and the README's dependency bounds move to >= 0.13 && < 0.14, which the 0.12.0.0 release missed.

Why a major version

FileStore's constructor and fileStoreAt are gone, a walk's access failures arrive as NarWalkError rather than IOException, and reclaim-nars exits nonzero.

Changelog corrections

Each fragment was written when its PR merged. Checked against this tree and against upstream at 2.24.9 and 2.35.6:

  • The log entry said each request's line waited on GHC's block buffer. wai-extra's logStdout flushes after every line (autoFlush = True), so only the startup lines waited. The comment in exe/Main.hs said the same and is corrected in its own commit.
  • The NarWalkError and unsupported-type entries quote upstream's wording at 2.24.9. 2.35.6 words both differently, so they now name the version.
  • The unsupported-type entry said 0.12's pull failed as a NarWalkError, which 0.12 does not have. It failed with the IOException from hFileSize.
  • "FileStore is abstract, made by newFileStore alone" did not hold: fsRoot, fsStoreDir and fsPriority remain exported fields, so a record update copies a store along with its gate. The entry says so.
  • The completion refuses an over-cap size with 413 before it counts parts, and compares the size on the joined file. The entry said 409 for both, before the join.
  • The root-page entry now says the plain-text root drops the old page's public key and path count. The key is still printed in the startup log.
  • The multipart entry's API list gains the names it left out: UploadPlan, maxUploadTotalsBodySize, maxUploadParts, and the id and part-number parse and render functions.
  • The entries are reordered so the reclaim and NarWalkError are introduced before the entries that use them.

Checks

publish.yml's changelog check passes against this tree, cabal check is clean, the changed files are ASCII only, and nothing else names 0.12.0.1.

The request logger (wai-extra's logStdout) flushes stdout after every
request line, so only the startup lines waited on GHC's block buffer:
until the first request, or, with LOG_REQUESTS=0, until a block filled.
…rWalkError

Dates the changelog section, removes its fragments, bumps the version and
moves the README's dependency bounds to 0.13.
Major bump: FileStore is abstract and fileStoreAt is gone, a walk's access
failures arrive as NarWalkError rather than IOException, and reclaim-nars
exits nonzero.
@aoinoikaz
aoinoikaz merged commit fac62f9 into main Nov 16, 2026
12 checks passed
@aoinoikaz
aoinoikaz deleted the release-0.13.0.0 branch November 16, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant