Repository navigation
Audit versioning workflow for DOI integration - #116
Merged
neuromechanist merged 1 commit intoFeb 11, 2026
Merged
neuromechanist merged 1 commit into
neuromechanist merged 1 commit into
Conversation
- Add "already exists" try-catch to createEzidVersionDoi matching the pattern from createEzidConceptDoi for webhook retry safety - Add semver validation to webhook: strip v-prefix, reject pre-release and non-semver versions with skipped status - Log skipped versions for troubleshooting - Add tests for version format validation and v-prefix stripping Closes #113
neuromechanist
force-pushed
the
113-audit-versioning-and-tagging-workflow-for-doi-integration
branch
from
February 11, 2026 21:43
c925559 to
8263037
Compare
neuromechanist
deleted the
113-audit-versioning-and-tagging-workflow-for-doi-integration
branch
February 11, 2026 21:43
This was referenced Feb 11, 2026
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
createEzidVersionDoinow handles "already exists" errors from EZID, matching the pattern already used bycreateEzidConceptDoi. This makes webhook retries safe.vprefix, rejects pre-release versions (1.0.0-beta), non-semver strings, and build metadata with askipped: trueresponse (200 status).Audit findings (no changes needed)
INSERT OR IGNORE+UNIQUE(dataset_id, version)works correctlygit rev-parsebefore creating tagTest plan
bun testpasses (354 pass, 0 fail)bunx biome checkpasses on changed source filesv1.0.0is normalized to1.0.0before DOI minting1.0.0-betais rejected with skipped statusCloses #113