[webkit-changes] [WebKit/WebKit] b16a3a: Recursively Determine Size of coresymbolicationd C...

Chris Gibb noreply at github.com
Wed Jan 10 00:19:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b16a3adebc84c911d70174523b0a238bfd47bd76
      https://github.com/WebKit/WebKit/commit/b16a3adebc84c911d70174523b0a238bfd47bd76
  Author: Chris Gibb <cgibb2 at apple.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M Tools/CISupport/build-webkit-org/steps.py
    M Tools/Scripts/delete-if-too-large

  Log Message:
  -----------
  Recursively Determine Size of coresymbolicationd Cache When Pruning
https://bugs.webkit.org/show_bug.cgi?id=267053
rdar://120428325

Reviewed by Alexey Proskuryakov.

In the prune-coresymbolicationd-cache-if-too-large buildbot step, we should recursively walk the top-level directory when determining its size. We should also use sudo when attempting to delete the cache.
Failing to recursively determine size results in size always being 0 for /System/Library/Caches/com.apple.coresymbolicationd. Failing to use sudo prevents deletion of the same.

* Tools/CISupport/build-webkit-org/steps.py:
(PruneCoreSymbolicationdCacheIfTooLarge):
* Tools/Scripts/delete-if-too-large:
(main):

Canonical link: https://commits.webkit.org/272843@main




More information about the webkit-changes mailing list