[webkit-changes] [WebKit/WebKit] f167dc: [Static Analyzer CI] Support reporting static anal...

Brianna Fan noreply at github.com
Mon Oct 28 17:44:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f167dc39b8298efca1aa742a21c7fc976ebd9024
      https://github.com/WebKit/WebKit/commit/f167dc39b8298efca1aa742a21c7fc976ebd9024
  Author: Brianna Fan <bfan2 at apple.com>
  Date:   2024-10-28 (Mon, 28 Oct 2024)

  Changed paths:
    M Tools/Scripts/compare-static-analysis-results
    M Tools/Scripts/webkitpy/results/options.py

  Log Message:
  -----------
  [Static Analyzer CI] Support reporting static analyzer results to results.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=281925
rdar://138433382

Reviewed by Jonathan Bedard.

Take parsed results and format them for the resultsdb API to upload.
Config and build details are provided from buildbot as arguments.
Then, use webkitpy.results.upload to results.webkit.org.

* Tools/Scripts/compare-static-analysis-results:
(parser): Add new options.
(find_diff): Fix empty file logic and return list of all files with issues.
(compare_project_results_to_expectations): Assign an actual and expected result to each file.
(upload_results): Create the results object for upload. Check repo for the current commit. Upload results.
(main): Call upload_results if the upload arguments are passed.

* Tools/Scripts/webkitpy/results/options.py: Support both optparse and argparse!
(add_optargs):
(upload_options):
(upload_args):

Canonical link: https://commits.webkit.org/285799@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