fix(qa): derive release ranges, render assistant payloads and find packages #43
No reviewers
Labels
No labels
area/dsh
area/forgejo
experiment
priority/later
priority/next
priority/now
type/bug
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dsh-plugins/dsh-gitea!43
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/qa-release-package"
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?
What
The last three sweep issues.
#28 — release plan ignored
current_version's tagbuildReleasePlannow derives the rangev<current_version>...<repo-default-branch>whencurrent_tagis absent, honours an explicitfrom_tag/to_tag, and returns a clear error when the tag cannot be resolved instead of silently replaying the last 50 commits. Already-released commits no longer contaminate the changelog, so the bump is correct.Live:
current_version: "0.7.40-dsh.7"→Release Plan: v0.8.0 (minor bump …), 13 post-tag commits, no already-released package-rename commit.#31 — release assistant printed “Preflight complete” for every action
Formatter branches on the payload:
validate_semver→valid minor bump from 0.7.40-dsh.7 to 0.8.0.(or the validation error);preview_notes→ per-language note blocks;preflightunchanged.#36 —
package_get404s for listed packagesForgejo's name-only package path 404s.
getRegistryPackagenow queries the working package list (type+q), filters exacttype/name, returns all versions (or the requestedversion), and gives a clear not-found for a missing name/version. Added an optionalversionparameter and a version-list formatter.Live:
package_get dsh-plugins npm dsh-gitea→ 4 versions with timestamps/URLs instead of 404.Verification
test/release-package.test.mjs(11 tests): derived/explicit ranges, missing tag, validate/invalid/notes/preflight, package list/filter/not-found.npm test141/141, leak scan clean,node --checkclean.packages_liststill shows the same versions.Closes #28, #31, #36.