Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13398

In the code change report, improve handling of PyGit2 failures

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Evergreen
    • None
    • Storage Engines
    • 1
    • 2024-08-06 - Withholding Tax

      We’ve previously had some issues with PyGit2 (which we use for parsing Git diffs) loading diffs (due to bugs in PyGit2) that have either empty files or file renames.

      Some patch builds for WT-13397 are failing, and this appears to be due to PyGit2 being unable to load the diff for the changes. These patches appear to have found another edge case.

      Here is an example of an error message from PyGit2:

      _pygit2.GitError: invalid patch header at line 31

       

            Assignee:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Reporter:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: