gnodet opened a new pull request, #21996: URL: https://github.com/apache/camel/pull/21996
## Summary - Exclude `**/target/**` from `gulp.src()` glob scanning in `createSymlinks` and `createExampleSymlinks` functions - Fixes ENOENT race condition when temp directories under `target/` appear and disappear during parallel CI builds - The `others.asciidoc` source pattern uses `../dsl/**/src/main/docs/*.adoc` which causes recursive scanning of all directories under `dsl/`, including `target/` directories with ephemeral temp folders ## Root Cause The `symlink:asciidoc:others` gulp task fails intermittently on CI with: ``` Error: ENOENT: no such file or directory, scandir '.../dsl/camel-kamelet-main/target/templates-tmp87842628' ``` During parallel builds, Maven plugins create and delete temp directories under `target/`. The glob library lists the directory entries, then tries to `scandir` each one — but by that time the temp directory has already been removed. ## Test plan - [x] Verified the glob patterns still match all expected `.adoc` files (no `target/` directories should contain doc sources) - CI should no longer fail with ENOENT on temp directories during docs builds -- 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]
