This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new def7b6c41f7e Fix flaky docs gulp build by excluding target directories
from glob scanning (#21996)
def7b6c41f7e is described below
commit def7b6c41f7e8fbdf3c53600ae5948994289ddef
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Mar 17 08:12:33 2026 +0100
Fix flaky docs gulp build by excluding target directories from glob
scanning (#21996)
The gulp `symlink:asciidoc:others` task uses a `**` glob pattern to scan
DSL module directories. During parallel CI builds, temp directories under
`target/` (e.g. `templates-tmp87842628`) can appear and disappear while
the glob is scanning, causing ENOENT race conditions.
Exclude `**/target/**` from `gulp.src()` calls in both `createSymlinks`
and `createExampleSymlinks` functions, since build output directories
should never contain documentation source files.
Co-authored-by: Claude Opus 4.6 <[email protected]>