You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,7 +65,8 @@ This release-coherence contract fixes [#1759](https://github.com/Automattic/wp-c
65
65
- `success_requires_pr`: require a successful, published runner-workspace pull request for `target_repo`.
66
66
- `access_token_repos`: comma-separated repositories available to the supplied access token.
67
67
- `allowed_repos`: JSON repository allowlist. It and `access_token_repos` must explicitly include `target_repo`.
68
-
- `output_projections`: JSON object mapping output names to dot-delimited paths in the native result. Every projection must resolve.
68
+
- `expected_artifacts`: JSON allowlist and collection metadata. Required runtime artifacts are derived only from `artifact_declarations` entries with `required: true` and must be declared output artifacts.
69
+
- `output_projections`: JSON object mapping output names to dot-delimited paths in the native result. A string value remains a required projection for compatibility. A descriptor value has the exact shape `{ "path": "result.path", "required": false }`; unresolved optional projections are omitted, while unresolved required projections fail the run.
diagnostics.push(runtimePackageDiagnostic("undeclared_required_artifact",`Runtime package required_artifacts contains ${name}, which is not declared as a required output artifact.`,{path: "required_artifacts",details: { name }}))
$errors[] = $this->diagnostic( 'runtime_package_task_undeclared_required_artifact', 'Runtime package required_artifacts contains an artifact that is not declared as a required output artifact: ' . $name . '.', 'required_artifacts' );
0 commit comments