Skip to content

Prepare WebFront 0.5.0 [#282] - #374

Merged
AM-L merged 128 commits into
developfrom
282-release-0.5.0
Oct 26, 2026
Merged

AM-L merged 128 commits into
developfrom
282-release-0.5.0

Conversation

@ambroise-leclerc

@ambroise-leclerc ambroise-leclerc commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Prepare WebFront 0.5.0 following #373. Update the public header/CMake version, move the accumulated changelog under the dated 0.5.0 release, and add the release status and gzip decoding entry.

The minor version reflects the public include-path and API removals since 0.4.0. The published developer environment pin remains 0.6.2; the 0.6.3 environment sources are explicitly distinguished from a published package.

Validation: the offline header/CMake/tag check passes for v0.5.0; the complete CEF-off Release build and all 293 CTest cases pass. PR #373 is merged after all desktop and extended checks passed on its approved commit. This PR changes only the three release-preparation files.

The companion promotion PR #375 publishes the same prepared source to master. Publish the v0.5.0 tag and release only after both PRs and their CI complete.

Release-preparation-only commit: 96aaa6a

Ambroise Leclerc and others added 30 commits April 26, 2013 17:18
* websocket spawn

* WebSockets tests

* WebSockets payload and chunked decoding
* websocket spawn

* WebSockets tests

* WebSockets payload and chunked decoding

* Variable size frame headers

* WebSocket write

* GCC/Ubuntu compatibility
* Add a copy of Catch2
- Linux/Windows version
- Catch2 is now fetched by cmake
* CPM package manager
* GCC 11 compatiblity
* networking::Features concept for networking abstraction and mocks
* WebFront and NetLayer classes

* Clang support
* Logger
* C++20Support.hpp implementing missing C++20 functionnalities
* concepts support for macos

* source_location mock

* DebugLog command

* C++23Support, WebSocket sink
ambroise-leclerc and others added 18 commits April 17, 2025 14:42
* Add an ARM runner

* MacOS Apple silicon

* MacOS Apple silicon
* Comment now corresponds to the class

* feat: Add comprehensive NativeFS tests and update development environment

Primary changes:
- Add extensive unit tests for NativeFS class including:
  - File reading functionality for various file types
  - Path handling verification
  - Error handling for edge cases
  - Temporary test environment setup and cleanup

Secondary changes:
- Update Dockerfile to match GitHub Actions environment:
  - Ensure GCC 13 and Clang 17 compatibility
  - Add required development tools (gdb, llvm, vcpkg)
  - Improve dev container configuration for C/C++ development

* Coverage

* Multiple scenarios

* Avoid duplication

* idem

* Unqualified std::move

* Update Dockerfile


* Update test/NativeFSTests.cpp


* Update test/NativeFSTests.cpp


* Output if any failed test

* NormalizeNewLines for Windows compatibility

---------
The develop snapshot was reimported in #190, so master and develop contain duplicate historical additions under different commits. Preserve the complete tested 0.2.0 tree and both histories for release promotion.
Promote the validated 0.2.0 snapshot to master, preserving both release and development histories.
@ambroise-leclerc
ambroise-leclerc requested review from AM-L and a balanced review from Copilot October 25, 2026 23:03
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fbc4322a-cf7f-49d6-997a-6aaa675108d6
Commits

Reviewing files that changed from the base of the PR and between d27e4fc and 7158ca2.

Files selected for processing: 17
  • .github/workflows/BuildAndTest.yml
  • CMakeLists.txt
  • docs/CHANGELOG.md
  • docs/GZIP_DECODER_MEASUREMENTS.md
  • docs/HTTP_ASSETS.md
  • docs/PROJECT_STATUS.md
  • include/webfront/WebFront.hpp
  • include/webfront/http/Gzip.hpp
  • test/fuzz/CMakeLists.txt
  • test/fuzz/GenerateGzipCorpus.py
  • test/fuzz/GzipDifferential.cpp
  • test/fuzz/GzipDifferentialFuzz.cpp
  • test/fuzz/GzipZlib.hpp
  • test/fuzz/README.md
  • test/unit/CMakeLists.txt
  • test/unit/GzipDecoderBenchmark.cpp
  • test/unit/GzipTests.cpp

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

Le décodeur gzip utilise un réservoir de bits et une table Huffman pour les codes courts. Le changement ajoute un benchmark, des tests différentiels avec zlib et un fuzzing dédié. La version du projet passe à 0.5.0.

Changes: Décodeur gzip

Layer / File(s) Summary
Lecture tamponnée et décodage Huffman
include/webfront/http/Gzip.hpp, test/unit/GzipTests.cpp, docs/GZIP_DECODER_MEASUREMENTS.md, docs/HTTP_ASSETS.md, docs/PROJECT_STATUS.md
GzipReader utilise un réservoir de bits préchargés. DeflateTree utilise une table de 256 entrées pour les codes courts et conserve le décodage canonique comme solution de repli. Les tests couvrent les offsets, l’alignement, les membres concaténés et les arbres Huffman.
Mesures et version 0.5.0
test/unit/GzipDecoderBenchmark.cpp, test/unit/CMakeLists.txt, docs/GZIP_DECODER_MEASUREMENTS.md, docs/CHANGELOG.md, docs/PROJECT_STATUS.md, docs/HTTP_ASSETS.md, include/webfront/WebFront.hpp
Un benchmark mesure le temps et les allocations avec une sortie préallouée ou fraîche. La documentation présente les mesures et leur reproduction. Les notes de version décrivent la version 0.5.0; webfront::version passe à "0.5.0".
Comparaison avec zlib et fuzzing
test/fuzz/*, test/unit/CMakeLists.txt, CMakeLists.txt, .github/workflows/BuildAndTest.yml, test/fuzz/README.md, docs/GZIP_DECODER_MEASUREMENTS.md
L’option WEBFRONT_GZIP_DIFFERENTIAL active les cibles de comparaison et de fuzzing avec zlib. Un script génère des corpus gzip; les tests comparent les sorties du décodeur et de zlib. Le workflow address-undefined exécute ces vérifications et le fuzzer différentiel.

Priority: Normal

Estimated code review effort: 4 (Complex) | ~45 minutes

Change: Other

Sequence Diagram(s)

sequenceDiagram
  participant Corpus as GenerateGzipCorpus.py
  participant Test as gzip_differential
  participant Decoder as decodeGzip
  participant Oracle as gziptest.reference
  Corpus->>Test: fichiers gzip du corpus
  Test->>Decoder: décoder les octets avec une limite
  Test->>Oracle: décompresser les mêmes octets avec la même limite
Loading

Possibly related issues

Possibly related PRs

  • ambroise-leclerc/WebFront#369 — Cette PR concerne le cache des représentations gzip validées. Le changement présent modifie et mesure le décodeur utilisé sur ce chemin.
Merge Risk: Minimal · up to 7158c

No actionable issue is identified for this release preparation; complete the planned CI and release checks before publishing.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 14.81% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 27 functions across 8 files. (9 skipped: … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed Le titre indique clairement la préparation de la version WebFront 0.5.0. Il correspond à l’objectif principal de la pull request.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed La description concerne directement la préparation de la version 0.5.0, la mise à jour de la version publique et les documents de release présents dans les changements. Elle mentionne toutefois seulem…
Full details: Description check

Explanation

La description concerne directement la préparation de la version 0.5.0, la mise à jour de la version publique et les documents de release présents dans les changements. Elle mentionne toutefois seulement trois fichiers, alors que le diff contient aussi des modifications du décodeur gzip, des tests et du fuzzing.

Full details: Docstring Coverage

Explanation

Docstring coverage is 14.81% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 27 functions across 8 files. (9 skipped: 9 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

  • 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.

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@AM-L
AM-L merged commit c9f5770 into develop Oct 26, 2026
16 checks passed
@AM-L
AM-L deleted the 282-release-0.5.0 branch October 26, 2026 00:26
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.

4 participants