Skip to content

Release WebFront 0.3.0 [#288] - #295

Closed
ambroise-leclerc wants to merge 56 commits into
masterfrom
develop
Closed

ambroise-leclerc wants to merge 56 commits into
masterfrom
develop

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

Promotes the tested develop snapshot to master for the 0.3.0 release: packed std::bitset<N> bridge values (#289), the opt-in browser-powered developer environment with its packed Life demonstration (#288), and the changes listed in CHANGELOG.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.

ambroise-leclerc and others added 30 commits October 19, 2026 17:06
Bump the public version to 0.2.0, update release documentation and verify header, CMake and release-tag consistency.
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]
ambroise-leclerc and others added 23 commits October 20, 2026 22:25
… 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.
Add browser-powered native development and packed Life demo [#288]
Copilot AI balanced review requested due to automatic review settings October 21, 2026 11:26
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3bcf9458-12e5-4a9a-8b8c-1c241d13e4be

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator Author

Opened before the preparation PR (#294) was merged; will be reopened once develop contains it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

It is a large release promotion spanning a new binary-bridge feature and a developer environment, and the snapshot is missing the 0.3.0 version/CHANGELOG/README bump its own description claims, which needs human verification before tagging.

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 feature lines plus supporting test/tooling updates: packed std::bitset<N> support in the binary bridge (reusing the existing Uint8Array wire format, #289), and an opt-in browser-powered developer environment with a Game of Life demonstration that migrates off the old binary-string adapter (#288). It also upgrades the vendored Jasmine runner from 4.6.0 to 7.0.2 and adds embedded/offline Life regression coverage.

Changes:

  • Adds std::bitset<N> packing/unpacking to the bridge codec and browser-side integration tests (callback, future, sender, tuple, empty-grid and malformed-input paths).
  • Introduces the native Game of Life demo/engine (src/Life.hpp) plus embedded/offline regression (webtest/LifeEmbeddedTest.cpp) and a WKWebView agent-activation lifecycle check.
  • Upgrades the Jasmine test harness to 7.0.2 (single boot.js), makes jasmineDone await the C++ report, and adds terminal resize/resource coverage.
File Description
webtest/​WKWebViewLifecycle.cpp Adds agentApplication lifecycle case asserting agent-bundle activation policy is restored after a session.
webtest/​SpecRunner.html Bumps vendored Jasmine assets 4.6.0 → 7.0.2 and switches to the single boot.js.
webtest/​LifeEmbeddedTest.cpp New embedded/offline Life regression exercising packed bitset calls, playback/reset, and absence of developer callbacks.
webtest/​js/​webfront-specs.mjs Adds packed-bitset browser integration specs and awaits the async jasmineDone C++ report.
webtest/​js/​terminal-specs.mjs Adds terminal resize/local-resource assertions and afterAll cleanup.

The bitset codec, Life engine coordinates (index/wrap/blinker/glider), HTTP AcceptEncoding/MimeType refactors, and the Jasmine upgrade all verified consistent. One release-level discrepancy was found: the promoted snapshot still declares version = "0.2.0" in include/WebFront.hpp, CHANGELOG.md has no ## 0.3.0 section (only ## Unreleased), and README.md still references 0.2.0 — the #294 version bump described in the PR is not present, and CheckReleaseVersion.cmake would reject a v0.3.0 tag against this header.

Review effort: Balanced

@@ -0,0 +1,79 @@
#include <WebFront.hpp>
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.96187% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.94%. Comparing base (7be859f) to head (59418a0).
⚠️ Report is 124 commits behind head on master.

Files with missing lines Patch % Lines
include/http/Gzip.hpp 93.36% 16 Missing ⚠️
include/system/DeveloperFiles.hpp 86.04% 6 Missing ⚠️
include/DeveloperApp.hpp 88.57% 4 Missing ⚠️
include/system/DeveloperStore.hpp 96.69% 4 Missing ⚠️
test/MessagesTests.cpp 99.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
+ 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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants