Skip to content

ci: temp skip hlab on tag jobs#1377

Merged
Frostman merged 1 commit intomasterfrom
dev/frostman/tag-no-hlab
Mar 23, 2026
Merged

ci: temp skip hlab on tag jobs#1377
Frostman merged 1 commit intomasterfrom
dev/frostman/tag-no-hlab

Conversation

@Frostman
Copy link
Copy Markdown
Member

No description provided.

@Frostman Frostman requested a review from a team as a code owner March 23, 2026 19:10
Copilot AI review requested due to automatic review settings March 23, 2026 19:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the CI workflow’s vlab reusable-workflow invocation to skip running the hybrid “hlab” matrix entry during certain non-PR runs.

Changes:

  • Updates the vlab job’s skip expression to additionally skip hybrid runs on push events.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yaml
Comment on lines 158 to 160
)
|| github.event_name == 'push' && matrix.hybrid
}}
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The added skip condition github.event_name == 'push' && matrix.hybrid will skip all hybrid runs on any push (including pushes to master / release/*), not just tag-triggered runs. If the intent is “temp skip hlab on tag jobs”, consider restricting this to tag refs (e.g., startsWith(github.ref, 'refs/tags/')) so branch pushes still exercise hlab when desired.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yaml
Comment on lines 151 to 160
${{
github.event_name == 'pull_request'
&& (
matrix.hybrid && !contains(github.event.pull_request.labels.*.name, 'ci:+hlab')
|| !matrix.hybrid && contains(github.event.pull_request.labels.*.name, 'ci:-vlab')
) && (
matrix.upgradefrom == '' || contains(github.event.pull_request.labels.*.name, 'ci:-upgrade')
)
|| github.event_name == 'push' && matrix.hybrid
}}
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The skip expression mixes && and || without explicit grouping, which is easy to misread and can lead to accidental logic changes later. Consider adding parentheses around each high-level clause (PR label-based clause vs push/tag clause) to make the intended precedence unambiguous.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown

🚀 Temp artifacts published: v0-ece8936fb 🚀

Signed-off-by: Sergei Lukianov <me@slukjanov.name>
@Frostman Frostman force-pushed the dev/frostman/tag-no-hlab branch from ece8936 to d5a937c Compare March 23, 2026 19:18
@github-actions
Copy link
Copy Markdown

🚀 Temp artifacts published: v0-d5a937c0c 🚀

@Frostman Frostman merged commit f2420d5 into master Mar 23, 2026
16 checks passed
@Frostman Frostman deleted the dev/frostman/tag-no-hlab branch March 23, 2026 20:24
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