Skip to content

Fix Timeout Bug #280

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Fix Timeout Bug #280

wants to merge 7 commits into from

Conversation

PaliC
Copy link
Collaborator

@PaliC PaliC commented May 12, 2025

Description

This pr makes it such that we actually use the specified timeouts from github when running a submission. This logic was missing before. There's also a bunch of refactoring changes to make the linter happy.

Testing:
There is now a snippet in the logs that looks like

2025-05-14 17:26:57 - utils - INFO - Waiting for workflow to complete... (timeout: 3 minutes)
2025-05-14 17:26:57 - utils - INFO - Workflow dispatch successful. Waiting 5s for the run to appear..

which indicates that we are passing a non default value. The associated workflow is https://github.com/gpu-mode/discord-cluster-manager/actions/runs/15033809006 (I believe the failure is noisy)

@Copilot Copilot AI review requested due to automatic review settings May 12, 2025 22:33
Copy link
Contributor

@Copilot Copilot AI left a comment

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 addresses a timeout bug in GitHub workflow submission by introducing mode-based timeout logic for different submission types.

  • Introduces logic to select a timeout value based on the submission mode.
  • Enhances logging to include the computed timeout value.

@PaliC PaliC requested a review from msaroufim May 13, 2025 00:27
@ngc92
Copy link
Collaborator

ngc92 commented May 13, 2025

it seems you have moved the GitHubLauncher class around, which makes it a bit difficult to see the actually relevant parts in the diff.

@PaliC PaliC marked this pull request as draft May 13, 2025 18:21
@PaliC PaliC marked this pull request as ready for review May 15, 2025 00:31
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