runner.repository-profile.activate ​
Activate one execution-profile version and retire its predecessor.
Make one draft the sole active profile for its repository.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-runners |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization; injected by the workflow API. |
repository_uuid | uuid | Yes | — | — |
profile_uuid | uuid | Yes | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization; injected by the workflow API. |
repository_uuid | uuid | No | — | — |
profile_uuid | uuid | No | — | — |
version | integer | No | — | — |
digest | string | No | — | — |
status | string | No | — | — |
runtime_family | string | No | — | — |
operating_system | string | No | — | — |
architecture | string | No | — | — |
sandbox_class | string | No | — | — |
environment_contract | dict | No | — | — |
toolchains | dict | No | — | — |
commands | dict | No | — | — |
required_capabilities | list | No | — | — |
dependency_policy | dict | No | — | — |
network_policy | dict | No | — | — |
resource_limits | dict | No | — | — |
workspace_policy | dict | No | — | — |
test_policy | dict | No | — | — |
repository_profile_source | dict | No | — | — |
created_by_uuid | uuid | No | — | — |
activated_at | string | No | — | — |
retired_at | string | No | — | — |
created_at | string | No | — | — |
created | boolean | No | — | — |
activated | boolean | No | — | — |
retired | boolean | No | — | — |
items | list | No | — | — |
failure_reason | string | No | — | — |
failed_at | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.repository-profile.activate",
"initial_data": {
"organization_uuid": "value",
"repository_uuid": "value",
"profile_uuid": "value"
}
}