Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/bazelbuild/bazel.git. Pull mirroring updated .
  1. Jan 21, 2025
  2. Jan 17, 2025
    • Chi Wang's avatar
      [7.5.0] Do not invalidate remote metadata during action dirtiness check (#24941) · 19ea55dc
      Chi Wang authored
      ... if the corresponding output is materialized afterwards and hasn't
      been changed.
      
      Failing to do so will cause an incremental build to re-check the action
      cache for actions whose outputs were materialized during last build.
      This can be very slow if the size of the outputs are large.
      
      We achieved this by storing `FileContentsProxy` in the remote metadata
      after materialization. During dirtiness check, we compare remote
      metadata and the corresponding local metadata with their `digest`, or
      `proxy` if `digest` is not available for local metadata,
      
      A user reported back the wall time of their very first increment build
      is improved by this change from `14s` to less than `1s` in common case,
      and from `115s` to less than `1s` in worst case.
      https://github.com/bazelbuild/bazel/issues/24763
      
      PiperOrigin-RevId: 715734718
      Change-Id: Id1a1a59d8b5f3e91a7ae05a73663ff37eee6d163
      
      Fixes #24920.
      19ea55dc
  3. Jan 16, 2025
  4. Jan 15, 2025
  5. Jan 14, 2025
  6. Jan 13, 2025
  7. Jan 10, 2025
  8. Jan 09, 2025
  9. Jan 08, 2025
  10. Jan 07, 2025
  11. Jan 02, 2025
  12. Dec 19, 2024
  13. Dec 18, 2024
  14. Dec 17, 2024
  15. Dec 16, 2024
  16. Nov 12, 2024
  17. Nov 07, 2024
    • Yun Peng's avatar
      [7.4.1] Remove DownloadManager instance from RegistryFactoryImpl. (#24228) · 24caa1d3
      Yun Peng authored
      This PR removes the DownloadManager from the registry factory
      implementation. As the registry created by the factory is cached by the
      SkyFunction mechanism, the DownloadManager instance was living too long
      - it is supposed to be re-created for every command instantiation to
      respect changes in command line options, but for the registry, it
      ignored those changes.
      
      Instead, the DownloadManager is set directly into the affected
      SkyFunctions that require access to it. This way, the per-command
      DownloadManager instance is correctly used.
      
      This fixes https://github.com/bazelbuild/bazel/issues/24166
      
      .
      
      Note for reviewers: This is my first time touching code with
      SkyFunctions, so I don't really know what I'm doing.
      
      Closes #24212.
      
      PiperOrigin-RevId: 693644409
      Change-Id: I7b16684e52673043615290d114f078ab7ab99fcf
      
      Co-authored-by: default avatarCornelius Riemenschneider <cornelius@github.com>
      7.4.1rc2
      24caa1d3
  18. Nov 06, 2024
  19. Oct 31, 2024
  20. Oct 30, 2024
  21. Oct 29, 2024
  22. Oct 25, 2024
  23. Oct 23, 2024
  24. Oct 18, 2024
  25. Oct 17, 2024