Skip to content

Consistently print a progress_message #705

Closed

Description

@alexeagle

Many actions, like those in rollup_bundle, don't print a progress_message, so Bazel prints something default like "SkylarkAction src/bundle_chunks"
This isn't meaningful to end users.

We should go through all our first-party rules and make this consistent.

Some examples of what we print today:

Expanding template src/bundle.es6/src/main.prod.ngfactory.js
Compiling Angular templates (ngc) //src src
Creating runfiles tree bazel-out/host/bin/.../thing.runfiles [for host]

Proposal:

  1. active present participle
    "Compiling", "Bundling", "Optimizing", etc

  2. noun - what kind of thing is being acted on
    "Angular", "Sass", "ES5 JavaScript"

  3. which one? short path of output being produced
    "src/bundle.js"

  4. (opt) tool and full config path being run, helping users understand the build
    "[rollup bazel-out/k8-fastbuild/bin/src/rollup.config.js]"

Activity

  1. added a commit that references this issue on Apr 20, 2019
    0ef6ea9
  2. added a commit that references this issue on Apr 20, 2019
    3802ffa
  3. added a commit that references this issue on Jun 6, 2019
    188ae59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions