Skip to content

fix: print shorter violations table [DX-5147] - #2812

Merged
Tofel merged 1 commit into
mainfrom
dx-5147-shorter-violations-table
Sep 11, 2026
Merged

Tofel merged 1 commit into
mainfrom
dx-5147-shorter-violations-table

Conversation

@Tofel

@Tofel Tofel commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 11, 2026 12:16
@Tofel
Tofel requested a review from a team as a code owner September 11, 2026 12:16
@github-actions

Copy link
Copy Markdown

👋 Tofel, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-testing-framework/grafana-alertcheck

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Address the two moderate table rendering and grouping issues before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR shortens the human-readable violations table by grouping identical rows and displaying counts.

Changes:

  • Groups matching violations.
  • Updates CLI documentation and tests.
  • Adds a changeset entry.

Two moderate issues remain in the grouping and count rendering logic.

File summaries
File Summary
grafana-alertcheck/docs/reference/cli.md Documents the grouped table format.
grafana-alertcheck/cmd/table.go Groups and counts violations; requires fixes for synthetic-instance labeling and incomplete sorting keys.
grafana-alertcheck/cmd/table_test.go Tests grouped output.
grafana-alertcheck/.changeset/v0.1.1.md Records the release summary.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment thread grafana-alertcheck/cmd/table.go
Comment thread grafana-alertcheck/cmd/table.go
@Tofel
Tofel force-pushed the dx-5147-shorter-violations-table branch from 42bfe4e to f0a895f Compare September 11, 2026 12:23
@Tofel
Tofel enabled auto-merge (squash) September 11, 2026 12:29
@Tofel
Tofel merged commit 77ece0d into main Sep 11, 2026
62 checks passed
@Tofel
Tofel deleted the dx-5147-shorter-violations-table branch September 11, 2026 12:39
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