Repository navigation
docs(debt): update the console and random device entries to current main - #3849
Merged
adriadam10 merged 2 commits intoOct 12, 2026
Merged
Conversation
9 tasks done
8 tasks done
9 tasks done
LeandroLP23
force-pushed
the
docs/debt-windows-gui-console
branch
from
October 12, 2026 07:54
c448c4e to
436e310
Compare
This was referenced Oct 12, 2026
LeandroLP23
force-pushed
the
docs/debt-windows-gui-console
branch
from
October 12, 2026 09:30
0bfda1b to
c89565b
Compare
Contributor
Author
This was referenced Oct 12, 2026
…entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dup and dup2 carry the random device over to the new descriptor, and select reports /dev/random and /dev/urandom ready, as the select entry already says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LeandroLP23
force-pushed
the
docs/debt-windows-gui-console
branch
from
October 12, 2026 19:02
c89565b to
67c943f
Compare
Collaborator
|
Re-checked after the rebase onto the split debt files: |
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.
What
Two TechnicalDebt entries describe behaviour
mainno longer has. Doc-only.Relinked executable opens a console. Since 908befe,
--windows-guiselects the GUI subsystem (documented indocs/user/USAGE.md). The entry now says that the console is the default, and that a GUI build started from Explorer loses its output, as Windows: keep the output of an executable started without standard handles in anyps5.log #3282 describes./dev/randomand/dev/urandom. The entry still says that aduped descriptor reads as an empty file and thatselectsees the null device. In fact:dupanddup2carry the random device over to the new descriptor (File/src/Stdio.cpp,File::RememberRandomDevice).selectreports both devices ready (Socket/src/Socket.cpp), as theselectentry already says.Those two clauses are dropped. The
fstat,lseekandmmapclauses stay, as those calls still see the null device.Tested
--windows --windows-guionmaina11c8f7f7has PE subsystem 2 and behaves like the console build over 3 runs each on a Radeon 860M, Windows 11 (26300).tools/check_conventions.py --base origin/mainpasses.mainhas:guest_filesystem(test(libkernel): don't require restoring the directory time on Windows #3518),guest_kernel_sys(fix(libkernel_sys): create symlinks with CreateSymbolicLinkW on Windows #3510) andwindows_exceptions(Windows: windows_exceptions fails since #1423, unwinding through runtime DLL frames (std::call_once) no longer reaches the catch #3411) on Windows, andagc_driver_emulated_color_compare,agc_driver_image_plane_address_on_line_implicit_lodandguest_kernel_stack_protecton Linux.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)