You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2021/10/26 08:46:00 UTC

[jira] [Work stopped] (BEAM-13033) [Playground] Go context for executor

     [ https://issues.apache.org/jira/browse/BEAM-13033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BEAM-13033 stopped by Artur Khanin.
-------------------------------------------
> [Playground] Go context for executor
> ------------------------------------
>
>                 Key: BEAM-13033
>                 URL: https://issues.apache.org/jira/browse/BEAM-13033
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-playground
>            Reporter: Ilya Kozyrev
>            Assignee: Aydar Zaynutdinov
>            Priority: P3
>              Labels: beam-playground-backend
>
> Go context usage
> As a *maintainer*,
> I want to be able to control all goroutines using the Go context.
> Acceptance criteria:
> 1. Context with Deadline is provided for the executor processes
> *Scenario*: Pipeline was stuck
>  {color:#ff0000}Given{color}: User sent RunCode request
>  {color:#ff0000}When{color}: Server compiled code
>  {color:#ff0000}And{color}: Server ran compiled code
>  {color:#ff0000}And{color}: Code didn't complete in deadline time 
>  {color:#ff0000}Then{color}: All executor processes is cancel
>  {color:#ff0000}And{color}: All resources cleaned up
>  {color:#ff0000}And{color}: Pipeline status changed to failed
>  {color:#ff0000}And{color}: Correspondent error retrieved to the client (through cache)
> 2. Context with cancelation is provided for the executor processes
> *Scenario*: User closed Playground
>  {color:#ff0000}Given{color}: User sent RunCode request
>  {color:#ff0000}When{color}: Server compiled code
>  {color:#ff0000}And{color}: Server ran compiled code
>  {color:#ff0000}And{color}: Client closed Playground page 
>  {color:#ff0000}Then{color}: All executor processes is cancel
>  {color:#ff0000}And{color}: All resources cleaned up
>  {color:#ff0000}And{color}: Pipeline status changed to failed
>  {color:#ff0000}And{color}: Correspondent error put to cache.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)