Support "status" modifier for IPM update command

Aperta
#1,257 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
cli

Direzione di ricerca

Start at the IPM "update" command entry point and inspect how update progress and logs are currently exposed. Define the status output around the requested Not started, In-progress, Error, and Complete states, including primary and non-primary step information for mirrored deployments; done means the modifier reports those states without requiring log inspection.

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

Descrizione

enhancement needs spec

Describe the problem

At the moment when a customer is running IPM "update", the only way they can figure out the state of the update as a whole is via inspecting the logs. Although useful in general, it would be more user friendly and useful in real, complex customer systems to support a "status" modifier for the IPM "update" command.
Especially consider that when running IPM update on a mirrored deployment, the backup and primary instances will be in different update states at different points.

Describe the solution

It would be nice if zpm "update myMod toVersion -status" outputs something to the extent of:

  • Not started
  • In-progress: Prints steps that have run and steps that still need to run + whether they can run on a non-primary
  • Error
  • Complete

Describe alternatives

If the resources are available, a customer could theoretically pipe the output of the logs to an AI agent that can tell them the status from the logs instead.

Lingua principale
ObjectScript
Stelle
41
Fork
33
Merge medio
23h 20m
PR unite (30g)
29

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 intersystems/ipm

Tutte le issue di intersystems/ipm

Issue simili

Altre issue su CLI

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.