Skip to content

Conversation

lourw
Copy link
Contributor

@lourw lourw commented Oct 11, 2025

Current Behavior

NX_VERBOSE_LOGGING turns on/off the debug logs for the gradle plugin. There are some issues with the gradle plugin under heavy volumes of logs. Since gradle logs are much more verbose than Nx logs, this flag allows for finer control of which logs appear.

Expected Behavior

NX_GRADLE_VERBOSE_LOGGING turns on/off the debug logs for the gradle plugin

Related Issue(s)

Fixes #

@lourw lourw requested review from a team, FrozenPandaz and MaxKless as code owners October 11, 2025 00:34
@lourw lourw self-assigned this Oct 11, 2025
Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for nx-docs ready!

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

Copy link

vercel bot commented Oct 11, 2025

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

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Oct 14, 2025 10:55pm

Copy link
Contributor

nx-cloud bot commented Oct 11, 2025

View your CI Pipeline Execution ↗ for commit de86222

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

☁️ Nx Cloud last updated this comment at 2025-10-14 22:50:18 UTC

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 documentation task (@nx/nx-source:documentation) regenerated documentation files and detected changes, reporting that documentation needs to be committed. However, examining the PR diff reveals that these exact documentation changes are already included in the PR commits:

Changed files reported by the task:

  • CreateNodes.md, CreateNodesContext.md, CreateNodesFunction.md (deleted)
  • CreateNodesContextV2.md, CreateNodesV2.md, NxPluginV2.md, ProjectConfiguration.md, README.md, createNodesFromFiles.md (modified)

These same files appear in the PR diff with identical changes. The author has correctly included the generated documentation updates alongside their code changes to the Gradle plugin.

The failure is classified as 'environment_state' because:

  1. The documentation changes are already committed in the PR
  2. The CI environment is running the documentation generation task in a way that doesn't recognize the existing commits
  3. This could be due to the task running against a detached HEAD, a stale cache, or checking against an incorrect baseline
  4. No similar failures were found on the master branch, suggesting this is not a systemic issue
  5. The actual code change (replacing NX_VERBOSE_LOGGING with NX_GRADLE_VERBOSE_LOGGING in the Gradle plugin) is correct and complete

The PR author has followed the correct workflow by generating and committing documentation changes. The task failure appears to be a false positive from the CI environment's validation logic.

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

@lourw lourw force-pushed the lourw/add-gradle-verbose-logging branch from 1e5ba54 to de86222 Compare October 14, 2025 22:35
@lourw lourw enabled auto-merge (squash) October 14, 2025 22:35
@lourw lourw merged commit ffe85e9 into master Oct 15, 2025
15 checks passed
@lourw lourw deleted the lourw/add-gradle-verbose-logging branch October 15, 2025 13:31
FrozenPandaz pushed a commit that referenced this pull request Oct 15, 2025
#33049)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

`NX_VERBOSE_LOGGING` turns on/off the debug logs for the gradle plugin

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

`NX_GRADLE_VERBOSE_LOGGING` turns on/off the debug logs for the gradle
plugin

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

Fixes #

(cherry picked from commit ffe85e9)
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