Skip to content

Conversation

@hnrklssn
Copy link
Member

There's no need to fiddle with locks etc. when there's no actual parallelism going on.

There's no need to fiddle with locks etc. when there's no actual
parallelism going on.
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn
Copy link
Member Author

For context, this helped me work around an issue where I kept getting stuck waiting on a lock (for reasons I don't know).

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Seems fine, but lack of testing worries me. I'm not proficient enough with Python to suggest a concrete testing strategy though.

@MaxDesiatov MaxDesiatov added python Flag: Python source code update-checkout Area → utils: the `update-checkout` script needs tests Flag: Issue is fixed but needs tests / PR needs tests labels Jan 27, 2025
@hnrklssn
Copy link
Member Author

Seems fine, but lack of testing worries me. I'm not proficient enough with Python to suggest a concrete testing strategy though.

Does update-checkout have tests?

@MaxDesiatov
Copy link
Contributor

It does seem to have some tests here https://github.com/swiftlang/swift/tree/main/utils/update_checkout/tests

hnrklssn added 2 commits March 5, 2025 17:55
The mock repo is configured with the no-reply@swift.org email address.
If the user has globally configured git to sign commits this won't match
the signature, preventing the tests from running properly.
@hnrklssn
Copy link
Member Author

hnrklssn commented Mar 6, 2025

@swift-ci please smoke test

@hnrklssn
Copy link
Member Author

hnrklssn commented Mar 6, 2025

@MaxDesiatov Sorry about the delay. Added some single threaded versions of the existing tests. Let me know if you have any other comments.

@AnthonyLatsis AnthonyLatsis removed the needs tests Flag: Issue is fixed but needs tests / PR needs tests label Mar 6, 2025
@MaxDesiatov
Copy link
Contributor

@swift-ci smoke test linux

Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

Thanks!

@MaxDesiatov MaxDesiatov enabled auto-merge March 6, 2025 09:50
@AnthonyLatsis AnthonyLatsis requested a review from edymtt March 6, 2025 20:50
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis left a comment

Choose a reason for hiding this comment

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

LGTM, but please wait for a review from Eric Evan too. Feel free to ping them if the PR stalls.

@hnrklssn
Copy link
Member Author

hnrklssn commented Mar 6, 2025

@swift-ci smoke test linux

@AnthonyLatsis AnthonyLatsis requested review from etcwilde and removed request for edymtt March 7, 2025 00:46
@hnrklssn
Copy link
Member Author

hnrklssn commented Oct 9, 2025

Closing this, as using a python version >3.9 fixes the multiprocessing issues.

@hnrklssn hnrklssn closed this Oct 9, 2025
auto-merge was automatically disabled October 9, 2025 23:56

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Flag: Python source code update-checkout Area → utils: the `update-checkout` script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants