AutoGPT/.github/workflows
Reinier van der Leer 8fd22bcfd7
feat(server, builder): Implement "STOP" button for graph runs (#7892)
- feat(builder): Add "Stop Run" buttons to monitor and builder
  - Implement additional state management in `useAgentGraph` hook
    - Add "stop" request mechanism
    - Implement execution status tracking using WebSockets
    - Add `isSaving`, `isRunning`, `isStopping` outputs
    - Add `requestStopRun` method
      - Rename `requestSaveRun` to `requestSaveAndRun` for clarity
  - Add needed functionality for the above to `AutoGPTServerAPI` client
    - Add `stopGraphExecution` method
    - Add support for multiple handlers per WebSocket method
    - Fix parsing of timestamps in `execution_event` WebSocket messages
  - Add `IconSquare` from Lucide to `@/components/ui/icons`

- feat(server): Add `POST /graphs/{graph_id}/executions/{graph_exec_id}/stop` route
  - Add `stop_graph_run` method to `AgentServer`

- feat(server): Add `cancel_execution` method to `ExecutionManager`
  - Replace node executor `ProcessPoolExecutor` by `multiprocessing.Pool` (which has a `terminate()` method)
    - Remove now unnecessary `Executor.wait_future(..)` method
  - Add `get_graph_execution(..)` in `.data.execution`

- fix(server): Reduce number of node executors to 5 per graph executor
  This is necessary because `multiprocessing.Pool` spawns its workers on init, instead of based on demand like `ProcessPoolExecutor` does

- dx(server): Improve debug logging in `ExecutionManager`
- ci(server): Add debug logging mode to CI Pytest step

### Other improvements
Server:
- Improve output type of `ExecutionManager.add_execution(..)`
- Renamed a few things in `.server.rest_api` for consistency

Front end:
- Improved typing in `AutoGPTServerAPI` client
2024-09-05 14:42:28 +02:00
..
scripts ci(all): take two on the global status checker (#7849) 2024-08-22 07:06:15 -05:00
autogpt-builder-ci.yml feat(builder): Addition of prettier for aligned of development styles (#7629) 2024-08-05 09:14:02 +02:00
autogpt-ci.yml refactor(agent, forge): Move tests from `autogpt` to `forge` (#7247) 2024-07-04 02:09:01 +02:00
autogpt-docker-cache-clean.yml fix(agent): Unbreak docker builds after repo restructure (#7164) 2024-05-22 18:11:16 +02:00
autogpt-docker-ci.yml refactor(agent, forge): Move tests from `autogpt` to `forge` (#7247) 2024-07-04 02:09:01 +02:00
autogpt-docker-release.yml fix(agent): Unbreak docker builds after repo restructure (#7164) 2024-05-22 18:11:16 +02:00
autogpt-infra-ci.yml feat(rnd,infra): Add Helm linting in CI (#7633) 2024-08-01 09:22:04 +01:00
autogpt-server-ci.yml feat(server, builder): Implement "STOP" button for graph runs (#7892) 2024-09-05 14:42:28 +02:00
autogpts-benchmark.yml refactor(autogpt, forge): Remove `autogpts` directory (#7163) 2024-05-22 13:08:54 +01:00
autogpts-ci.yml Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
benchmark-ci.yml Set up unified pre-commit + CI w/ linting + type checking & FIX EVERYTHING (#7171) 2024-05-28 05:04:21 +02:00
benchmark_publish_package.yml ci: Update actions to newest versions 2024-02-17 13:59:13 +01:00
close-stale-issues.yml ci: Update actions to newest versions 2024-02-17 13:59:13 +01:00
forge-ci.yml refactor(agent, forge): Move tests from `autogpt` to `forge` (#7247) 2024-07-04 02:09:01 +02:00
frontend-ci.yml fix(ci/frontend): Add trigger on `push` including workflow file 2024-02-21 02:04:13 +01:00
hackathon.yml refactor(autogpt, forge): Remove `autogpts` directory (#7163) 2024-05-22 13:08:54 +01:00
pr-label.yml refactor(agent, forge): Move tests from `autogpt` to `forge` (#7247) 2024-07-04 02:09:01 +02:00
python-checks.yml refactor(agent, forge): Move tests from `autogpt` to `forge` (#7247) 2024-07-04 02:09:01 +02:00
repo-stats.yml Update git stats 2023-10-03 12:45:28 +02:00
workflow-checker.yml Remove debug (#7890) 2024-08-25 17:59:41 +00:00