Repository navigation
Compare the deployed publication workflow in CI - #1790
Merged
Merged
Conversation
run-publication-review.yml is on nemarDatasets/.github main, so the unit-pure job checks it out beside the other two and names it in NEMAR_PUBLICATION_REVIEW_WORKFLOW_LIVE; the parity check is strict there. ADR 0102, before it is switched on, item 4.
Contributor
Author
|
Sonnet review: one low finding (the comment above the checkout step still described the old pair), fixed in the second commit. Clean: the path the test resolves matches the checkout, the authored and deployed files are byte-identical (same sha256), fork behaviour matches the other two, no other list of the deployed workflows needs the name. |
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1790Version: 🤖 Updated on each push. |
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-publication-review.ymlis now onnemarDatasets/.githubmain(nemarDatasets/.github#137). The unit-pure job checks it out besideonboard-openneuro.ymlandrun-pr-review.yml(same sparse, non-cone checkout ofmain) and names it inNEMAR_PUBLICATION_REVIEW_WORKFLOW_LIVE, sotest/publication-review-workflow.test.tscompares the deployed copy with the authored one byte for byte in CI instead of skipping. This is item 4 of ADR 0102, "Before it is switched on". The test header no longer says the check is not wired into CI.Part of epic #1726 (Phase 5, #1732).
Test plan
test/publication-review-workflow.test.tswith the variable set to the real deployed file (sha256 equal to the authored file): 95 passtest/ci-tier-routing.unit.test.ts,test/workflow-yaml.test.ts,test/workflow-sync.test.ts,test/adr-index.unit.test.ts