Skip to content

Zarr scratch admission design note (draft; ADR number to be taken) - #1641

Draft
neuromechanist wants to merge 2 commits into
devfrom
docs/zarr-scratch-admission-adr
Draft

neuromechanist wants to merge 2 commits into
devfrom
docs/zarr-scratch-admission-adr

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • those ADRs have landed on dev
  • this file is renamed to the next free number and its heading, the decisions index entry and the ADR 0030 amendment line say the same number
  • bun test test/adr-index.unit.test.ts passes

Follow-ups it records

These cross components and are out of scope for #1638: an unchanged status in the zarr-ready webhook (it keeps zarr_status ready when stores exist, rewrites the failure columns and pool breaks, and leaves zarr_converted_at, sweep_stamps, the store count, the etag and the commit alone, so an unchanged run need not restamp the dataset every hour), a scratch_deferred field in the webhook and the datasets summary, and a longer re-queue delay for capacity deferrals.

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.
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1641

Version: 0.10.14-PR1641.f618577
Commit: f618577


🤖 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 branch was previously deployed

1 inactive deployment
npm — f618577f Deployed Oct 7, 2026 by neuromechanist via publish #3147
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