MCPcopy
hub / github.com/harness/harness / LockForUpdate

Method LockForUpdate

registry/app/store/database.go:716–716  ·  view source on GitHub ↗
(ctx context.Context, task *types.Task)

Source from the content-addressed store, hash-verified

714 UpsertTask(ctx context.Context, task *types.Task) error
715
716 LockForUpdate(ctx context.Context, task *types.Task) (types.TaskStatus, error)
717
718 SetRunAgain(ctx context.Context, taskKey string, runAgain bool) error
719

Callers 3

finalStatusUpdateMethod · 0.65
upsertTaskMethod · 0.65

Implementers 1

taskStoreregistry/app/store/database/task.go

Calls

no outgoing calls

Tested by

no test coverage detected