Skip to content

fix(core): nx should show help for run-one when using project short names#34303

Merged
FrozenPandaz merged 2 commits intomasterfrom
fix/run-one-help-shortName
Feb 3, 2026
Merged

fix(core): nx should show help for run-one when using project short names#34303
FrozenPandaz merged 2 commits intomasterfrom
fix/run-one-help-shortName

Conversation

@AgentEnder
Copy link
Copy Markdown
Member

Current Behavior

Given a project name like :foo, you can run tasks like nx test foo (note foo vs :foo), but passing --help throws an error

Expected Behavior

--help works the same with the shortname vs full name

Related Issue(s)

Fixes #

@AgentEnder AgentEnder requested a review from a team as a code owner February 3, 2026 13:59
@AgentEnder AgentEnder requested a review from Cammisuli February 3, 2026 13:59
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 3, 2026

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

Project Deployment Actions Updated (UTC)
nx-dev Ready Ready Preview Feb 3, 2026 4:17pm

Request Review

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 3, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 3ffdb19
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/698211fa0407bf00084a7abd
😎 Deploy Preview https://deploy-preview-34303--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Feb 3, 2026

View your CI Pipeline Execution ↗ for commit 3ffdb19

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 7m 53s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 1m 47s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 6s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-03 19:41:09 UTC

Copy link
Copy Markdown
Contributor

@nx-cloud nx-cloud Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

At least one additional CI pipeline execution has run since the conclusion below was written and it may no longer be applicable.

Nx Cloud has identified a possible root cause for your failed CI:

Our analysis indicates these e2e test failures are not related to the PR changes. The PR only modifies the --help flag code path to resolve project short names, while the failing tests execute normal e2e runs without using --help. The "connection refused" errors suggest an environment issue with test server provisioning rather than a code regression.

No code changes were suggested for this issue.

🔂 A CI rerun has been triggered by adding an empty commit to this branch.

Nx Cloud View detailed reasoning on Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

@FrozenPandaz FrozenPandaz merged commit 1cb6c0b into master Feb 3, 2026
20 of 21 checks passed
@FrozenPandaz FrozenPandaz deleted the fix/run-one-help-shortName branch February 3, 2026 19:56
FrozenPandaz pushed a commit that referenced this pull request Feb 3, 2026
…ames (#34303)

## Current Behavior
Given a project name like `:foo`, you can run tasks like `nx test foo`
(note `foo` vs `:foo`), but passing --help throws an error

## Expected Behavior
`--help` works the same with the shortname vs full name

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
(cherry picked from commit 1cb6c0b)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants