Skip to content

fix: pin version for version for dev install when Trust downgrade is noticed#2644

Open
gameroman wants to merge 1 commit intonpmx-dev:mainfrom
gameroman:fix-override
Open

fix: pin version for version for dev install when Trust downgrade is noticed#2644
gameroman wants to merge 1 commit intonpmx-dev:mainfrom
gameroman:fix-override

Conversation

@gameroman
Copy link
Copy Markdown
Contributor

@gameroman gameroman commented Apr 27, 2026

Closes #2643

Before

image

After

image

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment May 5, 2026 0:40am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview May 5, 2026 0:40am
npmx-lunaria Ignored Ignored May 5, 2026 0:40am

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The Terminal Install component now uses installVersionOverride when non-null as the version value for building dev install command parts and for copying the dev install command, replacing the previous unconditional use of requestedVersion.

Changes

Version preference logic

Layer / File(s) Summary
Core logic
app/components/Terminal/Install.vue
getDevInstallPartsForPM now passes version: installVersionOverride ?? requestedVersion into getInstallCommandParts.
Copy / UI wiring
app/components/Terminal/Install.vue
copyDevInstallCommand now calls getInstallCommand with version: installVersionOverride ?? requestedVersion so copied commands respect the override.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: pinning version for dev install when Trust downgrade is noticed, which directly matches the code modification in Install.vue.
Description check ✅ Passed The description is related to the changeset, showing before/after screenshots that demonstrate the fix resolving the version mismatch issue between standard and dev installations.
Linked Issues check ✅ Passed The code changes directly address the linked issue #2643 by modifying the install version logic to respect installVersionOverride in both getDevInstallPartsForPM and copyDevInstallCommand, ensuring dev installations are pinned to the same version as standard installations.
Out of Scope Changes check ✅ Passed All changes in the pull request are scoped to the specific objective: fixing version pinning for dev installations when Trust downgrade is detected, with no unrelated modifications.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gameroman gameroman changed the title fix: override for dev fix: pin version for version for dev install when Trust downgrade is noticed Apr 27, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
app/components/Terminal/Install.vue 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: when Trust downgrade is noticed, the install version is not pinned for dev install

1 participant