davsclaus opened a new pull request, #30385: URL: https://github.com/apache/camel/pull/30385
`MigrationDataSearchTest.snippetShowsTheLinesAroundTheMatch` in camel-jbang-mcp fails on main. CI misses it because a PR only runs it when it changes an upgrade guide; it failed on #30360 (camel-sql) for that reason. The cause is the camel-nats entry in the 4.24 upgrade guide (#30349). It mentions the "subject alternative name", so "subject" is now in one more guide section than "camel-mail". The snippet picks the line with the highest idf of the matched terms. It now takes the line with "camel-mail" and "header" instead of the `MAIL_SUBJECT` line, which has "subject" and "header", so the snippet no longer contains `MAIL_SUBJECT`. The test now searches for "camel-mail subject header constants". "constants" is on the `MAIL_SUBJECT` line, so that line wins by a clear margin rather than by a difference of one section. Tested: `MigrationDataSearchTest` fails on main and passes with this change (13 tests). _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
