Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.1.0] Report background download for BwoB #17619

Merged
merged 2 commits into from
Feb 28, 2023

Commits on Feb 28, 2023

  1. Report background download for BwoB

    When building without the bytes, downloads can happen when Bazel need to fetch inputs for local actions, download outputs of toplevel targets, and etc. The downloads happen silently at the background.
    
    This PR makes output downloads of toplevel targets visible to the UI.
    
    For downloads during the build, the UI looks like:
    
    ```
    [2 / 5] 2 actions, 1 running
        [Prepa] Executing genrule //:foo
        Executing genrule //:bar; 2s
        Fetching bazel-out/darwin-fastbuild/bin/baz; 50.8 MiB / 1.0 GiB; 4s
    ```
    
    For downloads after build is completed, the UI looks like:
    
    ```
    INFO: 2 processes: 1 remote cache hit, 1 internal.
    INFO: Build completed successfully, 2 total actions
        Fetching bazel-out/darwin-fastbuild/bin/baz; 48.8 MiB / 1.0 GiB
    ```
    
    Fixes bazelbuild#17417.
    
    Closes bazelbuild#17604.
    
    PiperOrigin-RevId: 512934756
    Change-Id: I502489420ab9b84efb74ceabbe3dd4cb4a7a62e2
    coeuvre committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    e86f932 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28147c9 View commit details
    Browse the repository at this point in the history