Failure signature
The xamarin-macios-pr-apidiff Detect API changes job intermittently fails while compiling the generated file msbuild/Xamarin.MacDev.Tasks/Errors.designer.cs, despite unrelated PR scopes. The compiler reports impossible parse/read errors, and the downstream upload job then fails because change-detection.zip was never produced.
Confirmed occurrences
| PR / head |
Build and job |
Diagnostic |
Outcome |
#26087 / 7213ed42c7b53e51cf031251eebddbfdd7ef2ef8 |
14720292 - Detect API changes |
Generated Errors.designer.cs failed with CS1513 while building the baseline. |
Same-head automatic replacement build 14729196 succeeded. |
#26241 / c9a130cfb73e8016ca64915ca5cade46f367f124 |
14733869 - Detect API changes |
CSC error CS1504: source file Errors.designer.cs could not be opened because length was out of range. |
Build is terminal failed; no retry outcome yet. |
First observed: 2026-07-21 19:52 UTC. Latest observed: 2026-07-22 16:30 UTC. Recurrence: 2 jobs across 2 distinct monitored PRs.
Classification and impact
This is CI infrastructure/tooling behavior rather than a source regression:
The API-diff check blocks otherwise unrelated PRs.
Investigation
Workaround
After confirming the PR is conflict-free, retry accounting is reconciled, and no equivalent build is active, rerun the failed API-diff stage/jobs. Azure task logs and generated artifacts have limited retention.
Failure signature
The
xamarin-macios-pr-apidiffDetect API changes job intermittently fails while compiling the generated filemsbuild/Xamarin.MacDev.Tasks/Errors.designer.cs, despite unrelated PR scopes. The compiler reports impossible parse/read errors, and the downstream upload job then fails becausechange-detection.zipwas never produced.Confirmed occurrences
7213ed42c7b53e51cf031251eebddbfdd7ef2ef8Errors.designer.csfailed with CS1513 while building the baseline.c9a130cfb73e8016ca64915ca5cade46f367f124CSC error CS1504: source fileErrors.designer.cscould not be opened becauselengthwas out of range.First observed: 2026-07-21 19:52 UTC. Latest observed: 2026-07-22 16:30 UTC. Recurrence: 2 jobs across 2 distinct monitored PRs.
Classification and impact
This is CI infrastructure/tooling behavior rather than a source regression:
change-detection.ziperror is downstream cascade, not a separate root cause.The API-diff check blocks otherwise unrelated PRs.
Investigation
CoreCompileforXamarin.MacDev.Tasks.csproj::TargetFramework=netstandard2.0.dotnet/maciosissues using the file name, CS1504, CS1513, the out-of-rangelengthmessage, and API-diff terminology; no matching issue was found.Workaround
After confirming the PR is conflict-free, retry accounting is reconciled, and no equivalent build is active, rerun the failed API-diff stage/jobs. Azure task logs and generated artifacts have limited retention.