stankiewicz commented on code in PR #37863: URL: https://github.com/apache/beam/pull/37863#discussion_r2941586008
########## .agent/skills/gradle-build/SKILL.md: ########## @@ -207,18 +207,12 @@ rm -rf .gradle rm -rf build ``` -### Common Errors - -#### NoClassDefFoundError -- Run `./gradlew clean` -- Delete gradle cache - -#### Proto-related Errors -- Regenerate protos: `./gradlew generateProtos` - -#### Dependency Conflicts -- Check dependencies: `./gradlew dependencies` -- Use `--scan` for detailed analysis +### Troubleshooting Workflow +1. If build fails, check error type in output +2. **NoClassDefFoundError**: run `./gradlew clean` then retry; if persists, delete `~/.gradle/caches` +3. **Proto-related errors**: run `./gradlew generateProtos` then retry build +4. **Dependency conflicts**: run `./gradlew :module:dependencies --configuration runtimeClasspath` to inspect, use `--scan` for detailed analysis +5. Verify fix: re-run the original build command to confirm success Review Comment: tbh, I prefer previous structure as some troubleshooting playbooks will be longer than 3 steps. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
