[webkit-changes] [WebKit/WebKit] fa1fd7: Add support for post-commit smart pointer workflow

Brianna Fan noreply at github.com
Wed May 15 09:33:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fa1fd7865654668406db93da8758c67b96e9713d
      https://github.com/WebKit/WebKit/commit/fa1fd7865654668406db93da8758c67b96e9713d
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M Tools/Scripts/compare-static-analysis-results
    M Tools/Scripts/generate-dirty-files
    M Tools/Scripts/generate-static-analysis-archive

  Log Message:
  -----------
  Add support for post-commit smart pointer workflow
https://bugs.webkit.org/show_bug.cgi?id=273896
rdar://127762312

Reviewed by Jonathan Bedard.

Revamps the smart pointer static analysis scripts to find new regressions and
fixes as compared to expectation files per checker for each project.

* Tools/Scripts/compare-static-analysis-results:
(parser): Adds --check-expectations argument.
(find_diff): Removes grep commands and uses set operations instead.
(compare_project_results_to_expectations): New method to find unexpected regressions and fixes.
(compare_project_results_by_run): Renames method that finds new issues and fixes per run.
(main): Adds new logging.
(compare_project_results): Deleted.

* Tools/Scripts/generate-dirty-files:
(parse_results_file): Removes prefix from file paths.
(find_project_results): Changes saved data structure to lists of issues per file per checker.
(find_all_results): Creates issues_per_file.json which is consumed in compare-static-analysis-results.

* Tools/Scripts/generate-static-analysis-archive: Adds new templates for unexpected results page.
(parse_command_line):
(generate_results_page):
(create_results_file):
(main):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list