🤖 CoderWorkspacePool: keep the pool owner active with its own token

Offen
#456 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
8/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
go, kubernetes

Rechercherichtung

The issue names no source files, tests or entry points; it points to plan workspace-13.md (sections 12 and 16), which the payload does not include. Before any code, read that plan and the D7 decision to learn which owner credential is stored in the Secret and how the pool checks eligibility. The work needs a security review first, so a newcomer should not start a patch. Done would mean a recorded decision on the token design, not an implementation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Idea

Keep a pool owner active with the owner's own token, stored in a Secret (decision D7, option C). Today Coder marks an owner dormant after 90 days without a login or API use, and the pool then stops with OwnerNotEligible and deletes its unclaimed workspaces. The admin must use the owner's credentials at least once every 90 days.

Why deferred

A credential Secret for the owner needs its own security review. Option B (the activate route) was refused, because it can also lift a suspension.

Plan workspace-13.md section 12 (D7) and section 16 item 2.

Refs #153


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

Vorherrschende Sprache
Go
Sterne
5
Forks
3
Ø Merge
1 Std. 50 Min.
Gemergte PRs (30 T.)
160

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus coder/coder-k8s

Alle Issues in coder/coder-k8s

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.