Skip to content

[ResponseOps][Connectors] investigate using an AbortController when executing connectors #255846

@pmuellr

Description

@pmuellr

Spawned from [Actions] Add signal to the action execution #249931.

Sending an AC into a connector when it executes is potentially interesting:

  • many of our connectors use Axios, which we can send an AC into (I believe)
  • but some don't, and we probably should rely on being able to cancel every connector
  • workflow currently has a use for this, but I'm not aware of other needs / requirements
  • would be a nice safety valve for "runaway" connectors that run too long

Not sure it's worth the effort to do this (beyond what workflows added in the referenced PR), at least right now

Actually, after a full read of the PR, it looks like axios will end up being sent the AC, and so if TM cancels a connector using axios, the request should fail!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions