Skip to content

PYTHON-5869 - Fix automated sync permanent patch application - #2859

Merged
NoahStapp merged 2 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5869
Jun 8, 2026
Merged

NoahStapp merged 2 commits into
mongodb:masterfrom
NoahStapp:PYTHON-5869

Conversation

@NoahStapp

Copy link
Copy Markdown
Contributor

PYTHON-5869

Changes in this PR

The "permanent" patch subdirectory is not picked up by the automated spec sync.

Test Plan

N/A.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s).

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

Copilot AI review requested due to automatic review settings June 8, 2026 18:18
@NoahStapp
NoahStapp requested a review from a team as a code owner June 8, 2026 18:18
@NoahStapp
NoahStapp requested a review from blink1073 June 8, 2026 18:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Evergreen spec resync helper so it reliably includes “permanent” patch files when applying spec patches, ensuring automated sync runs pick up patches under spec-patch/permanent/.

Changes:

  • Update patch discovery logic to glob *.patch within the permanent subdirectory via a joined Path, rather than using a slash-containing glob pattern.

Comment thread .evergreen/scripts/resync-all-specs.py Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@blink1073 blink1073 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NoahStapp
NoahStapp merged commit 99fd309 into mongodb:master Jun 8, 2026
51 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants