Skip to content

Conversation

@rarmatei
Copy link
Collaborator

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Oct 21, 2025

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

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Oct 23, 2025 4:23pm

@netlify
Copy link

netlify bot commented Oct 21, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit a4549a0
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/68fa4f9fdfd0f8000890b13b
😎 Deploy Preview https://deploy-preview-33173--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
Contributor

nx-cloud bot commented Oct 21, 2025

View your CI Pipeline Execution ↗ for commit a4549a0

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ❌ Failed 7m 46s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 52s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-10-23 16:06:03 UTC

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

Copy link
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.

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

The failure was classified as not being a 'code_change' because the error is a formatting issue rather than a functional code problem.

The task outputs show that both gradle-project-graph:build and gradle-project-graph:lint tasks failed with the same error: ktfmt (Kotlin formatter) found that the file /home/workflows/workspace/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/data/Dependency.kt is not properly formatted.

The error message states:

[ktfmt] Invalid formatting for: /home/workflows/workspace/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/data/Dependency.kt
[ktfmt] Found 1 files that are not properly formatted:
  src/main/kotlin/dev/nx/gradle/data/Dependency.kt

After examining the PR diff (which contains 9,793 lines), there are no changes to the packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/data/Dependency.kt file. The diff includes changes to:

  • Workflow configuration files (.nx/workflows/dynamic-changesets.yaml)
  • Various e2e test files (cypress, eslint, react, remix, vite, web, webpack)
  • Test setup and configuration files

Since the failing file Dependency.kt was not modified in this PR, this is not a failure caused by code changes made in this pull request. This type of failure typically falls into the 'environment_state' category, where pre-existing formatting issues in the codebase were not caught by CI checks before this PR, or the formatting rules have changed, exposing existing non-compliant code. The fix would be to run the ktfmt formatter on the affected file to bring it into compliance with the formatting standards.

A code change would likely not resolve this issue, so no action was taken.

Nx CloudView in Nx Cloud ↗


🎓 To learn more about Self Healing CI, please visit nx.dev

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.

1 participant