davsclaus opened a new pull request, #28847:
URL: https://github.com/apache/camel/pull/28847

   https://issues.apache.org/jira/browse/CAMEL-26482
   
   Three findings from the r25 run of the local-model benchmark (qwen3.6 35B on 
Ollama), and from the runs before it.
   
   **A to: that copies the files a file consumer moves (connect-file-processing 
step 1)**
   - The step asks to move the processed files to the done directory. 4 runs in 
r24 and r25 added `to: file:done` after the file consumer instead. That writes 
a copy, and the consumer still moves each file to `.camel`, its default.
   - The write and edit answers now have a note when a `to:` or `toD:` file 
follows a file consumer with no noop, move, delete, moveFailed or preMove. The 
note says to set `move: done` on the consumer, and that a move value starting 
with a dot is a hidden folder.
   - It is a note, so the write is not refused.
   
   **A placeholder left unused (run-nightly-report step 4)**
   - The step asks to change the schedule. 4 runs wrote the cron in the route 
over `{{report.schedule}}`, and the key stayed unused in application.properties.
   - The write and edit tools now say so in a note when a change replaces the 
last use of a key that application.properties defines, and no other file of the 
project uses it.
   
   **The place of an errorHandler (fail-well-error-handling step 2)**
   - An errorHandler under `from:` was told that it is a top-level entry. Runs 
that followed this moved it to the top level, where it applies to every route, 
and failed. The hint now gives both places: under the route, next to `from:` 
(this route only), or as a top-level item (every route).
   - A top-level errorHandler is set on the CamelContext, which has one for all 
routes (`ErrorHandlerDeserializer`). A second one in the same file replaces the 
first for every route, without a word. 5 runs wrote a second one for a single 
route, and failed. The validator now reports it, with the line of the first one 
and the form for one route.
   
   **Tests**
   - camel-yaml-dsl-validator: 337 tests pass.
   - The AI tool tests in camel-jbang-core: 830 tests pass, with 1 skipped as 
before.
   - The new checks report nothing on these:
     - the reference files of the benchmark steps (216 writes);
     - 110 YAML blocks of the file component and error handler docs;
     - 278 YAML route files of the repository and the examples.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to