-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Jobs] --sync-down execution log support for managed jobs (#4527)
* add support for managed jobs * support --name to download logs * format * fix job_id * add support that separate controller that not controller * remove the interface for getting complete job_ids, parse table instead * code formatting * documentation for sync down logs * revive job id to timestamp via new interface * make the log works * revert managed job yaml * code formatting and cleanup * Fix formatting in managed_job.yaml by removing unnecessary whitespace * Remove unnecessary whitespace in managed_job.yaml for improved formatting * add sync down smoke tests * Enhance smoke tests for managed jobs by adding command to wait for job status. This update improves the reliability of the test by ensuring the job is in a RUNNING state before proceeding with log synchronization. * refactor sync down logic remove the dependency of getting job status * formatting * fix rsync bug due to refactor * clean up printing * Update sky/jobs/core.py Co-authored-by: Christopher Cooper <[email protected]> * Refactor job ID retrieval and update CLI option flag - Changed the method name from `get_job_ids_by_name` to `get_all_job_ids_by_name` for clarity in `ManagedJobCodeGen`. - Updated the CLI option flag for `sync-down` from `-d` to `-s` for better alignment with common conventions. * format & linting --------- Co-authored-by: Christopher Cooper <[email protected]>
- Loading branch information
Showing
7 changed files
with
272 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters