Page MenuHomeElementl

Stub ECS StopTask
ClosedPublic

Authored by jordansanders on Jun 16 2021, 4:05 PM.

Details

Summary

https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_StopTask.html

Unlike the real endpoint which allows for some shutdown time to respond
to SIGTERM, this immediately switches the lastStatus to STOPPED.

The real ECS eventaully garbage collects stopped tasks so they'll no
longer appear in things like ListTasks; our stubbed ECS does not.

Test Plan

unit

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 16 2021, 4:31 PM
Harbormaster failed remote builds in B32169: Diff 39629!
Harbormaster returned this revision to the author for changes because remote builds failed.Jun 16 2021, 6:13 PM
Harbormaster failed remote builds in B32201: Diff 39667!
Harbormaster returned this revision to the author for changes because remote builds failed.Jun 16 2021, 8:30 PM
Harbormaster failed remote builds in B32237: Diff 39705!
This revision is now accepted and ready to land.Jun 17 2021, 10:15 PM
This revision was automatically updated to reflect the committed changes.