-
Notifications
You must be signed in to change notification settings - Fork 2
Running gitops commands with sequential=True doesn't print as it goes. #21
Copy link
Copy link
Open
Description
The line here:
Line 96 in faccfe9
| print(asyncio.run(run_job(app, command, cleanup=cleanup, sequential=sequential))) |
is running individual jobs with async wrapped back to sync, unnecessarily. The result is that output isn't printed to the console until the whole job completes, rather than as the job runs.
Immediate output is important, as it allows jobs to be cancelled early as well as providing a rough idea of timing bottlenecks across the command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels