Repository navigation
Fix RAR framework list discovery for relative paths - #15089
Conversation
Follow up on the RAR migration by using resolved framework directories for the missed redist and subset list discovery call sites. Gate the fix behind Wave18_12 and preserve the previous arguments when opted out. Co-authored-by: Copilot App <[email protected]>
cb07c0e to
18a2064
Compare
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Add regression coverage for relative-path discovery and the legacy opt-out behavior.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
What changed in this PR
Fixes RAR framework list discovery for relative paths by using resolved framework directories, gated behind Wave18_12.
Changes:
- Updates redist and subset list discovery.
- Preserves legacy behavior when opted out.
- Documents the
Wave18_12change.
| File | Description |
|---|---|
src/Tasks/AssemblyDependency/ResolveAssemblyReference.cs |
Uses resolved directories for list discovery with wave gating. |
documentation/wiki/ChangeWaves.md |
Documents the Wave18_12 behavior. |
There was a problem hiding this comment.
| # | Dimension | Verdict |
|---|---|---|
| 2 | ChangeWave Discipline | 🔴 1 BLOCKING |
✅ 23/24 dimensions clean.
- ChangeWave Discipline — wave-gated redist/subset path discovery lacks enabled and opt-out regression coverage
Warning
Firewall blocked 3 domains
The following domains were blocked by the firewall during workflow execution:
api.github.comgithub.comraw.githubusercontent.com
[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:
tools:
github:
mode: gh-proxySee GitHub Tools for more information on gh-proxy mode.
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "api.github.com"
- "github.com"
- "raw.githubusercontent.com"See Network Configuration for more information.
Generated by Expert Code Review (on open) for #15089 · copilot · gpt56 · 673.8 AIC · ⌖ 6.13 AIC · ⊞ 17.8K
|
@AR-May is this a bugfix? do you need this for GA? pls retarget to 18.12 if so |
JanProvaznik
left a comment
There was a problem hiding this comment.
I don't understand why this is changewaved if it just aligns behavior in mt to spec. and would appreciate a red/green regression test to see the mechanism why is this problematic.
|
@JanProvaznik It is a bug fix, but a low-priority one. The issue was found by AI during review and is very unlikely to happen in real builds. Still, the behavior is technically incorrect. Because of that, I do not think we need to retarget this to 18.12. As for the change wave, while the fix addresses an MT issue, it also changes non-MT behavior because it adds one more path absolutization step where there was none. I usually placed changes like this behind a change wave during migrations, since failures in RAR and builds can be hard to predict and may not be obvious right away. |
|
I would prefer not to add a regression test here. The issue was found during review, and the failure mode is mostly theoretical. This change is mainly a safety net, and I do not expect it to affect real builds. Given that, I do not think a red/green RAR test would provide much value. |
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Discussed the raised issue with person.

Follow-up fix for the RAR migration in #13319, which missed the redist and subset list discovery call sites.
Use resolved
TargetFrameworkDirectorieswhen discovering these lists, so relative paths are interpreted against the project directory instead of the process working directory.Gate the fix behind Wave18_12, preserving existing discovery behavior when opted out.