Repository navigation
chore: remove epic #837 one-off scripts + legacy-purge client - #850
Merged
Merged
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR850Version: 🤖 Updated on each push. |
The DOI re-target, legacy-DB purge, and ds-row deletion have all run on prod (epic #837), so remove the guarded run-once scripts (retarget-dois, purge-legacy-datapipeline, delete-ds-rows + their tests) and the slim legacy-purge.ts delete client they used. Also drop the stale NEMAR_USERNAME/ PASSWORD entries from the wrangler-sccn.toml secrets doc (the worker no longer reads them; the legacy datapipeline sync was retired in Phase 3).
neuromechanist
force-pushed
the
chore/issue-837-final-cleanup
branch
from
June 27, 2026 07:44
a1ebd96 to
669fbcc
Compare
This was referenced Jun 28, 2026
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
Final cleanup for epic #837. All three post-deploy data ops have run on prod (DOIs re-targeted, legacy DB purged 615/615,
dsrows deleted → #748 fixed), so the guarded run-once tooling is no longer needed:scripts/retarget-dois.ts,scripts/purge-legacy-datapipeline.ts,scripts/delete-ds-rows.ts(+ the two unit tests).backend/src/services/legacy-purge.ts(the slim delete client; only the purge script imported it).NEMAR_USERNAME/NEMAR_PASSWORDentries from thewrangler-sccn.tomlsecrets doc (the worker no longer reads them).bids-tree.ts(the BIDS helpers relocated fromnemar-sync.ts) stays — the metadata pipeline uses it.Test plan