Repository navigation
Release WebFront 0.6.0 - #437
Merged
Merged
Conversation
Buffer gzip bit reads and benchmark cold decoding [#282]
Prepare WebFront 0.5.0 [#282]
ADR-018 (Proposed) compares eight models of DOM access, from the state of the art in TypeScript, Rust and Python, and retains a hybrid: a batched, validated mutation stream into islands the page lends to C++, React and other UI libraries kept as owners of their DOM through an external store, and C++26 reflection as an optional layer for generated interfaces. Throwaway prototypes in test/web/dom (manual WebKitGTK target webkitgtk_dom_prototype, never built by CTest or CI) measure the stream, one message per operation, awaited and batched reads, event round trips, React 19 islands and store updates, a form generated by reflection with GCC 16.1, and hostile batches. They found a 40 ms delay on callbacks that call ui.jsFunction before returning, since TCP_NODELAY is not set (#379). Derived work: #379 to #384.
… findings [#378] The throwaway prototypes and their manual CMake target leave the tree; ADR-018 points to commit ef2bb25 of PR #385 for them. The review findings on the prototype interpreter (URL parsing, validation against the state a batch produces, island elements that could be moved) become prescriptions for the embedded interpreter of #380, and each acceptance criterion names its issue.
Fix HTTP response lifetimes, CI repetition and obsolete build files [#376]
ADR-018 : accès au DOM depuis C++, prototypes mesurés [#378]
# Conflicts: # docs/PROJECT_STATUS.md
… paths in the container
Activer TCP_NODELAY sur les connexions acceptées [#379]
Exécuter le job desktop Linux dans une image d'outils préconstruite
Reject suite command words that CMake lists would corrupt, parse day-long ps CPU times in the macOS sampler, restore the lifecycle indentation, and document the port "0" contract and session failure diagnosis.
Opening every process on a loaded runner can outlast a short command and report no process; run the cache probe even after a test failure.
Label the unit tests fast and the consumer project portability, let the suite runner exclude a label, run the fast tier first in the desktop jobs, add a portability matrix, and run the advanced tier weekly and on pull requests into master.
- WebFrontAgent (Linux): end only the descendants running the agent's own executable, the CEF helpers, so a WebKitGTK web process or a command of the developer application survives; give them the cleanup grace (5 s on a normal exit) before killing them; hold them through pidfds, confirmed by a second scan, so a reused PID is never signalled. They are listed once: the browser aborts after a few GPU relaunches. - Start the removal shell in its own session, so a kill of the agent's process group does not prevent the removal; release the spawn actions and attributes on every path; test the glibc version without __GLIBC_PREREQ, which another libc lacks. - CheckJasmineRunner: read the orphan's state with ps where there is no /proc (macOS) instead of taking it for gone; do not wait after the last probe. - AutomationClient: list a leftover profile with os.walk, which tolerates the removal still under way, and stop after 40 entries.
] - WebFrontAgent (Linux): drop a helper whose pidfd cannot be opened because it is gone, so its reused identifier is never signalled; only a kernel without pidfds falls back to the identifier. Recognize a non-dumpable CEF helper, whose executable link is hidden, by its command name. - The removal shell reads the agent's state with builtins and waits for about a minute at most. A normal exit, after CefShutdown, starts it only when the profile could not be removed. - Document that the /proc/self/fd fallback lists a snapshot of descriptors. - AutomationClient: create the profile directory without ignore_cleanup_errors, which needs Python 3.10.
…ile check [#416] - WebFrontAgent (Linux): follow a helper whose pidfd cannot be opened for a reason other than its exit (seccomp, no descriptor left) by its identifier, signalled only if a scan just before still finds it among the helpers. Mark the parameter of openProcess unused where there is no pidfd_open. - AutomationClient: create the profile directory in /tmp on Linux rather than in an inherited, possibly long TMPDIR, and count a profile as removed once absent for 2.5 s, longer than the agent's repeated removal.
…e-paths Keep the watchdog profile path short and let a killed orphan exit [#416]
Make BasicUI an assignable value type [#400]
…401] forEachUI skips a browser until it counts as started, a window that ends inside WebFront after the onUIStarted handlers return: a state sent that way can leave a starting browser on the handler's older state. The guide and the header now say so and send states through broadcast. The Threads section states that no call through a UI or a broadcast may still run when shutdown or destruction starts, and that connectedBrowsers() also counts connections that are not started yet or closed but not released. A queued writeLatest() frame keeps its group's iterator, so the group is erased without a lookup. The changelog entry is wrapped like the rest of the file.
With GCC 16 at -O2 and above, Store::flush() on a moved-from store was reported as a call on a null pointer (-Werror=nonnull), although check() throws first, and the Release unit tests did not compile. The store's operations now use checked(), which returns the verified state by reference, so no null path remains after the check. GCC runs this analysis only when it optimizes, which is why the Debug CI job did not see it: GCC builds now also compile ReactStoreTests.cpp at -O3 (react_store_optimized). That target fails with the previous header.
A broadcast returns once its call is queued or kept for every browser, so a call made after it on the same thread, or on a thread synchronized after it, follows it. Calls that overlap on several threads have no order, which the guide now says; sending under linksMutex would not order them and would hold a WebFront lock while the write starts.
Broadcast to every connected browser and document the threads [#401]
Each connection gets a 64-bit generation, never reused. BasicUI, JsFunction and JsFunctionSender carry it with the identifier, findLink checks both, and operator== compares it. The generation never crosses the wire.
…onstructor change [#428] - cppFunctionCalled reads the link and its generation together instead of locking twice. - Document why domDocuments is keyed by identifier alone. - Changelog: the public constructors of UI, JsFunction and JsFunctionSender take the generation. - Regression test reads the kept UI values under the mutex.
- The regression test requires the stale typed future to be ready immediately, so a regression fails instead of hanging. - The started event builds its UI once; generationOf reuses linkAndGeneration. - Mark testing::ConnectionIds as test-only and document why the Commands registry is keyed by identifier alone.
Reject a stale UI once its connection identifier is reused [#428]
Build the React store tests in Release with GCC 16 [#429]
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
AM-L
approved these changes
Oct 31, 2026
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.
Prepare WebFront 0.6.0 from develop for the stable branch. The release includes per-browser DOM documents and awaitable events, the optional React adapter and forms descriptors, native developer automation, browser broadcasts, and native window configuration.
The version in the public header and the changelog are updated to 0.6.0. The complete changes and migration details are in docs/CHANGELOG.md.
Validation: the release version check passes locally. The master PR runs the complete desktop, portability, sanitizer and CEF checks.