Skip to content

chore: remove epic #837 one-off scripts + legacy-purge client - #850

Merged
neuromechanist merged 1 commit into
devfrom
chore/issue-837-final-cleanup
Jun 27, 2026
Merged

neuromechanist merged 1 commit into
devfrom
chore/issue-837-final-cleanup

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

Final cleanup for epic #837. All three post-deploy data ops have run on prod (DOIs re-targeted, legacy DB purged 615/615, ds rows deleted → #748 fixed), so the guarded run-once tooling is no longer needed:

  • Delete scripts/retarget-dois.ts, scripts/purge-legacy-datapipeline.ts, scripts/delete-ds-rows.ts (+ the two unit tests).
  • Delete backend/src/services/legacy-purge.ts (the slim delete client; only the purge script imported it).
  • Drop the stale NEMAR_USERNAME/NEMAR_PASSWORD entries from the wrangler-sccn.toml secrets doc (the worker no longer reads them).

bids-tree.ts (the BIDS helpers relocated from nemar-sync.ts) stays — the metadata pipeline uses it.

Test plan

  • Backend + CLI typecheck clean; no dangling references to the removed files.
  • No production code path changes (removed files were dev tooling / unused secret docs).

@github-actions

github-actions Bot commented Jun 27, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR850

Version: 0.8.71-PR850.669fbcc
Commit: 669fbcc


🤖 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).

This branch was previously deployed

1 inactive deployment
npm — 669fbcc0 Deployed Jun 27, 2026 by neuromechanist via publish #1602
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