Support "status" modifier for IPM update command

Open
#1,257 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
cli

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
ObjectScript
Stars
41
Forks
33
Avg merge
23h 20m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intersystems/ipm

All issues in intersystems/ipm

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.