turbo-tasks-backend: add Argument edge type to track task argument relationships
Add `argument_of: AutoSet<TaskId>` field (data category, filter_transient) to
TaskStorageSchema. Add `task_execution_completed_arguments` method that runs
after `task_execution_completed_connect` and before `task_execution_completed_finish`,
only on first execution (when output is not yet set). It uses TraceRawVcs on
both `this` and `arg` of the task's CachedTaskType to collect all referenced
tasks and records the consumer task ID in each argument task's `argument_of` set.
These edges are permanent and never cleaned up.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment