Skip to content

feat: Add monitor and dashboard custom resources - #4400

Merged
maciaszczykm merged 22 commits into
masterfrom
marcin/prod-5239-add-monitordashboard-k8s-cr-implementations
Sep 23, 2026
Merged

maciaszczykm merged 22 commits into
masterfrom
marcin/prod-5239-add-monitordashboard-k8s-cr-implementations

Conversation

@maciaszczykm

@maciaszczykm maciaszczykm commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Added Monitor and Dashboard Kubernetes resources, synced to Console by the operator. Includes tests, ready-to-apply samples and generated CRDs and docs.
  • Updated GitHub actions to their latest major versions.
  • A new push to a PR cancels its older workflow runs.
  • Fixed Go dependency and build caching.
  • Docker build caches are now separate per image and platform.
  • Removed duplicate Go build steps and unneeded QEMU setup to speed up CI.

Test Plan

Test environment: https://console.plrl-dev-aws.onplural.sh/

Zrzut ekranu 2026-09-23 o 16 22 55 Zrzut ekranu 2026-09-23 o 16 18 03 Zrzut ekranu 2026-09-23 o 16 17 14

Checklist

  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have deployed the agent to a test environment and verified that it works as expected (required only when changing agent code).

Plural Flow: console

@linear

linear Bot commented Sep 23, 2026

Copy link
Copy Markdown

PROD-5239

@soffi-ai

soffi-ai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Soffi AI Summary

This PR introduces two new Kubernetes custom resources — Monitor and Dashboard — that are managed by the Console operator and synced to the Console server. The feature includes type definitions, reconciler controllers, input validation, owner reference handling, deletion logic, sample manifests, generated CRDs, and documentation. Alongside the new CRDs, the PR modernizes and optimizes the GitHub Actions CI/CD infrastructure across all workflows: GitHub Actions are bumped to their latest major versions, concurrency groups are added so new pushes automatically cancel superseded workflow runs, Docker layer caches are scoped per image and platform to prevent cross-contamination, redundant Go build steps (already covered by test jobs) are removed, and QEMU setup is dropped from native-architecture builds to speed up pipelines.


Updated: 2026-09-23 14:01 UTC

Deploy in Soffi

@maciaszczykm

Copy link
Copy Markdown
Member Author

@greptileai

@greptile-apps

greptile-apps Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge; no new actionable defects remain in the changes since the previous review.

Summary

This PR adds Kubernetes custom resources and controller reconciliation for Console monitors and dashboards, including generated CRDs, API documentation, samples, client support, and tests. It also modernizes GitHub Actions versions, caching, concurrency, and CI job structure.

  • Adds Monitor and Dashboard APIs, reconcilers, Console client operations, RBAC, registration, and generated manifests.
  • Adds declarative GraphQL inputs and persisted queries for the new resources.
  • Adds controller tests and ready-to-apply sample manifests.
  • Updates CI/CD actions, dependency caches, Docker cache isolation, and workflow cancellation behavior.
  • The latest revision corrects YAML parsing of dashboard layout y keys and makes the metrics-monitor sample reference its bundled Workbench.

Reviews (4) · Last reviewed commit: "update sample"

Comment thread go/controller/internal/controller/dashboard_controller.go Outdated
@maciaszczykm

Copy link
Copy Markdown
Member Author

@greptileai

@maciaszczykm maciaszczykm added the enhancement New feature or request label Sep 23, 2026
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

@maciaszczykm

Copy link
Copy Markdown
Member Author

@greptileai

@maciaszczykm
maciaszczykm marked this pull request as ready for review September 23, 2026 14:30
@maciaszczykm
maciaszczykm requested review from a team as code owners September 23, 2026 14:30
@maciaszczykm
maciaszczykm merged commit abe456f into master Sep 23, 2026
187 of 190 checks passed
@maciaszczykm
maciaszczykm deleted the marcin/prod-5239-add-monitordashboard-k8s-cr-implementations branch September 24, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants