Support "status" modifier for IPM update command

Abierto
#1,257 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
ObjectScript
Estrellas
41
Forks
33
Merge medio
23 h 20 min
PR fusionados (30 d)
29

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de intersystems/ipm

Todos los issues de intersystems/ipm

Issues similares

Más issues de CLI

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.