Skip to content

ci: test Scalpel shadow — kafka-version managed dependency [DO NOT MERGE]#23062

Closed
gnodet wants to merge 3 commits into
apache:mainfrom
gnodet:test-scalpel-shadow-a
Closed

ci: test Scalpel shadow — kafka-version managed dependency [DO NOT MERGE]#23062
gnodet wants to merge 3 commits into
apache:mainfrom
gnodet:test-scalpel-shadow-a

Conversation

@gnodet

@gnodet gnodet commented May 7, 2026

Copy link
Copy Markdown
Contributor

Test PR for Scalpel shadow comparison validation

DO NOT MERGE — validates PR #22524.

Scenario A: Narrow managed dependency (kafka-version)

Adds a comment near kafka-version in parent/pom.xml. No module directly references ${kafka-version} — it's consumed via <dependencyManagement>.

Expected:

  • Grep: finds 0 affected modules (no ${kafka-version} references in module POMs)
  • Scalpel: should detect camel-kafka + dependents via effective POM model comparison

This demonstrates grep's blind spot for managed dependencies.

gnodet and others added 2 commits May 7, 2026 16:01
Upgrade Scalpel from extension3:0.1.0 to extension:0.3.0 and run it in
shadow mode — observing what skip-tests mode would do without affecting
actual test execution. This allows validating Scalpel's decisions across
many PRs before switching to Scalpel-driven test execution.

Changes:
- Upgrade Scalpel to 0.3.0 with source-set-aware propagation and
  skipTestsForDownstreamModules support
- Pre-fetch base branch in CI workflow (avoids JGit issues in shallow clones)
- Remove persist-credentials: false (needed for git fetch operations)
- Add shadow comparison section to PR comments showing what Scalpel
  skip-tests mode would have tested vs the current approach
- Update CI-ARCHITECTURE.md with shadow comparison documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Scalpel 0.3.0 upgrade is already on main. This PR focuses on the shadow
comparison feature, not the version bump.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

🌟 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.

@gnodet gnodet force-pushed the test-scalpel-shadow-a branch from 63896e0 to cc3b425 Compare May 7, 2026 15:08
@gnodet

gnodet commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

Closing — version didn't exist. Recreating with real version.

@gnodet gnodet closed this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment