Skip to content

ci: Fix docs-only detection in compute-ci-level - #2394

Open
gursewak1997 wants to merge 2 commits into
bootc-dev:mainfrom
gursewak1997:ci-skip-md-docs-v2
Open

ci: Fix docs-only detection in compute-ci-level#2394
gursewak1997 wants to merge 2 commits into
bootc-dev:mainfrom
gursewak1997:ci-skip-md-docs-v2

Conversation

@gursewak1997

Copy link
Copy Markdown
Contributor

The previous attempt (merged in #2391) failed silently because compute-ci-level had no checkout step, so gh pr diff could not infer the repository and produced empty output. The pipe into grep swallowed the error, setting docs_only=true for all PRs.

Fix by adding a sparse checkout for PR events, separating the gh pr diff fetch from the grep so failures abort via set -euo pipefail, and guarding empty output explicitly.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes docs-only CI detection so diff failures no longer silently skip heavy tests.

Changes:

  • Adds sparse checkout for pull request events.
  • Separates diff retrieval from classification and rejects empty output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml Outdated
The previous attempt (merged in bootc-dev#2391) failed silently because
compute-ci-level had no checkout step, so gh pr diff could not
infer the repository and produced empty output. The pipe into
grep swallowed the error, setting docs_only=true for all PRs.

Fix by adding a sparse checkout for PR events, separating the
gh pr diff fetch from the grep so failures abort via set -euo
pipefail, and guarding empty output explicitly.

Assisted-by: AI
Signed-off-by: gursewak1997 <gursmangat@gmail.com>
cgwalters
cgwalters previously approved these changes Aug 19, 2026
@cgwalters
cgwalters enabled auto-merge (rebase) August 19, 2026 20:32
`priv-integration.sh` was hanging at the chunkah step where we mount an
entire image inside a podman container. In the logs I can see
`overlay.mount_program=/usr/local/bin/fuse-overlayfs` which might be
causing the test to timeout since fuse-overlayfs is pretty slow and the
image has tons of layers.

Switch to native overlay diff which should hopefully fix the issue

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@github-actions github-actions Bot added the area/ostree Issues related to ostree label Aug 20, 2026
@Johan-Liebert1

Copy link
Copy Markdown
Collaborator

Hmm.. Test Install still failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ostree Issues related to ostree

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants