fix the error when lucia URL is not available - #184
Merged
Conversation
Rui Gao (hippogr)
had a problem deploying
to
auto-test
June 11, 2026 07:03 — with
GitHub Actions
Failure
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the alert-manager cluster utilization reporting script to be more resilient when the Lucia-based report source fails (e.g., missing/invalid Lucia URL) by adding error handling around report collection and alert sending.
Changes:
- Wrap Lucia report collection in a
try/exceptto avoid uncaught exceptions during report retrieval. - Add an explicit
elsebranch to handle unknownREPORT_SOURCEvalues. - Wrap
send_alert(...)in atry/exceptto log failures during alert delivery.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Rui Gao (hippogr)
had a problem deploying
to
auto-test
June 11, 2026 07:09 — with
GitHub Actions
Failure
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Rui Gao (hippogr)
had a problem deploying
to
auto-test
June 11, 2026 08:00 — with
GitHub Actions
Failure
…mpty services - Change -i argument from comma-separated to space-separated to match argparse nargs='+' expectations - Skip build/push when changed_services is empty after removing alert-manager - Add continue in build-all to avoid rebuilding alert-manager without image filter Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Rui Gao (hippogr)
temporarily deployed
to
auto-test
June 12, 2026 00:34 — with
GitHub Actions
Inactive
Rui Gao (hippogr)
temporarily deployed
to
auto-test
June 12, 2026 00:51 — with
GitHub Actions
Inactive
Two issues caused S360 alerts after CI deployment: 1. docker build --no-cache does not pull fresh base images, so the self-hosted runner reuses its cached (vulnerable) azurelinux image. Add --pull to force fetching the latest base image on every build. 2. ACR push step lacked -i filter for alert-manager, potentially pushing old unbuilt images from the runner's Docker cache. Align ACR push with the GHCR push logic. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Rui Gao (hippogr)
temporarily deployed
to
auto-test
June 15, 2026 02:05 — with
GitHub Actions
Inactive
Rui Gao (hippogr)
temporarily deployed
to
auto-test
June 15, 2026 02:21 — with
GitHub Actions
Inactive
guozhongxin (guozhongxin)
approved these changes
Jun 15, 2026
zhogu
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix the error when lucia URL is not available