Skip to content

Track Coroot instance binding after database Pod rescheduling #4720

Open

Description

@devantler

🤖 Generated by the Agentic Engineer

Problem

Coroot can keep an operator-managed database Pod attached to its old node when a same-named replacement appears on a different node within the selected time window. The resulting missing metric join can misreport instance availability until the old samples age out.

Scope

Build a synthetic regression for the Kubernetes metadata and container-metric join, then contribute the smallest necessary correction to coroot/coroot. Preserve real outage reporting and existing non-Kubernetes instance behavior. Track upstream merge, release availability, platform adoption, and post-adoption evidence separately.

Upstream necessity and boundary

The incorrect identity merge is in Coroot's public model and constructor, not in the platform's workload configuration. Changing database placement or rewriting telemetry would not correct that model and could hide real signals. The maintainer has already authorized Coroot contributions. This is public-source research and a sanitized contribution to Coroot, not employment-related work; no private source, cluster identifiers, logs, or credentials will be published.

Acceptance

  • A regression demonstrates distinct same-named operator Pods on two nodes, including metric attachment.
  • The proposed fix preserves same-node reuse, StatefulSet behavior, and non-Kubernetes instances.
  • Required upstream tests and lint pass, with a clean private exact-head review.
  • The platform remains unmodified until an upstream release is available and reviewed adoption is verified live.

Part of #2043.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added theissue type on Oct 11, 2026
  3. devantler commented on Oct 11, 2026

    @devantler
    ContributorAuthor

    🤖 Generated by the Agentic Engineer

    The synthetic regression is confirmed and filed upstream as coroot/coroot#1052. A two-line source fix and model/constructor tests pass the full upstream test and lint targets. No production details were included. Publication of the PR remains held on the repository-template exception requested in this session; upstream merge, release and platform adoption are not yet delivered.

  4. moved this to 📥 Backlog in 🌊 Project Boardon Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Effort

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions