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

   Main fails `CatalogLookupsTest` and `CatalogDocSeveralOptionsTest` in 
camel-jbang-core. The PR CI only runs them when camel-jbang-core changes, so it 
shows on the next PR that touches the module (#31206, #31209).
   
   Cause: #31149 (CAMEL-23832) rewrote the aws2-s3 `keyName` option, which now 
says "used when the CamelAwsS3Key header is not set". `optionsFilter` matches 
option descriptions too, so `CamelAwsS3Key` and `CamelAwsS3` now match that 
option, and the answer lists options instead of the headers these tests expect.
   
   The tests for "a filter that matches no option finds the message headers" 
now use headers that no option mentions: `CamelAwsS3GrantRead` (and 
`CamelAwsS3GrantReadACP`) on aws2-s3, and the `CamelAwsTranscribe` prefix on 
aws2-transcribe for the "many headers" case. The tests that look a header up 
with `find` keep `CamelAwsS3Key`.
   
   Tested with `CatalogLookupsTest`, `CatalogDocSeveralOptionsTest` and 
`CatalogDocsTest` against a catalog jar built from current main (60 tests, all 
pass).
   
   Note for the reviewer: the cut-answer note says "optionsFilter=<header name> 
returns one in full", which no longer holds for a header that an option 
description names (CamelAwsS3Key now returns the keyName option). Whether an 
exact header name should also return the header is a behavior question for a 
follow-up.
   
   Part of [CAMEL-27980](https://issues.apache.org/jira/browse/CAMEL-27980).
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_012nJsFsjqqFiwroeHRWaKbS
   


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