Select branch basic (#18)

* Task attempt b003dd17-2250-41d7-b11a-f1a64d0e0ca8 - Final changes

* Update base

* Refactor create

* Create task branch manually

* Fix lints

* Cargo fmt

* Lint

* Clippy
This commit is contained in:
Louis Knight-Webb
2025-06-30 14:30:32 +01:00
committed by GitHub
parent f4bfbd69c8
commit 78f641d162
10 changed files with 251 additions and 29 deletions

View File

@@ -36,6 +36,8 @@ export type SearchResult = { path: string, is_file: boolean, match_type: SearchM
export type SearchMatchType = "FileName" | "DirectoryName" | "FullPath";
export type GitBranch = { name: string, is_current: boolean, is_remote: boolean, };
export type CreateTask = { project_id: string, title: string, description: string | null, };
export type CreateTaskAndStart = { project_id: string, title: string, description: string | null, executor: ExecutorConfig | null, };
@@ -52,7 +54,7 @@ export type TaskAttemptStatus = "setuprunning" | "setupcomplete" | "setupfailed"
export type TaskAttempt = { id: string, task_id: string, worktree_path: string, merge_commit: string | null, executor: string | null, created_at: string, updated_at: string, };
export type CreateTaskAttempt = { executor: string | null, };
export type CreateTaskAttempt = { executor: string | null, base_branch: string | null, };
export type UpdateTaskAttempt = Record<string, never>;