Skip to content

Commit 8e95dec

Browse files
test(bash-lint): track 'Append Node prompt', 'Append dotnet prompt', and 'ado-aw' in REQUIRED_STEP_DISPLAY_NAMES (#852)
Add three bash-step generators to REQUIRED_STEP_DISPLAY_NAMES that were previously linted via fixtures but not explicitly tracked: - 'Append Node prompt' — emitted by src/runtimes/node/extension.rs via wrap_prompt_append("Node") - 'Append dotnet prompt' — emitted by src/runtimes/dotnet/extension.rs via wrap_prompt_append("dotnet") - 'ado-aw' — emitted by src/compile/extensions/ado_aw_marker.rs (metadata marker bash step) Without these entries a silent deletion of any of these three generators would go undetected by the coverage check. 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 01026f1 commit 8e95dec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/bash_lint_tests.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ const REQUIRED_STEP_DISPLAY_NAMES: &[&str] = &[
113113
"Output copilot version", // src/engine.rs (copilot_install_from_nuget + copilot_install_from_github_release)
114114
"Add copilot to PATH", // src/engine.rs copilot_install_from_nuget (1ES path)
115115
"Resolve ADO organization", // src/engine.rs copilot_install_from_nuget (1ES, no org)
116+
"Append Node prompt", // src/runtimes/node/extension.rs via wrap_prompt_append("Node")
117+
"Append dotnet prompt", // src/runtimes/dotnet/extension.rs via wrap_prompt_append("dotnet")
118+
"ado-aw", // src/compile/extensions/ado_aw_marker.rs metadata marker step
116119
];
117120

118121
fn ado_aw_binary() -> PathBuf {

0 commit comments

Comments
 (0)