Repository navigation
[main] Source code updates from dotnet/runtime - #7160
dotnet-maestro[bot] wants to merge 3 commits into
Conversation
Did dotnet/runtime#128961 break something here? |
I don't see how in this case. The dotnet/runtime repo built without issue. Are different settings/flags being used? |
|
The diff appearing in runtime seems different from here. In this code flow, I see two |
I checked out 24547a76ba9 in the dotnet/runtime repo and it buids without issue. I'm not sure what is going on with this PR. I think there is something off. |
|
@dotnet/prodconsvcs @premun seems like another codeflow problem. GetOrCreateReferenceTrackingMemory is getting duplicated in src/runtime/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/ObjectiveC/ObjectiveCMarshal.cs Let's try whether recreating the PR helps. |
|
looks like we hit the same problem in the new PR |
|
@dkurepa this might look like that bet |
|
So I had a look into why this keeps happening. It's a special case in the opposite direction flow. Git sees these two versions and thinks they're different implementations, not changes two the same method, so it adds both when we merge the work branch into the head branch, so we get duplicate. I don't think we can prevent this, but maybe we can detect when it happens and cleanup |
|
But shouldn't like the context of the patch cause an application error and report a conflict? Or is it some bad luck when the context matches by chance because it's somethin like a closing brace etc? |
|
The patch is applied successfully to the working branch, this happens when we rebase the working branch on top of the head branch, so the conflict would appear there. |
Note
This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/runtime
Diff the source with this PR branch