fix(compile): resolve autodiscovered source path relative to lock file directory#616
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/5e7af66a-15e9-4ef7-8595-d4a1e397c08f Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix auto-discovery resolving source path in Windows
fix(compile): resolve autodiscovered source path relative to lock file directory
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ado-aw compileauto-discovery could skip valid sources on Windows when the lock header stored a baresource="file.md"path, because resolution was done from process cwd/repo root instead of the lock file’s directory. This change makes source resolution lock-file-relative first, while preserving compatibility with existing repo-root-relative headers.Path resolution behavior
compile_all_pipelines, source lookup now prefers:yaml_output_path.parent().join(source)root.join(source)Regression coverage
source="nested-agent.md"), validating that root-level auto-discovery recompiles successfully.Test plan
test_compile_auto_discover_resolves_source_relative_to_lock_file_dirintests/compiler_tests.rs.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/githubnext/ado-aw/issues/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.15lw6btn7wuofrtn1brbzbsad.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1dxjo31xmnfmvko6obq4dkewp.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1fmsbhsvn5ln8zuwpm1u4qlpa.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1g7yqfwx5al18vcg6om778jm6.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1ruf05atsfz12pmtiegt3k9e3.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1v9pkrrxuvldu3kpija3ri609.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1z9p1hh1j7bpm7d0eer796tp4.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.23tyqebz1hja4hdciqqtgagsh.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b787�� /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3p3079f8d7n8rp4rvey5rrfbl.09vwh0t.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3qaoqa3a60obbt6bg0bc14b5a.09vwh0t.rcgu.o zr2t�� owc5tozfda3gb1o8bnlrzp6.0t0w6bx.rcgu.o xi1ay2o8cb6fl864188sdu4.0t0w6bx.rcgu.o mbols.o 200f38d8081bcd5acc 200f38d8081bcd5a-m64 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustcL5lsMd/symbols.o 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.0hjy8l8ep3il5ckn988thm53m.1w5nr3v.rcgu.o(http block)spsprodeus21.vssps.visualstudio.com/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.15lw6btn7wuofrtn1brbzbsad.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1dxjo31xmnfmvko6obq4dkewp.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1fmsbhsvn5ln8zuwpm1u4qlpa.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1g7yqfwx5al18vcg6om778jm6.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1ruf05atsfz12pmtiegt3k9e3.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1v9pkrrxuvldu3kpija3ri609.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1z9p1hh1j7bpm7d0eer796tp4.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.23tyqebz1hja4hdciqqtgagsh.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b787�� /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3p3079f8d7n8rp4rvey5rrfbl.09vwh0t.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3qaoqa3a60obbt6bg0bc14b5a.09vwh0t.rcgu.o zr2t�� owc5tozfda3gb1o8bnlrzp6.0t0w6bx.rcgu.o xi1ay2o8cb6fl864188sdu4.0t0w6bx.rcgu.o mbols.o 200f38d8081bcd5acc 200f38d8081bcd5a-m64 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustcL5lsMd/symbols.o 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.0hjy8l8ep3il5ckn988thm53m.1w5nr3v.rcgu.o(dns block)spsprodweu4.vssps.visualstudio.com/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-7602a9e71670d2b8 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.15lw6btn7wuofrtn1brbzbsad.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1dxjo31xmnfmvko6obq4dkewp.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1fmsbhsvn5ln8zuwpm1u4qlpa.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1g7yqfwx5al18vcg6om778jm6.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1ruf05atsfz12pmtiegt3k9e3.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1v9pkrrxuvldu3kpija3ri609.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.1z9p1hh1j7bpm7d0eer796tp4.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.23tyqebz1hja4hdciqqtgagsh.1w5nr3v.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b787�� /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3p3079f8d7n8rp4rvey5rrfbl.09vwh0t.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9b7872.3qaoqa3a60obbt6bg0bc14b5a.09vwh0t.rcgu.o zr2t�� owc5tozfda3gb1o8bnlrzp6.0t0w6bx.rcgu.o xi1ay2o8cb6fl864188sdu4.0t0w6bx.rcgu.o mbols.o 200f38d8081bcd5acc 200f38d8081bcd5a-m64 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustcL5lsMd/symbols.o 200f38d8081bcd5a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/status_integration-b06bb9ae4d9/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/mcp_http_tests-fc05a77f65e2b218.0hjy8l8ep3il5ckn988thm53m.1w5nr3v.rcgu.o(dns block)If you need me to access, download, or install something from one of these locations, you can either: