Refactor compile extensions into module-based layout with per-extension impl files#285
Conversation
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/c47c6abd-ae73-43e4-94ae-b6b38b24013d Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
|
/rust-review |
1 similar comment
|
/rust-review |
|
✅ Rust PR Reviewer completed successfully! |
🔍 Rust PR ReviewSummary: Looks good — clean, well-structured refactoring with no functional regressions. Findings✅ What Looks Good
|
|
✅ Rust PR Reviewer completed successfully! |
🔍 Rust PR ReviewSummary: Clean refactoring — looks good with one minor test robustness observation. Findings✅ What Looks Good
|
|
@copilot address suggestion above. |
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/2ff47992-fdf2-4b19-9985-0d24d12ae533 Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
src/compile/extensions.rshad grown into a large multi-purpose file, making extension-specific changes harder to review and maintain. This PR reorganizes the extensions code into a module tree while preserving the same external API and behavior.Module entrypoint and exports
src/compile/extensions/mod.rs.CompilerExtension,Extension,CompileContext, MCPG config types,collect_extensions*,wrap_prompt_append).mod.rsto preserve call sites.Per-extension implementation split
lean.rsazure_devops.rscache_memory.rsgithub.rssafe_outputs.rsTest relocation
src/compile/extensions/tests.rsunder#[cfg(test)] mod tests;inmod.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:
dev.azure.com/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-3589f01be3885149.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/init_tests-3bcc4ddce1e312d9.2ukf37jb0777k2y8ri9exqh0h.12vvtj1.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-3589f01be3885149.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/init_tests-3bcc4ddce1e312d9.2ynn8gvql2fyvn7igwbexxwwe.12vvtj1.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-3589f01be3885149.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/init_tests-3bcc4ddce1e312d9.32e9rgsalv16jx9z0iqp0mleg.12vvtj1.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-3589f01be3885149.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/init_tests-3bcc4ddce1e312d9.374c5aulltrl0bl9xey67nr26.12vvtj1.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-3589f01be3885149.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/init_tests-3bcc4ddce1e312d9.3adno12ab0g5nlfulsvspfcq8.12vvtj1.rcgu.o 0.03l0815d29lj002ae3mmxfl3m.09q1zyi.rcgu.o 0.0tn8ejcnvgjygdyylhtak9lpf.09q1zyi.rcgu.o 0.0xx92o0xvmao3s3mmpaude4gm.09q1zyi.rcgu.o 0.11wu39pl8x5unsfa0pm0sx7i8.09q1zyi.rcgu.o 0.15ekd7s10qhmgvd15js1u58j5.09q1zyi.rcgu.o 0.20695tlwm01eu06f6nytfaj15.09q1zyi.rcgu.o 0.25dmyxexlbrf6s096aq9lq99g.09q1zyi.rcgu.o 0.26zkdc197kx7li1nwob9t5xj9.09q1zyi.rcgu.o 0.2cvf4nkhwgdzrg6bb0j1g45xz.09q1zyi.rcgu.o 0.2figln0c2pfqzi2e08i006o8u.09q1zyi.rcgu.o 0.2fla2kplyo8fcs0of160c962a.09q1zyi.rcgu.o 0.2ikaohql56ne0w9lfnxyhwv2k.09q1zyi.rcgu.o 0.2oqlsydd3dffl94jckwj4qblh.09q1zyi.rcgu.o 0.2pfydlp0bjr74wlj1t3r6ms18.09q1zyi.rcgu.o(dns block)/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 --check-cfg cfg(docsrs,test) --check-cfg th.r�� th.rcgu.o 0.03l0815d29lj002ae3mmxfl3m.06lqajb.rcgu.o 0.0tn8ejcnvgjygdyylhtak9lpf.06lqajb.rcgu.o 0.0xx92o0xvmao3s3mmpaude4gm.06lqajb.rcgu.o 0.11wu39pl8x5unsfa0pm0sx7i8.06lqajb.rcgu.o 0.15ekd7s10qhmgvd15js1u58j5.06lqajb.rcgu.o 0.20695tlwm01eu06f6nytfaj15.06lqajb.rcgu.o 0.25dmyxexlbrf6s096aq9lq99g.06lqajb.rcgu.o 0.26zkdc197kx7li1nwob9t5xj9.06lqajb.rcgu.o 0.2cvf4nkhwgdzrg6bb0j1g45xz.06lqajb.rcgu.o 0.2figln0c2pfqzi2e08i006o8u.06lqajb.rcgu.o 0.2fla2kplyo8fcs0of160c962a.06lqajb.rcgu.o 0.2ikaohql56ne0w9lfnxyhwv2k.06lqajb.rcgu.o 0.2oqlsydd3dffl94jckwj4qblh.06lqajb.rcgu.o 0.2pfydlp0bjr74wlj1t3r6ms18.06lqajb.rcgu.o(dns block)/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/ado_aw-c05a54f0ee13c0b7 artifacts,futureremote 5.17unxb5laoekqiget-url stable-x86_64-unorigin remo�� get-url origin stable-x86_64-REDACTED-linux-gnu/bin/rustc 5.2paser1vd5pxuzgit artifacts,futureremote f/inquire-0.9.2/get-url stable-x86_64-unorigin 7cc2�� 7cc23-cgu.2.rcgu.o 7cc23-cgu.3.rcgu.o 7cc23-cgu.4.rcgu.o 7cc23-cgu.5.rcgubash -a8a48394b293b05--norc gu.o stup/toolchains/stable-x86_64-un-o(dns block)If you need me to access, download, or install something from one of these locations, you can either: