Skip to content

test: POM dependency detection (commons-lang3)#14

Open
gnodet wants to merge 10 commits intomainfrom
ci-test-pom-dependency-detection
Open

test: POM dependency detection (commons-lang3)#14
gnodet wants to merge 10 commits intomainfrom
ci-test-pom-dependency-detection

Conversation

@gnodet
Copy link
Copy Markdown
Owner

@gnodet gnodet commented Apr 3, 2026

Test PR for apache#22247 — exercises POM dependency detection.

Change: commons-lang3-version 3.20.0 → 3.19.0 in parent/pom.xml.
Expected: CI detects modules referencing commons-lang3-version property.

gnodet and others added 6 commits March 27, 2026 10:42
Merge the three separate CI actions (detect-dependencies, component-test,
incremental-build) into a single incremental-build action and streamline
the workflow files:

- Merge POM dependency detection (from detect-dependencies) and
  /component-test logic into incremental-build.sh
- Rationalize pr-build-main.yml to support both PR builds and
  workflow_dispatch with extra_modules and skip_full_build inputs
- Replace pr-manual-component-test.yml with a lightweight dispatcher
  that resolves component names and dispatches pr-build-main.yml
- Add pr-test-commenter.yml (workflow_run) to post unified test
  summary comments on PRs (including fork PRs)
- Generate a single unified PR comment combining file-path analysis,
  POM dependency detection, and /component-test results
- Add CI-ARCHITECTURE.md documenting the workflow ecosystem
- Revert apache#22022 (detect-dependencies action) since its functionality
  is now integrated into incremental-build
- Delete obsolete actions: detect-dependencies, component-test

Bug fixes found during CI testing:
- Fix pipefail issue in dependent module count (set -o pipefail
  caused mvn|wc||echo to produce multi-line output)
- Use ${{ github.repository }} instead of hardcoded 'apache/camel'
  in action.yaml default for github-repo input
- Only append module exclusion list when using -amd flag (exclusion
  modules must be in the reactor to be excluded)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dules

- Add blank line before ### heading so GitHub renders it as H3
- Include extra_modules in dependent count threshold check so the
  count reflects what Maven will actually build with -amd

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When changed modules have associated integration tests that are
excluded from CI (e.g. camel-jbang-core → camel-jbang-it), post
a PR comment advising the contributor to run them manually.

The mapping is maintained in manual-it-mapping.txt, co-located
with the incremental build script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…build-detect-dependencies

# Conflicts:
#	.github/workflows/pr-manual-component-test.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet force-pushed the ci-test-pom-dependency-detection branch from 19a2d98 to ea3b165 Compare April 3, 2026 15:35
@gnodet gnodet force-pushed the ci-test-pom-dependency-detection branch from ea3b165 to eab905c Compare April 3, 2026 16:02
${#array[@]} on an empty declared associative array triggers
'unbound variable' under set -u in some bash versions. Use a
simple flag variable instead.
@gnodet gnodet force-pushed the ci-test-pom-dependency-detection branch from eab905c to 7312913 Compare April 3, 2026 16:27
gnodet added 2 commits April 3, 2026 21:26
Maven reactor output includes both "Camel :: Foo" and
"Camel :: Foo  [jar]" lines. Strip the [packaging] suffix
before deduplication.
@gnodet gnodet force-pushed the ci-test-pom-dependency-detection branch from 7312913 to 8867b30 Compare April 3, 2026 19:26
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

🧪 CI tested the following changed modules:

  • parent

POM dependency changes: targeted tests included

Changed properties: commons-lang3-version

Modules affected by dependency changes (2)
  • :camel-report-maven-plugin
  • :camel-cxf-soap
All tested modules (3 modules)
  • Camel :: CXF :: SOAP
  • Camel :: Catalog :: Camel Report Maven Plugin
  • Camel :: Parent

⚙️ View full build and test results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant