Repository navigation
Check the deployed PR review workflow in unit-pure - #1724
Merged
Merged
Conversation
run-pr-review.yml is on nemarDatasets/.github main. Add it to the unit-pure sparse checkout and set NEMAR_PR_REVIEW_WORKFLOW_LIVE so the parity test runs and a missing copy fails instead of skipping. Tested: ran the drift test against the fetched deployed copy (passes) and a one-byte-changed copy (fails).
Mark step 3 of ADR 0092's switch-on list done and add the Unreleased changelog entry. Tested: adr-index and changelog-format tests pass.
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1724Version: 🤖 Updated on each push. |
Contributor
Author
|
CI evidence from the The checkout step logged the block scalar with both paths and The "Run pure unit tests" step logged the drift tests of The log has no |
3 of 4 tasks
neuromechanist
added a commit
that referenced
this pull request
Oct 13, 2026
This was referenced Oct 13, 2026
Merged
9 of 10 tasks
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.
Summary
run-pr-review.ymlis onnemarDatasets/.githubmain(merged 2026-10-12, commitfe7f821a, bloba364ddf2), byte-identical to.github/dataset-workflows/run-pr-review.ymlin this repository.This wires the parity test in
test/pr-review-workflow.test.tsto that deployed copy, so it runs in the requiredunit-purejob instead of skipping.With
NEMAR_PR_REVIEW_WORKFLOW_LIVEset, a missing deployed copy fails the test, and a deployed copy that differs by one byte fails it too.Changes
.github/workflows/test.yml, jobunit-pure: the deployed-workflow checkout now takes a block scalarsparse-checkoutlisting both.github/workflows/onboard-openneuro.ymland.github/workflows/run-pr-review.yml.sparse-checkout-cone-mode: falseis unchanged (non-cone mode takes file paths). The step is renamed to the plural and its comment now describes both files.NEMAR_PR_REVIEW_WORKFLOW_LIVE: dataset-workflows-live/.github/workflows/run-pr-review.ymlnext toNEMAR_DATASET_WORKFLOW_LIVE, written the same way.test/pr-review-workflow.test.ts: header comment only. It said to add the file to the sparse checkout once deployed; that is now done.CHANGELOG.md, Unreleased: a Changed entry.Testing
gh apiand verified bloba364ddf2f0865f3199833d58849297a3594b89bband byte equality with the authoring copy.NEMAR_PR_REVIEW_WORKFLOW_LIVEpointing at it, the three drift tests run (no skip marker) and pass, and the whole file passes (63 of 63). With the variable unset, the file reports 2 skipped, which is the state CI was in before this change.test.ymlparses as YAML. The block scalar yields exactly the two paths, andsparse-checkout-cone-modeis the booleanfalse.testRequest,TEST_API_URL,runCli(). No other test reads the old single-file arrangement:NEMAR_DATASET_WORKFLOW_LIVEis read only bytest/dataset-workflow-parity.test.ts, which is unaffected.bun run typecheck,test/workflow-yaml.test.tsandtest/workflow-gh-calls.test.ts.unit-pure: see the comment below (the three tests report(pass), none(skip)).Notes
.github/workflows/test.yml. It merged intodevwhile this was in flight and this branch is rebased onto it; the two edits do not overlap. This change is confined to the deployed-workflow checkout step and one env line..github/dataset-workflows/run-pr-review.ymlis red inunit-pureuntil the same bytes are onnemarDatasets/.githubmain, as for the onboarding workflow.test-gatepure tier indeploy-backend.ymldoes not set the variable, so the test still skips there, as the onboarding parity test already does. The pull request gate is where it is enforced.