fix: YAML path matching and legacy SSH URL support#95
Conversation
- Strip leading '/' from ADO yamlFilename before comparing to local relative paths (ADO stores e.g. '/.azdo/pipelines/agent.yml') - Add legacy SSH URL format: git@vs-ssh.visualstudio.com:v3/... - Fix step numbering in run() comments (3→4, was skipping 4) - Add tests for YAML path matching with/without leading slash - Add test for legacy SSH URL parsing Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Looks good — two targeted bug fixes with appropriate tests, but the YAML path tests have a structural issue that reduces their effectiveness. Findings
|
- Extract YAML path normalization into a named helper function so tests exercise the same code path as production (not duplicated logic) - Normalize separators before trimming leading slash (handles backslash paths) - Add backslash normalization test - Add legacy SSH format to parse_ado_remote doc comment Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Looks good — clean, targeted bug-fix with solid test coverage. All 27+ tests pass. Findings✅ What Looks Good
|
Summary
Follow-up bug fixes from PR #92 review feedback.
Bug Fix
Improvements
un()\ that jumped from Step 3 to Step 5.
Tests
3 new tests: legacy SSH URL parsing, YAML path matching with and without leading slash. All 452 tests pass.