Expose public task restart boundary
This commit is contained in:
parent
f586b48893
commit
0b14889c79
5 changed files with 419 additions and 8 deletions
|
|
@ -89,7 +89,7 @@ for (const [name, pattern] of [
|
|||
["build command", /Build\(BuildArgs\)/],
|
||||
["node lifecycle commands", /enum NodeCommands[\s\S]*Attach\(AttachArgs\)[\s\S]*Enroll\(NodeEnrollArgs\)[\s\S]*List\(NodeListArgs\)[\s\S]*Status\(NodeStatusArgs\)[\s\S]*Revoke\(NodeRevokeArgs\)/],
|
||||
["process commands", /enum ProcessCommands[\s\S]*Status\(ProcessStatusArgs\)[\s\S]*Restart\(ProcessRestartArgs\)[\s\S]*Cancel\(ProcessCancelArgs\)/],
|
||||
["task list command", /enum TaskCommands[\s\S]*List\(TaskListArgs\)/],
|
||||
["task lifecycle commands", /enum TaskCommands[\s\S]*List\(TaskListArgs\)[\s\S]*Restart\(TaskRestartArgs\)/],
|
||||
["logs command", /Logs\(LogsArgs\)/],
|
||||
["artifact commands", /enum ArtifactCommands[\s\S]*List\(ArtifactListArgs\)[\s\S]*Download\(ArtifactDownloadArgs\)[\s\S]*Export\(ArtifactExportArgs\)/],
|
||||
["DAP command", /Dap\(DapArgs\)/],
|
||||
|
|
@ -119,6 +119,7 @@ for (const [name, pattern] of [
|
|||
["task event summary coverage", /fn process_task_log_and_artifact_reports_summarize_task_events\(\)/],
|
||||
["artifact download/export report coverage", /fn artifact_download_and_export_reports_expose_safe_session_boundaries\(\)/],
|
||||
["process control report coverage", /fn process_restart_and_cancel_reports_expose_control_boundaries\(\)/],
|
||||
["task restart report coverage", /fn task_restart_reports_clean_boundary_requirements\(\)/],
|
||||
["build no full repo upload coverage", /fn build_command_reuses_bundle_inspection_without_full_repo_upload\(\)/],
|
||||
["safe coordinator-required plans", /fn node_enroll_and_process_commands_have_safe_plan_without_coordinator\(\)/],
|
||||
]) {
|
||||
|
|
@ -155,6 +156,11 @@ expect(
|
|||
"coordinator debug attach coverage",
|
||||
/fn service_authorizes_debug_attach_through_public_api\(\)/
|
||||
);
|
||||
expect(
|
||||
coordinator,
|
||||
"coordinator task restart boundary coverage",
|
||||
/fn service_reports_task_restart_boundary_through_public_api\(\)/
|
||||
);
|
||||
|
||||
for (const [name, pattern] of [
|
||||
["agent --json flag", /struct AgentEnrollArgs[\s\S]*#\[arg\(long\)\]\s*json: bool/],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue