feat(misc): update PLUGIN.md files to help agents verification#34379
feat(misc): update PLUGIN.md files to help agents verification#34379
Conversation
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nx-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
View your CI Pipeline Execution ↗ for commit 6e30576
☁️ Nx Cloud last updated this comment at |
Co-authored-by: Coly010 <Coly010@users.noreply.github.com>
2110a49 to
2eae6f9
Compare
9079eac to
d814386
Compare
There was a problem hiding this comment.
✅ The fix from Nx Cloud was applied
These changes fix the ktfmt formatting error in CiTargetsUtils.kt. The getMetadata() call was formatted across multiple lines, but ktfmt prefers having all arguments on a single line for this case. We ran ktfmtFormatMain to auto-correct the formatting while preserving the period added to the description string.
Tip
✅ We verified this fix by re-running gradle-project-graph:build, gradle-project-graph:lint.
Suggested Fix changes
diff --git a/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/utils/CiTargetsUtils.kt b/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/utils/CiTargetsUtils.kt
index 963bb5b242..93cd6610b8 100644
--- a/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/utils/CiTargetsUtils.kt
+++ b/packages/gradle/project-graph/src/main/kotlin/dev/nx/gradle/utils/CiTargetsUtils.kt
@@ -119,9 +119,7 @@ private fun buildTestCiTarget(
"testClassName" to testClassPackagePath),
"metadata" to
getMetadata(
- "Runs Gradle test $testClassPackagePath in CI.",
- projectBuildPath,
- "test"),
+ "Runs Gradle test $testClassPackagePath in CI.", projectBuildPath, "test"),
"cache" to true,
"inputs" to taskInputs)
This fix was applied by Colum Ferry
🎓 Learn more about Self-Healing CI on nx.dev
Co-authored-by: Coly010 <Coly010@users.noreply.github.com>
## Current Behavior There is currently no plugin.md file for Gradle. Other plugin.md files can be improved ## Expected Behavior Add plugin.md file for Gradle to aid with verification with Agents. Add plugin.md file for Vite for workspaces that have not migrated to @nx/vitest. ## Related Issue(s) CLOSES NXC-3843 --------- Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: Coly010 <Coly010@users.noreply.github.com>
## Current Behavior There is currently no plugin.md file for Gradle. Other plugin.md files can be improved ## Expected Behavior Add plugin.md file for Gradle to aid with verification with Agents. Add plugin.md file for Vite for workspaces that have not migrated to @nx/vitest. ## Related Issue(s) CLOSES NXC-3843 --------- Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: Coly010 <Coly010@users.noreply.github.com> (cherry picked from commit 5a1735b)
|
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. |
Current Behavior
There is currently no plugin.md file for Gradle.
Other plugin.md files can be improved
Expected Behavior
Add plugin.md file for Gradle to aid with verification with Agents.
Add plugin.md file for Vite for workspaces that have not migrated to @nx/vitest.
Related Issue(s)
CLOSES NXC-3843