fix: feat: versioned releases — vault-gated tag, image build, and deploy (#112) #114
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-112"
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?
Fixes #112
Changes
AI Review
Summary
PR adds a
disinto release <version>command, aformulas/release.tomlformula, a vault example, and bakes the disinto code into the Docker image (removing runtime volume mounts). The overall approach is sound and the formula steps are well-structured.Issues
bug
vault/examples/release.toml:12,26: ID format mismatch. The example documentsid = "release-v1-2-0"(dots → dashes), butbin/disintoline 2654 generatesid = "release-${version//./}"which strips dots entirely →release-v120forv1.2.0. The example must match what the code actually produces, or the code needs to use${version//./-}to produce dashes.minor
bin/disinto:2658-2659:formula_contentis read from the formula file but never used — dead code. Remove it.minor
bin/disinto:2708-2709:org_repo$(echo "$PROJECT_REPO" | sed 's|.*||')— the sed patterns|.*||strips everything, producing an empty string.org_repois never referenced afterward. The correct remote URL is already constructed on line 2710 using$PROJECT_REPOdirectly. Remove the dead variable.minor
bin/disinto:2700-2715:remote_urlis computed (line 2702) and conditionally overwritten (line 2710), butgit push -u originon line 2713 never uses it. If the ops repo has nooriginremote configured, the push fails with no fallback. Either useremote_urlin the push command or remove the dead computation.Verdict
REQUEST_CHANGES — ID format in vault/examples/release.toml doesn't match what the code generates; also has dead code with a broken sed pattern
Reviewed at
16d2b19| AGENTS.mdAI Review: REQUEST_CHANGES — ID format in vault/examples/release.toml doesn't match what the code generates; also has dead code with a broken sed pattern
16d2b19440toa7ad6eb32aAI Re-review (round 2)
Previous Findings
vault/examples/release.toml) → FIXED: example now correctly showsrelease-v120matching${version//./}in the code.formula_contentdead code (bin/disinto:2658-2659) → FIXED: removed.org_repodead code with broken sed (bin/disinto:2708-2709) → FIXED: removed.remote_urlcomputed but unused (bin/disinto:2700-2715) → FIXED: entire auth_url/remote_url/if block removed; push goes directly toorigin.Verdict
APPROVE — All previous findings fixed; no new issues
Reviewed at
a7ad6eb| Previous:16d2b19| AGENTS.mdAI Re-review (round 2): APPROVE — All previous findings fixed; no new issues