Skip to content

Commit e83cd60

Browse files
test(bash-lint): track "Detect Azure CLI on host" generator in REQUIRED_STEP_DISPLAY_NAMES (#904)
The azure_cli extension (src/compile/extensions/azure_cli.rs) emits two bash steps per compiled pipeline: 1. detection_step() → "Detect Azure CLI on host (for AWF mount)" 2. prompt_append_step() → "Append Azure CLI prompt" "Append Azure CLI prompt" was already tracked. "Detect Azure CLI on host (for AWF mount)" was exercised by every fixture (it is always-on) but was not explicitly listed in REQUIRED_STEP_DISPLAY_NAMES. Adding the entry makes both bash outputs from the same generator explicitly tracked, so a display-name rename or the extension becoming conditional would be caught before merge. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent dde8dde commit e83cd60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/bash_lint_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ const REQUIRED_STEP_DISPLAY_NAMES: &[&str] = &[
116116
"Resolve ADO organization", // src/engine.rs copilot_install_from_nuget (1ES, no org)
117117
"Append Node prompt", // src/runtimes/node/extension.rs via wrap_prompt_append("Node")
118118
"Append dotnet prompt", // src/runtimes/dotnet/extension.rs via wrap_prompt_append("dotnet")
119+
"Detect Azure CLI on host (for AWF mount)", // src/compile/extensions/azure_cli.rs detection_step()
119120
"Append Azure CLI prompt", // src/compile/extensions/azure_cli.rs conditional prompt-append step
120121
"ado-aw", // src/compile/extensions/ado_aw_marker.rs metadata marker step
121122
"Stage PR execution context (aw-context/pr/*)", // src/compile/extensions/exec_context/pr.rs

0 commit comments

Comments
 (0)