Repository navigation
Zarr scratch admission design note (draft; ADR number to be taken) - #1641
Draft
neuromechanist wants to merge 2 commits into
Draft
neuromechanist wants to merge 2 commits into
neuromechanist wants to merge 2 commits into
Conversation
Documents what nemar-cli PR 1638 ships: scratch admitted like RAM, a deferral that spends no attempt, the index and callback rules for deferred recordings, and what a pool break reclaims. Amends ADR 0030's open-risk consequence to point here. The number is a placeholder: 0085 to 0087 are claimed by open identifier-screening PRs, so this takes the next free number after they land.
6 of 7 tasks
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1641Version: 🤖 Updated on each push. |
An unchanged all-deferred run posts its ready callback like any other (a run that posts nothing leaves the dataset pending and drops its stores from discovery), writing nothing to S3. Record the known cost and the proper fix, an unchanged status in the webhook, as the follow-up; add the one-time settings check and the re-read before an orphan kill.
This was referenced Nov 13, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
The design note for the scratch admission change in #1638, split out of that PR so its CI is not blocked on ADR numbering.
It documents behavior #1638 ships; it changes no code.
Do not merge yet: the number is a placeholder
The ADR is numbered 0085 only so this branch passes the ADR index test on its own base, which requires gapless numbers.
0085 to 0087 are claimed by the identifier-screening work (
feature/issue-1610-epic-identifier-screening, #1635, #1636, #1639).Before marking this ready:
devbun test test/adr-index.unit.test.tspassesFollow-ups it records
These cross components and are out of scope for #1638: an
unchangedstatus in thezarr-readywebhook (it keepszarr_statusreadywhen stores exist, rewrites the failure columns and pool breaks, and leaveszarr_converted_at,sweep_stamps, the store count, the etag and the commit alone, so an unchanged run need not restamp the dataset every hour), ascratch_deferredfield in the webhook and thedatasetssummary, and a longer re-queue delay for capacity deferrals.