Repository navigation
Release v0.6.1: DOI pipeline fixes, tag-triggered CI, BIDS Name titles - #171
Conversation
* Fix archive generation for SHA-addressed S3 storage Use annex key (SHA hash) for S3 URL instead of BIDS file path. Replace process.exit(1) with process.exitCode for proper output flushing. Fixes #164 * Fix upload error propagation and entry event race
Version DOIs were resolving to the GitHub release page. Both concept and version DOIs should resolve to the NEMAR data explorer with appropriate query params.
…itle, S3 cleanup (#170) * Fix deletion cascade: clean up user_s3_permissions Closes #149 * Fix flaky e2e-upload test timeout Add 30s timeout to all CLI subprocess tests that spawn bun processes for prerequisite checks. Closes #155 * Add tag-triggered CI for version DOI Extract DOI minting from pr-merge.yml into a standalone version-doi.yml workflow triggered on v* tag pushes. All paths (PR merge, admin push, manual tag) now converge through the tag trigger. Also creates GitHub release if missing and triggers archive generation. Closes #160 * Use BIDS Name as authoritative dataset title CLI upload now reads Name from dataset_description.json instead of using directory basename. The LLM enrichment webhook also syncs BIDS Name to D1 and GitHub repo description when dataset_description.json changes. Closes #168 * Fix S3 deletion to clean all objects under prefix Scan entire {datasetId}/ prefix instead of only objects/, version/, archives/ sub-prefixes. Older uploads stored files directly under the dataset root which were missed. Closes #169 * Address PR review findings - Remove if: always() from trigger-archive job so it only runs when DOI publish succeeds - Check setRepoDescription return value instead of relying on try/catch (function returns result, does not throw) - Sanitize BIDS Name (strip newlines, trim to 200 chars) - Track user_s3_permissions deletion count in DeletionSteps - Distinguish ENOENT from parse errors in CLI BIDS Name read - Fix JSDoc and comments per review feedback * Fix biome formatting
PR Review Summary (v0.6.1 Release: dev -> main)Reviewed by 5 specialized agents: code-reviewer, silent-failure-hunter, test-analyzer, comment-analyzer, code-simplifier. Critical Issues (0 found)No critical issues that must block merge. The findings below are all pre-existing patterns or acceptable design decisions for a release PR. Important Issues (3 found, all pre-existing or deferred)
Suggestions (5 found)
Simplifications Applied (by code-simplifier)
Test Coverage Gaps (noted, not blocking)
All gaps require integration testing with real infrastructure, consistent with the project's no-mock policy. These are tracked for future improvement. Strengths
Verdict: Ready to mergeAll CI checks pass. No critical issues found. Important issues are pre-existing patterns or acceptable tradeoffs documented above. |
Summary
Release v0.6.1 consolidates DOI metadata pipeline improvements and multiple targeted fixes from dev.
DOI Metadata Pipeline (#163, #166)
Archive Generation (#165)
Version DOI Target
Multi-fix PR (#170)
user_s3_permissionsrowsversion-doi.ymlworkflow, extracted frompr-merge.yml)Namefromdataset_description.jsonas authoritative dataset title (CLI + webhook sync){datasetId}/prefix instead of only known sub-prefixesManual Cleanup
Test plan
bun test: 523 pass, 0 failCloses #149, #155, #160, #163, #165, #166, #168, #169