Skip to content

fix: Change CI failure level from warn to error#3063

Merged
gtrivedi88 merged 1 commit intoeclipse-che:mainfrom
gtrivedi88:fix/ci-failure-level
Apr 13, 2026
Merged

fix: Change CI failure level from warn to error#3063
gtrivedi88 merged 1 commit intoeclipse-che:mainfrom
gtrivedi88:fix/ci-failure-level

Conversation

@gtrivedi88
Copy link
Copy Markdown
Contributor

What does this pull request change?

Changes failure_level from warn to error in antora-playbook-for-development.yml.

The warn setting causes both CI checks ("Build and validate pull request" and "Build and verify container") to fail on ~40 harmless warnings from unresolved curly braces in shell/jsonpath expressions inside source blocks (e.g., {home}, {end}, {patch}, {ovsx_pod_name}). The Antora assembler produces a monolithic AsciiDoc file where these literal curly braces get misinterpreted as AsciiDoc attributes.

Changing to error still catches real build errors while allowing these harmless warnings to pass.

What issues does this pull request fix or reference?

Unblocks PR #3060 and any other PR currently failing due to pre-existing warnings on main.

Specify the version of the product this pull request applies to

main

Pull Request checklist

The failure_level: warn setting causes CI to fail on harmless warnings
from unresolved curly braces in shell/jsonpath expressions inside source
blocks (e.g., {home}, {end}, {patch}, {ovsx_pod_name}). The Antora
assembler produces a monolithic AsciiDoc file where these literal curly
braces get misinterpreted as AsciiDoc attributes.

Changing to failure_level: error still catches real build errors while
allowing these harmless warnings to pass. This unblocks PRs that are
currently failing due to pre-existing warnings on main.
@gtrivedi88 gtrivedi88 requested review from a team, deerskindoll and mkuznyetsov as code owners April 13, 2026 13:27
@gtrivedi88 gtrivedi88 requested a review from nickboldt April 13, 2026 13:27
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

Click here to review and test in web IDE: Contribute

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

🎊 Navigate the preview: https://69dcf4b135f1ea54b61197eb--eclipse-che-docs-pr.netlify.app 🎊

@gtrivedi88 gtrivedi88 merged commit 0729070 into eclipse-che:main Apr 13, 2026
7 checks passed
gtrivedi88 added a commit to gtrivedi88/che-docs that referenced this pull request Apr 13, 2026
PR eclipse-che#3063 updated the playbook setting but both workflow files pass
--log-failure-level=warn on the CLI, which overrides the playbook.
This causes CI to fail on pre-existing asciidoctor errors from the
Antora assembler generating invalid part structures in the monolithic
output file.

Changing the CLI flag to error aligns with the playbook setting from
PR eclipse-che#3063 and allows the build to complete.

Signed-off-by: Grishma Trivedi <gtrivedi@redhat.com>
gtrivedi88 added a commit that referenced this pull request Apr 13, 2026
…3064)

PR #3063 updated the playbook setting but both workflow files pass
--log-failure-level=warn on the CLI, which overrides the playbook.
This causes CI to fail on pre-existing asciidoctor errors from the
Antora assembler generating invalid part structures in the monolithic
output file.

Changing the CLI flag to error aligns with the playbook setting from
PR #3063 and allows the build to complete.

Signed-off-by: Grishma Trivedi <gtrivedi@redhat.com>
gtrivedi88 added a commit to gtrivedi88/che-docs that referenced this pull request Apr 13, 2026
This is the last of four locations that had --log-failure-level=warn:
1. antora-playbook-for-development.yml (fixed in eclipse-che#3063)
2. .github/workflows/build-and-validate-on-pr.yaml (fixed in eclipse-che#3064)
3. .github/workflows/build-and-validate-on-push.yaml (fixed in eclipse-che#3064)
4. tools/build.sh (this PR)

This script is called by tools/build-and-verify-container.sh, which
powers the "Build and verify container" CI check.

Signed-off-by: Grishma Trivedi <gtrivedi@redhat.com>
tolusha pushed a commit that referenced this pull request Apr 13, 2026
…#3065)

This is the last of four locations that had --log-failure-level=warn:
1. antora-playbook-for-development.yml (fixed in #3063)
2. .github/workflows/build-and-validate-on-pr.yaml (fixed in #3064)
3. .github/workflows/build-and-validate-on-push.yaml (fixed in #3064)
4. tools/build.sh (this PR)

This script is called by tools/build-and-verify-container.sh, which
powers the "Build and verify container" CI check.

Signed-off-by: Grishma Trivedi <gtrivedi@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants