Repository navigation
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
lateralusX
requested changes
Nov 20, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Member
Author
|
/ba-g The Windows x86 build hit CS2012 locking Microsoft.Extensions.Logging.Generators.resources.dll; the same error occurred on main in build https://dev.azure.com/dnceng-public/public/_build/results?buildId=1693484 (Roslyn 4.0 rather than 4.4). The abandoned macOS agent matches dotnet/dnceng#1886. The Helix monitor failed because non-monitor jobs failed; macOS and Windows x86 test coverage remain incomplete. 🤖 AI-authored reply via Agency Finish PR. |
lateralusX
reviewed
Nov 23, 2026
lateralusX
left a comment
Member
There was a problem hiding this comment.
Couple of smaller things + consider adding a test. I also believe the PR description is a little outdated and might need update as well.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
lateralusX
reviewed
Nov 25, 2026
Remove the retry after closing the delete-sharing reader so the native minipal test checks the first helper result. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Deletion happens before creation, so a failed creation can leave the previous file absent. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
Accept the observed deferred-delete outcome without retrying, while checking the expected access-denied error and absent path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 927a2924-cfef-43ac-ab2c-7ca6f87b7743
This branch has not been deployed
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
d5956c768a9ba703d31481ab7e120ed50e694c05↑ Windows x64 Checked CoreCLR and NativeAOT builds passed with 0 warnings and 0 errors; latest-source Linux and macOS native fileio and permissions checks passed.
↓ No CI result for this pushed revision has been inspected yet.
Summary
-1, without anerrno/GetLastErrorcontract.fileiotests and register them in the managed launcher. The Windows delete-sharing test checks the first-attempt result without retrying; if Windows defers deletion, it accepts onlyERROR_ACCESS_DENIED, an absent path after the reader closes, and preserved contents through the existing reader.Compatibility
On Unix, an existing regular file is replaced. Symlinks, FIFOs, devices, sockets, and directories are not accepted as EventPipe output paths.
On Windows, existing regular files are deleted and recreated with an owner-only security descriptor rather than truncated using
CREATE_ALWAYS. Replacement fails if an existing handle does not share delete access; read-only files, directories, and reparse points are rejected. Even with delete sharing, Windows may defer removal until the last handle closes, so creation at the same path can fail withERROR_ACCESS_DENIEDafter the old pathname has been removed.Replacement is not atomic. Deletion can succeed while subsequent creation fails, leaving the previous path absent. This contract is documented in
fileio.h; no failure atomicity is provided.Testing
Fresh validation of final revision
d5956c768a9ba703d31481ab7e120ed50e694c05:src\tests\build.cmd -Test native\minipal\NativeMinipalTests.csproj x86 Checked— passed with 0 warnings and 0 errors.artifacts\tests\coreclr\windows.x86.Checked\native\minipal\NativeMinipalTests, runNativeMinipalTests.cmdwith the matchingTests\Core_Root— passed:fileio1/1,utf812/12,u1614/14; launcher exit code 100.build.cmd clr+libs -rc Checked -lc Release -arch x64— passed with 0 warnings and 0 errors.build.cmd clr.aot+libs -rc Checked -lc Release -arch x64— passed with 0 warnings and 0 errors.fileiotests and permissions checks passed on WSL Linux x64 and macOS x64. Both measured baselinecreat(0666)with umask0022as mode0644; the helper produced mode0600for replacement and fresh creation, with matching owner and a new inode on replacement. Descriptor exhaustion returned-1/EMFILEand left the old path absent, matching the documented non-atomic failure behavior.git diff --check— passed.The preceding Windows x86 Checked CI run reported Win32 error 5 (
ERROR_ACCESS_DENIED) and an absent path after the delete-sharing reader closed. The current test checks that observed deferred-delete outcome without retrying, while still allowing a successful first-attempt replacement on systems where the path is reusable immediately. Fresh CI for the final revision has not yet been inspected. The latest observed review decision isCHANGES_REQUESTED; merge remains gated on reviewer approval and complete, clean CI.Note
This pull request was created and updated with GitHub Copilot.