Skip to content

bug: if an operation is found to have exited normally but due to a signal any outputs it returns are ignored #202

@michael-johnston

Description

@michael-johnston

Issue Description

When an operation exits normally ado checks if the global shutdown has been set, which is normally an indication that SIGINT or SIGTERM has been sent.

Regardless of the reason the code assumes the operation returned no output and does not check for it. This is despite the fact that an operation can return output even if SIGINT/SIGTERM are sent.

This means relationships and direct outputs of the operation are not stored in the resource store even if they are present

Expected behaviour

If outputs are returned the correct relationships are stored in the resource store

Python/ado/system info

Please include the output of:

python 3.12
ado v1.2
Mac OS Sonoma

Additional information

Some of the situations where the global shutdown can be set on return of the operation, where the operation will have outputs leading to this behaviour are due to #200

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions