oscerd opened a new pull request, #2836:
URL: https://github.com/apache/camel-kamelets/pull/2836

   ## CI Fix
   
   **Failed run (camel-website):** 
https://github.com/apache/camel-website/actions/runs/25926572539
   
   ### Root cause
   
   The Kamelet Catalog security model page 
`docs/modules/ROOT/pages/security-model.adoc`
   (introduced in #2835 / issue #2834) uses Kamelet property-placeholder syntax
   `{{property}}` and Camel simple syntax `${body}` as **literal text** in 
inline
   prose and table cells. Asciidoctor parses the inner `{property}` / `{body}` 
as
   attribute references, cannot resolve them, and emits:
   
   ```
   WARN (asciidoctor): skipping reference to missing attribute: property
     file: docs/modules/ROOT/pages/security-model.adoc
     source: https://github.com/apache/camel-kamelets.git (branch: main | start 
path: docs)
   ```
   
   (22× for `property/url/template/query/expression/executable`, 1× for `body`).
   
   `camel-website`'s strict production Antora build (`build:antora-perf` →
   `antora --clean --fetch antora-playbook-production.yml`) aggregates this page
   from `apache/camel-kamelets` **main** and fails on those warnings. Net 
effect:
   **every camel-website pull request is red regardless of its content** — 
verified
   by content-unrelated dependabot PR apache/camel-website#1594 failing 
identically,
   and by camel-website turning red only after #2835 merged (PRs #1591–1593 on
   2026-05-12 were green; everything from 2026-05-13 on is red).
   
   ### Fix
   
   Backslash-escape the inner attribute reference (`{\{property}}`, `$\{body}`).
   Asciidoctor consumes the escaping backslash, renders the literal 
`{{property}}`
   / `${body}` **unchanged**, performs no attribute resolution, and emits no
   warning. This is the canonical Asciidoctor idiom for literal
   attribute-reference-looking text.
   
   - Documentation-only change, single file, 14 lines.
   - **No rendered-output difference** — the page still displays `{{property}}` 
/
     `${body}`.
   - No local Asciidoctor/Antora CLI available in the environment; correctness
     rests on the documented Asciidoctor escape behaviour and is confirmed by 
the
     camel-website Antora build on this PR's downstream re-run.
   
   ### Deferred Issues
   
   None — clear root cause, fixed inline.
   
   ---
   _Claude Code on behalf of Andrea Cosentino_


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