The GitHub Actions job "Commit Check" on 
jackrabbit-oak.git/feature/authorizable-query-index-hint has failed.
Run started by GitHub user anchela (triggered by anchela).

Head commit for run:
edc21dedc09ec55791e119c7c2bfebde133a89d3 / Alejandro Moratinos 
<[email protected]>
Add index tag support to user query (QueryBuilder#setIndexTag)

Allow user/group queries to force a specific index by exposing a new
QueryBuilder#setIndexTag(String) method. When set, the generated XPath
statement is augmented with an "option(index tag <tag>)" clause (see the
Oak query-engine index-tag query option).

- oak-jackrabbit-api: add default no-op setIndexTag(String) to the
  QueryBuilder interface so existing implementors remain source/binary
  compatible; bump the exported package version (minor) accordingly.
- oak-core: XPathQueryBuilder stores the tag; UserQueryManager appends
  the option clause to the statement and validates the tag against
  [a-zA-Z0-9_]+ to prevent query injection.
- Tests for the new builder accessor and for the generated statement
  (valid tag executes, invalid tag is rejected).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/28152358156

With regards,
GitHub Actions via GitBox

Reply via email to