Skip to content

Conversation

@zxiiro
Copy link
Contributor

@zxiiro zxiiro commented Aug 26, 2025

The filter was matching linux.idc.xpu when it shouldn't have. This change switches to an exact match filter to resolve that issue.

@zxiiro zxiiro requested a review from a team as a code owner August 26, 2025 13:44
@zxiiro zxiiro requested a review from Copilot August 26, 2025 13:44
Copy link

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 fixes a filtering issue in the H100 queue monitoring script by switching from a prefix match to an exact match filter. The change prevents incorrect matches with machine types like "linux.idc.xpu" when filtering for a specific H100 machine type.

  • Changed from startsWith() to exact equality (===) for machine type filtering
  • Updated error message to reflect the exact match behavior
  • Removed an unnecessary empty line for cleaner code formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Aug 26, 2025

OpenTofu plan for prod

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

OpenTofu has compared your real infrastructure against your configuration and
found no differences, so no changes are needed.

❌ Plan not applied in Tofu Apply #29 (Plan has changed)

The filter was matching linux.idc.xpu when it shouldn't have. This
change switches to an exact match filter to resolve that issue.

Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
@zxiiro zxiiro force-pushed the zxiiro/queue-alerts-meta-h100 branch from 59617ec to b84fd1a Compare August 26, 2025 14:40
@jordanconway jordanconway merged commit d2d2a85 into main Aug 27, 2025
2 checks passed
@jordanconway jordanconway deleted the zxiiro/queue-alerts-meta-h100 branch August 27, 2025 17:44
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.

3 participants