Skip to content

Task Lifecycle ​

A Task is the smallest execution unit of each node in a workflow, representing a single invocation of a tool.

Relationship Between Tasks and Workflows ​

Workflow Execution #001
  ├── Node: subfinder (3 input domains → 3 tasks)
  │     ├── Task #001: subfinder(example.com)  ✅
  │     ├── Task #002: subfinder(test.com)     ✅
  │     └── Task #003: subfinder(demo.com)     🔄
  └── Node: httpx (from subfinder output → N tasks)
        └── Task #004: httpx(...)              ⏳

Task List ​

Open the task list in the "Run Center" to view all tasks:

Task Status ​

StatusIconDescription
WAITING🕗Waiting for dependencies (upstream node not finished)
PENDING⏳Pending dispatch, awaiting node assignment
ASSIGNED📌Assigned to a scanning node, waiting for execution
RUNNING🔄Currently executing
PARSING🧩Command finished; output assets are being parsed
COMPLETED✅Executed and parsed successfully
FAILED❌Execution failed
PARSE_FAILED⚠️Execution finished but output parsing failed
TIMEOUT⏱️Execution timed out
CANCELLED🚫Cancelled by the user
SKIPPED⏭️Skipped due to conditions not met or no input

Filtering Tasks ​

Filter DimensionDescription
StatusFilter by task status
ToolFilter by tool name
Time RangeFilter by creation or completion time
ProjectFilter by associated project
NodeFilter by execution node

Task Information ​

Basic Information ​

FieldDescription
Task IDGlobally unique identifier
Tool NameThe tool being executed
Associated WorkflowSource workflow (manual execution tasks do not have this field)
Execution NodeWhich scanning node executed this task
Created TimeTask creation time
Execution DurationTotal time from creation to completion

Input Parameters ​

View the actual input assets and parameters received by the tool.

Output Results ​

View after task completion:

  • Task Output Details: The tool's raw standard output (with a full raw-data view)
  • View Output in Asset Library: Jump to the asset list filtered by run batch to inspect the structured assets parsed and ingested from the output

Task Dispatch Strategies ​

TestNet coordinates distributed probe nodes and schedules tasks according to configurable dispatch strategies:

  • Dispatch Strategy Configuration (task.dispatch.strategy / testnet.task.dispatch-strategy):
    • round_robin (Default): Distributes tasks across available, online nodes in a round-robin sequence.
    • least_load: Load-aware scheduling that calculates composite scores based on candidate node CPU utilization, free memory headroom, and in-flight task load to choose the optimal node.
  • Manual Node Assignment: Supports manually specifying a target node at the task level. If the designated node is offline, the task fails immediately with an explicit error (NodeOfflineException), preventing silent reassignment to unintended nodes.
  • Observability & Audit: The strategy evaluator logs all evaluated candidate nodes, resource metrics, and calculated scores at INFO level for scheduling transparency.

最近更新

Released under the MIT License