Skip to content

Fix CmdStartStopITCase by using --wide-uri flag#22374

Merged
Croway merged 1 commit into
mainfrom
fix/jbang-it-wide-uri-cmd-start-stop
Apr 1, 2026
Merged

Fix CmdStartStopITCase by using --wide-uri flag#22374
Croway merged 1 commit into
mainfrom
fix/jbang-it-wide-uri-cmd-start-stop

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 1, 2026

Summary

Claude Code on behalf of Federico Mariani

  • Fix 6 failing CmdStartStopITCase tests in the JBang IT test suite by using the --wide-uri flag with camel get route
  • The FROM column in route status output has maxWidth(45) with ELLIPSIS_RIGHT truncation, which clips URIs like timer://java?period=1000 to timer://java?peri?, breaking the test regex patterns
  • Adding --wide-uri renders the column with maxWidth(140), ensuring full URI visibility for pattern matching

Regression since build #410 (2026-03-25) — all 6 tests in CmdStartStopITCase have been failing consistently.

Test plan

  • Verify all 6 CmdStartStopITCase tests pass with --wide-uri flag
  • Confirm --wide-uri flag doesn't affect other test behavior
  • CI JBang IT Tests / main should return to green

🤖 Generated with Claude Code

The FROM column in `camel get route` output truncates URIs to
maxWidth(45) with ELLIPSIS_RIGHT, causing test regex patterns
to fail when matching truncated URIs like `timer://java?peri?`.

Use `--wide-uri` flag which renders the FROM column with
maxWidth(140), ensuring full URI visibility for pattern matching.
@Croway
Copy link
Copy Markdown
Contributor Author

Croway commented Apr 1, 2026

@jvrubel @mcarlett

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

🧪 CI tested the following changed modules:

  • dsl/camel-jbang/camel-jbang-it

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 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 build-all, build-dependents, 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 github-actions Bot added the dsl label Apr 1, 2026
@Croway Croway merged commit 6948646 into main Apr 1, 2026
5 checks passed
@davsclaus davsclaus deleted the fix/jbang-it-wide-uri-cmd-start-stop branch April 12, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant