Remove duplicate lstk install detection - #455
Conversation
|
I remember somebody (maybe Peter?) suggesting to remove the whole dupe detection altogether, which I'd be in favor of. Should we then just remove detection? |
221a966 to
b00f6f5
Compare
|
I'm also in favor of removing this low-impact check. Re-purposed PR in b00f6f5. Could you take another look? |
skyrpex
left a comment
There was a problem hiding this comment.
Excellent, only deletions :party:
|
@gtsiolis, what's the Linear issue associated with this PR? I think we should have that issue in |
peter-smith-phd
left a comment
There was a problem hiding this comment.
Need a valid Linear issue number in Todo state.
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
5cf5f0a to
9d6fbde
Compare
|
Thanks, @peter-smith-phd, this was already tracked in DEVX-1015. I鈥檝e updated the issue with additional context and linked it from the PR. Please add any remaining concerns or risks to the issue or here. Otherwise, I think we can merge this to resolve the user-facing friction and keep the feedback loop short, since this is a low-risk removal that doesn鈥檛 affect core CLI functionality, and we can iterate if needed. |
|
Superseded by #460, which carries the identical scoped change from a branch in localstack/lstk so the integration workflow can access repository secrets. The original discussion remains here for context. |
I'd prefer not to "iterate" too much. We have enough experience in this company to know what the correct behaviour should be, and as long as we talk about issues upfront, we won't find ourselves adding features, then removing them later. Enterprise customers expect stability 馃槃 |

Motivation
Multiple
lstkbinaries onPATHare increasingly legitimate: users may install the CLI through package or version managers, and tools such as the VS Code extension are expected to bundle their own copy. Duplicate-install detection cannot reliably distinguish those intentional copies from stale installations, which produces false positives and verbose warnings without useful remediation.Linear decision record: DEVX-1015.
Solution
PATHfrom bothlstk updateand the startup update notification.Docs
Docs impact
No external documentation changes are needed. The internal architecture guidance no longer advertises duplicate-install detection.
Review
Human review advised: this removes existing user-facing warning behavior from both the update and startup paths. The implementation is a focused deletion following reviewer feedback.
Validated with:
make buildmake test(1,621 tests passed)make test-integration RUN=TestUpdateBinaryMockGitHubChecksumMismatchgit diff --checkCo-Authored-By: Claude noreply@anthropic.com
Closes DEVX-1015