release_type python/multi validate as config but version-file extraction is VERSION + package.json only #213
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Surfaced by the #158 doc-drift audit (int-2).
The gap
config.shvalidatesrelease_type∈{node, go, python, multi}(CONFIG_VALID_RELEASE_TYPES,scripts/lib/config.sh:30), butmanifest-check.shimplements version-file extraction only forVERSION(cat) andpackage.json(.version) basenames (scripts/manifest-check.sh:118-126). The*)branch fails with:unhandled version_file strategy: $vf (v0.1 supports VERSION + package.json).Consequence: a
pythonproject (release_type: python, version inpyproject.toml) passes config validation, then fails at manifest-check time. The two layers are out of sync —release_typeaccepts more than the extraction layer implements.Options
pyproject.toml/__version__.py(python) and whatevermultiimplies — close the gap by adding the strategies.release_typevalidation to the actually-supported set (or gate the python/multi types behind a "supported version-file present" check) so the failure surfaces at config time with a clear message, not at manifest-check.Either closes the validate-but-can't-extract mismatch. (a) adds capability; (b) makes the limitation honest at the earliest layer.
Note
The doc side of this is being fixed in the #158 remediation (integration.md now states version-file extraction is VERSION + package.json only, and that python/multi validate-but-need-their-version-in-a-supported-file). This tracker is the code side — the feature gap or the validation-tightening.
Audit ref:
docs/drift-audit-2026-06-27.md(int-2).uses: @ref#172