Skip to content

Running gitops commands with sequential=True doesn't print as it goes. #21

Open
@jarekwg

Description

@jarekwg

The line here:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions