Page MenuHomeElementl

Stub ECS StopTask
ClosedPublic

Authored by jordansanders on Jun 16 2021, 4:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 12 2023, 4:20 PM
Unknown Object (File)
Apr 11 2023, 12:47 PM
Unknown Object (File)
Apr 10 2023, 2:55 AM
Unknown Object (File)
Apr 7 2023, 4:51 PM
Unknown Object (File)
Apr 4 2023, 6:28 AM
Unknown Object (File)
Apr 2 2023, 8:52 AM
Unknown Object (File)
Apr 1 2023, 2:38 PM
Unknown Object (File)
Apr 1 2023, 11:23 AM
Subscribers
None

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.