Skip to content

Phase 3: pass the upstream tag through onboard - #1933

Merged
neuromechanist merged 1 commit into
devfrom
feature/issue-1909-phase3-workflow-dev
Oct 24, 2026
Merged

neuromechanist merged 1 commit into
devfrom
feature/issue-1909-phase3-workflow-dev

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

onboard-openneuro.yml gains an optional openneuro_tag input (and client_payload.openneuro_tag) so an import can be pinned to an upstream snapshot tag (ADR 0111 decision 10, epic #1046, Phase 3 of #1909). parse-ids validates the tag to the shared shape and refuses it with more than one id; prepare passes it as --tag only when the installed CLI's help lists --tag, and an older CLI imports as before with a warning. With no tag nothing changes.

This is the workflow half of Phase 3 and is split from the CLI work (#1924, already on the epic branch) because the file is deployed by copying it into nemarDatasets/.github (ADR 0020); the twin PR is nemarDatasets/.github#144.

Hold

Do not merge yet. The owner decided the epic ships as one release. The parity test (test/dataset-workflow-parity.test.ts) compares this file byte for byte with the one on nemarDatasets/.github main, so CI here stays red until #144 lands. Release order: both workflow PRs together, then the epic release (backend deploy before npm publish).

Test plan

  • test/onboard-workflow.test.ts: 11 pass (runs parse-ids and the prepare step's argument choice under bash -e against the real CLI; each rule mutated and caught)
  • test/dataset-workflow-parity.test.ts: 4 pass against the twin PR's file via NEMAR_DATASET_WORKFLOW_LIVE
  • Biome clean

Part of epic #1046.

onboard-openneuro.yml takes an optional openneuro_tag (dispatch input
or client_payload), validated in parse-ids to the shared tag shape and
refused with more than one id, and prepare passes it as --tag only
when the installed CLI's help lists --tag; an older CLI imports as
before, with a warning (#1909, ADR 0111 decision 10). Copy and
finalize are unchanged. Tested by running parse-ids and the prepare
step's argument choice under bash -e against the real CLI; each rule
mutated and caught. The parity test fails until the same file lands
in nemarDatasets/.github.
@github-actions

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1933

Version: 0.10.24-PR1933.1b3bb1f
Commit: 1b3bb1f


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit 2aa6e40 into dev Oct 24, 2026
26 of 27 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-1909-phase3-workflow-dev branch October 24, 2026 23:38
neuromechanist added a commit that referenced this pull request Oct 25, 2026
Absorbs dev (mail and support tickets, pr-reviews --redo and --concurrency, fork shims on pull_request_target, the ADR 0020 amendment, and the Phase 3 onboard workflow #1933). Conflicts resolved keeping both sides: ADR 0093 amendments in date order, ADR index and AGENTS.md lines for 0110 to 0112, mail and re-pull admin routes and commands, export-surface pins, and the admin route total recomputed to 189. The 0098 migration test keeps the through-0098 comparison, which excludes every later migration. Tested: typecheck, lint, targeted suites and the full suite (one environmental failure: website account-copy parity against a stale local website checkout).
@neuromechanist neuromechanist mentioned this pull request Oct 26, 2026
10 of 11 tasks
neuromechanist added a commit that referenced this pull request Oct 27, 2026
The Unreleased deploy-coupling bullet said the onboard workflow change lands first; it shipped in 0.10.24 (#1933). Doc only; no test reads this bullet.

This branch was previously deployed

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