π Execution Lifecycle in CCPο
An Execution is the process of running a Method with user-provided inputs.
It captures the full context, metadata, environment, and outputs of that run.
π¦ What Is an Execution?ο
An Execution is triggered when a user fills the form of a Method and runs it.
This generates a full execution bundle that includes:
Inputs and parameters
Method descriptor
Infrastructure and runtime details
Output files
Metadata and provenance
𧬠Execution Data Structureο
Each Execution is stored as a self-contained directory:
execution/
βββ auth/
β βββ jwt.json # Authentication info
βββ metadata/
β βββ method.json # Method used
β βββ request.json # Inputs and parameters
β βββ infrastructure.json # Runtime platform
β βββ instance.json # Runtime container details
β βββ jobStatus.json # Lifecycle status
β βββ provo.xml # Provenance metadata
βββ outputs/
β βββ output_file1.txt # User-generated files
β βββ stdout.log / stderr.log # Execution logs
βββ output.zip # Archived version of all outputs
π§ͺ How Executions Are Storedο
Executions live in the userβs Workbench (temporary area) and can be:
Re-executed (same inputs)
Downloaded (as
.zip
)Shared (via D4Science Workspace)
Archived to workspace under
CCP/executions
They can also be imported back into the Workbench using:
A previously exported
.zip
A Workspace reference
π₯ Execution Statusο
An Execution moves through these states:
CREATED β initial request accepted
SCHEDULED β assigned to an infrastructure
STARTED β deploy-script begins
EXECUTING β main script running
COMPLETED / FAILED β terminal state
Each state is logged in metadata_jobStatus.json
.
π Metadata and Loggingο
CCP produces rich metadata for traceability:
provo.xml
for reproducibility and FAIR principlesstdout
/stderr
logsJSON summaries of method, infra, inputs, and runtime
You can inspect them from the execution view or download them.