Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement "STOPPED" graph execution status #9182

Closed
Tracked by #8780 ...
Pwuts opened this issue Jan 3, 2025 — with Linear · 0 comments
Closed
Tracked by #8780 ...

Implement "STOPPED" graph execution status #9182

Pwuts opened this issue Jan 3, 2025 — with Linear · 0 comments

Comments

Copy link
Member

Pwuts commented Jan 3, 2025

Forcefully stopping a graph execution currently assigns it status "FAILED". We want to create a separate status indication "STOPPED" for this instead.

@Pwuts Pwuts self-assigned this Jan 3, 2025
@Pwuts Pwuts closed this as completed Jan 6, 2025
ntindle pushed a commit that referenced this issue Jan 6, 2025
- Resolves #9182

Formerly known as `FAILED` with error message `TERMINATED`.

### Changes 🏗️

- Add `TERMINATED` to `AgentExecutionStatus` enum in DB schema (and its
mirror in the front end)
- Update executor to give terminated node and graph executions status
`TERMINATED` instead of `FAILED`/`COMPLETED`
- Add `TERMINATED` case to status checks referencing
`AgentExecutionStatus`

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - Start and forcefully stop a graph execution

---------

Co-authored-by: Zamil Majdy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant