magento / magento/community-features

[Feature] [WIP] Require progress to be output on Magento Cli command methods that will take more than a minute to execute

Open
#191 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Priority: P4
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

### Description (*)
As a developer, I'd like to see progress output for any step of a Magento Cli command that can potentially run longer than one minute.

### Expected behavior (*)
A standard should be in place requiring any command to output progress for a method that will take longer than one minute to execute.

For example: `bin/magento setup:upgrade` @ `Installing data...` should update progress after each module data install that has completed. In the circumstance that sample data is being deployed, this can take a very long time to complete.

### Benefits
Knowing that the command is not stuck

### Additional information
Nothing else to add.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the bin/magento setup:upgrade example and the “Installing data...” step described in the issue. Trace which command methods can exceed one minute and identify the relevant command entry points. Done means a project-wide standard is defined and long-running steps report progress, including each completed module data install.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.