Skip to content

fix(core): add run-native-target script input to dotnet build-analyzer#35221

Merged
FrozenPandaz merged 1 commit intomasterfrom
add-build-analyzer-script-input
Apr 9, 2026
Merged

fix(core): add run-native-target script input to dotnet build-analyzer#35221
FrozenPandaz merged 1 commit intomasterfrom
add-build-analyzer-script-input

Conversation

@AgentEnder
Copy link
Copy Markdown
Member

@AgentEnder AgentEnder commented Apr 8, 2026

Current Behavior

The dotnet:build-analyzer target runs node ./scripts/run-native-target.js _build-analyzer dotnet but does not include the run-native-target.js script itself in its inputs array. This means changes to the script won't invalidate the Nx cache, potentially leading to stale cached results.

Expected Behavior

The run-native-target.js script is included as an input to the build-analyzer target, ensuring cache correctness when the script changes.

Related Issue(s)

Fixes NXC-4219

@AgentEnder AgentEnder requested a review from a team as a code owner April 8, 2026 21:45
@AgentEnder AgentEnder requested a review from MaxKless April 8, 2026 21:45
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 5b15da9
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69d6cc888cd5840008d19422
😎 Deploy Preview https://deploy-preview-35221--nx-dev.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.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 5b15da9
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69d6cc8872f9de0008007fa9
😎 Deploy Preview https://deploy-preview-35221--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 Apr 8, 2026

View your CI Pipeline Execution ↗ for commit 5b15da9

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 8m 5s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 4s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 8s View ↗
nx build workspace-plugin ✅ Succeeded <1s 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-04-08 21:57:45 UTC

@FrozenPandaz FrozenPandaz merged commit 069ed82 into master Apr 9, 2026
24 checks passed
@FrozenPandaz FrozenPandaz deleted the add-build-analyzer-script-input branch April 9, 2026 19:11
FrozenPandaz pushed a commit that referenced this pull request Apr 9, 2026
#35221)

## Current Behavior

The `dotnet:build-analyzer` target runs `node
./scripts/run-native-target.js _build-analyzer dotnet` but does not
include the `run-native-target.js` script itself in its `inputs` array.
This means changes to the script won't invalidate the Nx cache,
potentially leading to stale cached results.

## Expected Behavior

The `run-native-target.js` script is included as an input to the
`build-analyzer` target, ensuring cache correctness when the script
changes.

## Related Issue(s)

Fixes NXC-4219

(cherry picked from commit 069ed82)
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.

2 participants