Repository navigation
refactor: pin the Coana CLI version in the source - #1628
Merged
Oskar Haarklou Veileborg (BarrensZeppelin) merged 1 commit intoOct 19, 2026
Conversation
The pinned Coana CLI version moves from the @coana-tech/cli devDependency, which rollup inlined at build time, to the COANA_CLI_VERSION constant in src/constants.mts. Coana is about to stop publishing to npm, so the pin can't stay a dependency, and the constant also has the same value in tests and in unbuilt runs, where the inlined value was empty. The bump-coana skill now edits the constant. Coana's release workflow has to bump it the same way.
Oskar Haarklou Veileborg (BarrensZeppelin)
added this pull request to stack #1631
October 19, 2026 09:27
Oskar Haarklou Veileborg (BarrensZeppelin)
requested a review
from Martin Torp (mtorp)
October 19, 2026 09:30
Oskar Haarklou Veileborg (BarrensZeppelin)
marked this pull request as ready for review
October 19, 2026 09:30
Martin Torp (mtorp)
approved these changes
Oct 19, 2026
Oskar Haarklou Veileborg (BarrensZeppelin)
merged commit Oct 19, 2026
0002fa8
into
v1.x
11 checks passed
Oskar Haarklou Veileborg (BarrensZeppelin)
deleted the
oskar/rea-875-coana-pin-constant
branch
October 19, 2026 09:54
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.
The pinned Coana CLI version moves from the @coana-tech/cli devDependency,
which rollup inlined at build time, to the COANA_CLI_VERSION constant in
src/constants.mts. Coana is about to stop publishing to npm, so the pin
can't stay a dependency, and the constant also has the same value in
tests and in unbuilt runs, where the inlined value was empty.
The bump-coana skill now edits the constant. Coana's release workflow has
to bump it the same way.
Part of REA-875.
Coana's release workflow (
publish-cli.ymlin coana-package-manager) still bumps the devDependency, and needs to editCOANA_CLI_VERSIONbefore its next automated bump PR.Expected reviewer effort: Stamp
Stack created with GitHub Stacks CLI • Give Feedback 💬
Note
Medium Risk
Changes the default Coana version source for fix, reachability, and dlx launch paths; wrong bumps would affect analysis behavior but scope is a straightforward constant swap.
Overview
Pins the default Coana CLI version in source instead of treating
@coana-tech/clias a devDependency that Rollup inlined at build time.Adds exported
COANA_CLI_VERSIONinsrc/constants.mtsand wires fix, reachability, andspawnCoanaDlx(plus CLI help text) to use it. Removes@coana-tech/clifrompackage.json/ lockfile and drops theINLINED_SOCKET_CLI_COANA_TECH_CLI_VERSIONRollup replace path.The bump-coana skill now updates only
src/constants.mtsandCHANGELOG.md(nopnpm install/ lockfile step). Test snapshot normalization reads the same constant instead ofpackage.json.Reviewed by Cursor Bugbot for commit c7e26b1. Configure here.