Sync public tree to 17dcc0b
This commit is contained in:
parent
a77e138a24
commit
58e7fb9ebb
4 changed files with 170 additions and 2 deletions
|
|
@ -341,6 +341,11 @@ expect(
|
|||
"node attach smoke verifies auto-detection evidence",
|
||||
/plan\.detection\.auto_detected[\s\S]*plan\.detection\.command_backend[\s\S]*source_provider_backends/
|
||||
);
|
||||
expect(
|
||||
nodeAttachSmoke,
|
||||
"node attach smoke verifies policy-limited grant disclosures",
|
||||
/grant_disclosures\.length > 0[\s\S]*coordinator_policy_limited === true[\s\S]*native_command_execution[\s\S]*source_access/
|
||||
);
|
||||
for (const [name, pattern] of [
|
||||
["DAP smoke verifies source request", /client\.send\("source"[\s\S]*assert\.match\(source\.content, \/compile_linux\//],
|
||||
["DAP smoke verifies next step-over", /client\.send\("next", \{ threadId: 2 \}\)[\s\S]*await client\.response\(nextRequest, "next"\)[\s\S]*reason === "step"/],
|
||||
|
|
@ -677,12 +682,19 @@ for (const [name, pattern] of [
|
|||
}
|
||||
|
||||
for (const [name, pattern] of [
|
||||
["environment build rejection exit code", /environmentFailure[\s\S]*assert\.strictEqual\(environmentFailure\.code, 26/],
|
||||
["environment rejection machine category", /environmentReport\.machine_error\.category, "environment"/],
|
||||
["fake coordinator quota rejection", /quota unavailable: resource limit exceeded for api_calls/],
|
||||
["run uses JSON mode", /"run"[\s\S]*"--json"/],
|
||||
["actual quota exit code", /assert\.strictEqual\(result\.code, 22/],
|
||||
["actual quota resource-category assertion", /machine_error\.resource_category, "api_calls"/],
|
||||
["actual quota community-tier label assertion", /machine_error\.community_tier_label,[\s\S]*"community tier"/],
|
||||
["actual quota abuse-heuristics assertion", /machine_error\.private_abuse_heuristics_exposed,[\s\S]*false/],
|
||||
["capability rejection exit code", /capabilityFailure[\s\S]*assert\.strictEqual\(capabilityFailure\.result\.code, 24/],
|
||||
["capability rejection next action", /attach a node with the required capabilities/],
|
||||
["node policy rejection exit code", /nodePolicyFailure[\s\S]*assert\.strictEqual\(nodePolicyFailure\.result\.code, 23/],
|
||||
["node policy rejection next action", /check coordinator policy for this action/],
|
||||
["program task failure category", /programReport\.tasks\[0\]\.machine_error\.category, "program"/],
|
||||
["artifact download rejection exit code", /artifactDownload[\s\S]*assert\.strictEqual\(artifactDownload\.result\.code, 21/],
|
||||
["artifact export rejection exit code", /artifactExport[\s\S]*assert\.strictEqual\(artifactExport\.result\.code, 25/],
|
||||
["exit-code application in JSON", /process_exit_code_applied[\s\S]*true/],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue