Reduce unnecessary DB queries for Actions tasks #10
Loading…
Reference in New Issue
No description provided.
Delete Branch "sillyguodong/actions-proto-def:feature/fetch_with_task_index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
implement: https://github.com/go-gitea/gitea/issues/24544
Changes:
tasks_version
inFetchTaskResponse
to store the latest version number that Gitea returns to Runner.tasks_version
inFetchTaskRequest
to store the latest version number of Runner when executingfetchTask
.Related:
WIP: Reduce unnecessary DB queries for Actions tasksto Reduce unnecessary DB queries for Actions tasks@ -29,2 +29,3 @@
message FetchTaskRequest {}
message FetchTaskRequest {
int64 task_version = 1;
task_version
does't look good to me. It's not "the version of a task."I don't have a good idea, but maybe
tasks_version
could be better? It's the version of whole tasks data.