Repository navigation
feat(grafana-github): title new alert issues with their start time in KST and label them - #211
Merged
Merged
Conversation
…tles An issue is titled "<rule> (10/3 21:55 KST)" from the earliest firing alert, set once at creation. Open issues still match by rule, with or without the time, so the open old-style issue keeps its comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hv8vVU7X8zGPFbo3CvktmJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hv8vVU7X8zGPFbo3CvktmJ
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.
Refs femiwiki/infra#1116, femiwiki/infra#1056
New alert issues are titled like
CPU surplus credits are being charged (10/3 21:55 KST), from the earliest firing alert in the notification, and get thealertlabel. The title is set at creation and never edited, so later firings commented on the same open issue do not change it. Open issues still match by rule with or without the time, so old-style open issues keep getting comments. Two commits: title and matching, then the label.Merge after femiwiki/infra#1143 is applied, so the label exists. Merging redeploys grafana-github.
uv run python -m unittest discover -s grafana-github: 13 tests OK (3 new); ruff and ty pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Hv8vVU7X8zGPFbo3CvktmJ