Repository navigation
Release WebFront 0.3.0 [#288] - #296
Conversation
Serve gzip assets with an identity fallback [#274]
Update embedded JavaScript dependencies and gzip assets [#284]
Add a workflow and script that fail when a commit in a push or pull request has an AI tool as author or committer, or carries a Co-authored-by, Generated-by or Assisted-by trailer naming one.
Match tool names on word boundaries, fail when the commit list cannot be read, declare read-only permissions without persisted credentials, and make the commit range explicit when the base is unavailable or the push is the default branch.
Add chatgpt to the identity and trailer patterns.
…ions Document architectural decisions and their historical evolution [ADR register]
Reject AI-assistance attribution in commits through CI
Support packed bitsets in the binary bridge [#289]
… protect staging by resolved path [#288] Abandoned publications no longer exhaust the eight-transaction limit: they expire after ten minutes, stale staging and crashed backups are removed, and destinations are compared by resolved path. wf install keeps locked versions and rejects archives that differ from the recorded integrity; the pinned distribution becomes 0.3.1.
… gate [#288] Break the store, resolver, bundler, runtime commands, site staging, Life starter and browser test mains into smaller functions, pass publish/createStarter/downloadPackage options as objects, and exclude the generated bundles from code-health analysis.
…shing and split remaining complex functions [#288] BasicDeveloperApp now rejects WebSocket clients that send no Origin header. The publication workflow verifies the Pages source before pushing gh-pages, the tag example follows distribution.json, and the status and ADR index wording is aligned. The package entry resolution moves to its own module, the lock validators, starter download, compiler worker messages and the Life starter components are split.
…ther for the CodeScene gate [#288]
…ck validation further [#288]
… into their own modules [#288]
…t differ only by case [#288]
…les from Codecov [#288]
This reverts commit 921e46e.
Add browser-powered native development and packed Life demo [#288]
Prepare WebFront 0.3.0 [#288]
|
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 ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #296 +/- ##
==========================================
+ Coverage 97.89% 97.94% +0.04%
==========================================
Files 85 98 +13
Lines 6950 8360 +1410
Branches 454 609 +155
==========================================
+ Hits 6804 8188 +1384
- Misses 146 172 +26 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🔵 Needs a closer look
It is a large release merge combining two major features (bitset bridge codec and a native developer environment) across bridge protocol, HTTP, tooling, and vendored assets, which warrants final human review.
1 open issue
1 file not reviewed
tools/assets/package-lock.json: Generated file
What changed in this PR
This PR promotes the tested develop snapshot to master as the WebFront 0.3.0 release. It bundles two major features plus supporting infrastructure: packed std::bitset<N> support in the binary bridge (#289) and an opt-in, browser-powered native developer environment with a Game of Life demonstration (#288). The bridge change reuses the existing unsigned-byte-array wire format (no new opcode), packing ceil(N/8) bytes LSB-first with exact-length and zero-padding validation. The release also upgrades the Jasmine browser harness (4.6.0 → 7.0.2), refreshes React/Babel vendored assets, adds HTTP asset gzip-fallback encoding, and bumps the single-sourced version.
Changes:
- Add
std::bitset<N>bridge codec and migrate the Life demo to direct bitset registration with packed 128-byte UI state. - Introduce the native developer app facade, SHA-512-pinned developer distribution (0.3.1), and the
wfterminal tooling, with embedded/offline regression tests. - Bump library version to 0.3.0, consolidate the changelog, upgrade Jasmine to 7.0.2, and add HTTP asset encoding negotiation.
| File | Description |
|---|---|
webtest/WKWebViewLifecycle.cpp |
Adds an agent-application lifecycle case asserting activation-policy restore and window visibility. |
webtest/SpecRunner.html |
Switches the Jasmine harness from 4.6.0 (boot0/boot1) to 7.0.2 (single boot.js). |
webtest/LifeEmbeddedTest.cpp |
New offline embedded-Life regression exercising packed bitset calls and confirming developer callbacks are absent. |
webtest/js/webfront-specs.mjs |
Adds packed-bitset callback/future/sender specs and makes jasmineDone await the C++ report. |
webtest/js/terminal-specs.mjs |
Adds terminal teardown plus a resize/local-asset-loading spec. |
CHANGELOG.md |
Consolidates unreleased entries under 0.3.0 (contains a double-bullet formatting artifact). |
Review effort: Balanced
| - `std::bitset<N>` callback arguments and results, C++ call arguments and typed future/sender results cross the bridge as packed `Uint8Array` bytes (bit `i` in byte `i / 8`, least-significant first), with exact-length and zero-padding validation. A packed Life demonstration exchanges 128 bytes per generation. | ||
| - Opt-in browser-powered developer environment: `NativeApp::bootstrap("developer")` downloads a SHA-512-pinned environment (distribution 0.3.1 on GitHub Pages) whose terminal offers `wf create|install|list|preview|embed`. It resolves npm packages in the browser, locks and re-verifies them, compiles with esbuild-WASM, previews in an iframe and generates a gzip-compressed C++ resource header. The bridge callbacks `webfront.developer.*` publish files through staged, bounded, transactional writes confined to the explicit project directory; abandoned transactions expire and stale staging is purged at startup. WebSocket clients without an `Origin` are refused. | ||
|
|
||
| - - `webfront::Task`, `app.spawn(task)` and `ui.spawn(task)` launch application-owned coroutines without execution plumbing; a returned `TaskHandle` cancels an individual task. `app.shutdown()` joins owned work explicitly. Spawning during stop/shutdown returns a stopped handle when rejected; destructor joins log and wait for stalled external work instead of propagating drain errors. `jsFunctionSender(name)` defaults to `void`. `WebFrontAwaitBrowser` is a compiled example matching the README. |

Promotes the tested
developsnapshot tomasterfor the 0.3.0 release: packedstd::bitset<N>bridge values (#289), the opt-in browser-powered developer environment with its packed Life demonstration (#288), and the changes listed inCHANGELOG.md.Validation: the preparation PR #294 passed all 30 CI checks (Linux GCC/Clang, sanitizers, CEF, WebKitGTK, Windows MSVC and WebView2, macOS WKWebView, CodeScene and Codecov); 260 CEF-off CTest cases and 14 CEF/Xvfb browser cases pass. The developer distribution 0.3.1 is published as
developer-v0.3.1.