Skip to content

Compare embedded Reader resources against Reader's main - #15

Merged
callumalpass merged 1 commit into
mainfrom
test/reader-drift-origin-main
Oct 3, 2026
Merged

callumalpass merged 1 commit into
mainfrom
test/reader-drift-origin-main

Conversation

@callumalpass

Copy link
Copy Markdown
Contributor

The Reader drift test read the sibling mdbase-reader checkout's working tree, so it failed whenever that checkout was on a feature branch, even though Writer's copies match Reader's main. It also crashed once upgradeFrom became a list of paths.

It now reads each resource with git show origin/main:apps/reader/mdbase/<path> and iterates over the upgradeFrom list. It is still skipped when there is no sibling Reader checkout, as in CI.

Testing: node --test scripts/manifest.test.mjs passes (9 passed, 1 skipped) with the local Reader checkout on a feature branch that differs from main.

@callumalpass
callumalpass merged commit 35985dc into main Oct 3, 2026
1 check passed
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