Skip to content

fix: Use DEFAULT_EXECUTE_TIMEOUT for swift package actions #1002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

clackary
Copy link
Contributor

@clackary clackary commented May 7, 2025

Pull Request Description

Fixes a bug where adjusting timeouts using the --default-timeout argument doesn't work for swift package actions. These timeouts were hardcoded instead of using the argument value, which prevented the argument from having an effect.

I found a few other instances of hard-coded timeouts in project_precommit_check and reproduce.py, and wanted to make those consistent even though those scripts do not have a timeout argument.

Acceptance Criteria

N/A. Bug fix, no new projects are introduced.

These timeouts were hardcoded instead of using the argument value,
which prevented the argument from having an effect.
@clackary
Copy link
Contributor Author

clackary commented May 7, 2025

@swift-ci please test

@clackary
Copy link
Contributor Author

Gentle ping for review - @shahmishal @justice-adams-apple

@justice-adams-apple
Copy link
Collaborator

LGTM, thank you!

@justice-adams-apple justice-adams-apple merged commit 6250101 into swiftlang:main May 13, 2025
1 check passed
@clackary clackary deleted the fix/swift-package-timeouts branch May 13, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants