You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/10/12 06:34:55 UTC
[PR] CAMEL-25561: camel-jbang-mcp - after a failed restart, camel_run starts the integration again under the name it had [camel]
davsclaus opened a new pull request, #27700:
URL: https://github.com/apache/camel/pull/27700
Jira: https://issues.apache.org/jira/browse/CAMEL-25561
`camel_control restart` starts an integration again with its own command line. When that fails, the integration is stopped and the answer said: "fix the cause below, then camel_run starts it again". An agent that follows this calls `camel_run` with the directory only, and the integration started under the default name (from the first route file) instead of its own (`--name`), so the tools and scripts that find it by its name no longer did.
Found in the local-model benchmark: an integration started as `run-order-generator` came back as `order-generator` after a failed restart, and every later check by name failed (3 of 13 runs).
Now:
- the name of an integration whose restart failed is kept by its directory (its real path);
- `camel_run` without a name uses it, and its answer says "Started run-order-generator (pid N), under the name it had before its restart failed"; once started, the name is forgotten;
- the answer of the failed restart names it: "... then camel_run starts it again (directory /path) under the same name, run-order-generator."
A name given to `camel_run` is used as before.
Tests: `IntegrationLauncherTest.camelRunKeepsTheNameOfAnIntegrationWhoseRestartFailed`; the `IntegrationLauncher*Test` classes pass (11 tests).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-25561: camel-jbang-mcp - after a failed restart, camel_run starts the integration again under the name it had [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27700:
URL: https://github.com/apache/camel/pull/27700#issuecomment-6119408832
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `dsl/camel-jbang/camel-jbang-core`
---
<details><summary>:microscope: Scalpel shadow comparison — Scalpel: 6 of 704 tested, 8 compile-only — current: 6 all tested</summary>
[Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **6 affected modules** (current approach: 6).
**Skip-tests mode would test 6 modules** (1 direct + 6 downstream), **skip tests for 8** (generated code, meta-modules)
<details><summary>Modules Scalpel would test (6)</summary>
- `camel-jbang-mcp` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-mcp` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-route-parser` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-tui` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-validate` ← downstream of org.apache.camel:camel-jbang-core
- `camel-launcher-container` ← downstream of org.apache.camel:camel-launcher
</details>
<details><summary>Modules with tests skipped (8)</summary>
- `camel-jbang-it`
- `camel-jbang-main`
- `camel-jbang-plugin-edit`
- `camel-jbang-plugin-generate`
- `camel-jbang-plugin-kubernetes`
- `camel-jbang-plugin-test`
- `camel-launcher`
- `coverage`
</details>
> :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
</details>
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `dsl/camel-jbang/camel-jbang-core`: 2 test(s) disabled on GitHub Actions
:bulb: **Manual integration tests recommended:**
> You modified `dsl/camel-jbang/camel-jbang-core`. The related integration tests in `dsl/camel-jbang/camel-jbang-it` are excluded from CI. Consider running them manually:
> ```
> mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
> ```
<details><summary>All tested modules (15 modules, 2m 39s total)</summary>
**Total reactor time:** 2m 39s
| Module | Duration | Status |
| --- | --- | --- |
| Camel :: Launcher | 47.0s | SUCCESS |
| Camel :: JBang :: MCP | 40.8s | SUCCESS |
| Camel :: JBang :: Plugin :: Kubernetes | 25.6s | SUCCESS |
| Camel :: JBang :: Plugin :: Validate | 21.2s | SUCCESS |
| Camel :: JBang :: Plugin :: Testing | 11.5s | SUCCESS |
| Camel :: Coverage | 4.2s | SUCCESS |
| Camel :: JBang :: Integration tests | 1.8s | SUCCESS |
| Camel :: JBang :: Plugin :: Generate | 1.6s | SUCCESS |
| Camel :: JBang :: Plugin :: Edit | 1.6s | SUCCESS |
| Camel :: JBang :: Plugin :: MCP | 1.4s | SUCCESS |
| Camel :: JBang :: Plugin :: Route Parser | 1.0s | SUCCESS |
| Camel :: JBang :: Main | 0.9s | SUCCESS |
| Camel :: Launcher :: Container | 0.8s | SUCCESS |
| Camel :: JBang :: Core | n/a | |
| Camel :: JBang :: Plugin :: TUI | n/a | |
**Top 20 slowest modules:**
- `Camel :: Launcher` (47.0s)
- `Camel :: JBang :: MCP` (40.8s)
- `Camel :: JBang :: Plugin :: Kubernetes` (25.6s)
- `Camel :: JBang :: Plugin :: Validate` (21.2s)
- `Camel :: JBang :: Plugin :: Testing` (11.5s)
- `Camel :: Coverage` (4.2s)
- `Camel :: JBang :: Integration tests` (1.8s)
- `Camel :: JBang :: Plugin :: Generate` (1.6s)
- `Camel :: JBang :: Plugin :: Edit` (1.6s)
- `Camel :: JBang :: Plugin :: MCP` (1.4s)
- `Camel :: JBang :: Plugin :: Route Parser` (1.0s)
- `Camel :: JBang :: Main` (0.9s)
- `Camel :: Launcher :: Container` (0.8s)
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/38213220574)
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-25561: camel-jbang-mcp - after a failed restart, camel_run starts the integration again under the name it had [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27700:
URL: https://github.com/apache/camel/pull/27700#issuecomment-6119078315
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: 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](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-25561: camel-jbang-mcp - after a failed restart, camel_run starts the integration again under the name it had [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #27700:
URL: https://github.com/apache/camel/pull/27700
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org