Image scans on the reconcile path (I-124)

Aperta
#203 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kubernetes, python

Direzione di ricerca

Read K-4 (#12), K-5 (#13), ADR 0021, and I-124 in docs/ISSUES.md to trace the existing submit-then-reconcile flow and how Kubernetes scans run as Kueue jobs. First decide where scan handles and phases should live, including whether a migration is needed and reserving its number on this issue. Done means both backends reconcile scan outcomes across worker restarts, drains no longer wait for scans, and the ADR and I-124 match the implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

queue: k8s compute (K)

Queue: K (process compute). Follow-up to K-4 (#12).

Problem

K-4 moved process runs to submit-then-reconcile: the worker submits a run and returns, and the Reconciler finalizes it later. Image scans were left on the old shape (plan ruling R11): the scan job submits its container and then polls executor.status() until it finishes, so a scan holds a worker slot for its whole duration (docs/ISSUES.md I-124, ADR 0021).

Wanted

  • A scan is submitted and its outcome collected by the reconcile path, like a process run, so the drain no longer blocks on it.
  • A worker restart mid-scan still records the scan's verdict.
  • ADR 0021's "until K-4" wording and I-124 are brought in line with what is built.

Notes

  • Scans have no row in process_runs; decide where the handle and phase live (the image-version row or a small ledger) before planning. A migration number must be reserved on this issue if one is needed.
  • On Kubernetes (K-5, #13) scans run as Kueue jobs at triggered priority; this slice should work on both backends.
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.