Require name-first extension preflight smoke
This commit is contained in:
@@ -206,7 +206,7 @@ function Assert-WritePreflightReport {
|
||||
if ($report.failures -and $report.failures.Count -gt 0) {
|
||||
throw "$Label report contains failures: $Path"
|
||||
}
|
||||
foreach ($check in @("method_exposed", "effective_path_preflight", "concrete_saved_state_preflight")) {
|
||||
foreach ($check in @("method_exposed", "effective_path_preflight", "concrete_saved_state_preflight", "name_first_extension_form_preflight")) {
|
||||
if ($report.checks.PSObject.Properties.Name -notcontains $check) {
|
||||
throw "$Label report is missing check '$check': $Path"
|
||||
}
|
||||
@@ -486,6 +486,9 @@ try {
|
||||
"--report",
|
||||
$writePreflightReport
|
||||
)
|
||||
if ($RequireSelectorChainWritePlanComposition) {
|
||||
$writePreflightCommand += "--require-name-first-extension-form"
|
||||
}
|
||||
Invoke-CheckedCommand -Label "REST adapter write-preflight smoke ($currentBaseId)" -Command $writePreflightCommand
|
||||
Assert-WritePreflightReport -Label "REST adapter write-preflight smoke ($currentBaseId)" -Path $writePreflightReport
|
||||
}
|
||||
@@ -782,6 +785,9 @@ try {
|
||||
"--report",
|
||||
$mcpWritePreflightReport
|
||||
)
|
||||
if ($RequireSelectorChainWritePlanComposition) {
|
||||
$mcpWritePreflightCommand += "--require-name-first-extension-form"
|
||||
}
|
||||
Invoke-CheckedCommand -Label "MCP proxy write-preflight smoke ($currentBaseId)" -Command $mcpWritePreflightCommand
|
||||
Assert-WritePreflightReport -Label "MCP proxy write-preflight smoke ($currentBaseId)" -Path $mcpWritePreflightReport
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user