← Back to Pull requests

Verify optional WebFront integration from source and install [#71] #81

Closed
unknown closed this pull request without merging on Oct 02, 2026 05:29 UTC
View on GitHub
unknown unknown commented on Oct 01, 2026 15:37 UTC
Author

WebFront's optional integration is implemented in WebFront #221. This PR verifies the actual WebFront project against both this mddlog source tree and its installed package, using immutable WebFront revision b2c2dd6f2f03b826337c5d0f2a06c2445cda2f18.

With MDDLOG_BUILD_TESTS=ON, the off-by-default MDDLOG_BUILD_WEBFRONT_INTEGRATION_TESTS option gates both the integration fetch and test registration. The four supported release CI jobs explicitly enable it. Two CTest tests configure WebFront with WEBFRONT_USE_MDDLOG=ON, compile/link its adapter and header consumers, then execute its full CEF-off suite, including the unchanged original LoggerTests.cpp, the #69/#70 facade regressions and a consumer including only the public header. Configuration, adapter compilation/static linkage, consumer compilation/executable linkage and execution are reported separately. The tests inherit the supported CI toolchain/configuration and share the existing install lock, with an explicit timeout for application/dependency builds. The installed variant removes its scratch prefix before every installation so removed packaging rules cannot be masked by stale files. Both variants invalidate their consumer build when the forwarded toolchain/configuration changes, including when optional inputs are cleared; unchanged inputs retain incremental builds. The historical reference tests remain independent.

The migration guide documents WebFront's off-by-default option, source/package choices, file ownership, MSVC runtime and CMake-helper isolation, exact CMake/compiler/platform constraints, and separate verification evidence. mddlog remains a module library and installs no facade header or WebFront adapter. ADR-003 remains Proposed.

Closes #71. Merge WebFront #221 first; ADR acceptance remains a separate review decision.

Verification:

  • Linux Clang 21.1.8/libc++, CMake 4.2.3/Ninja: configured and built mddlog; all 118/118 CTest tests passed, including webfront.integration.source and webfront.integration.installed (68 WebFront tests in each).

  • Actual WebFront standalone path: Clang 21.1.8/libc++, CMake 3.31.10/Unix Makefiles; configured, compiled, linked and 63/63 tests passed with the option OFF.

  • WebFront enabled source/installed paths independently configured, compiled, linked and passed 68/68 tests each on Linux Clang.

  • GCC 16.1.0/CMake 4.3.1 container: source and installed integration both configured, compiled, linked and passed 68/68 tests each.

  • scripts/check-format.sh passed (52 files, clang-format 21). New WebFront files passed clang-format 21; its module TU passed the module-aware reference clang-tidy configuration. Consumer analysis reports one Catch2 dependency enum-cast diagnostic.

  • Windows/MSVC and Apple Silicon/upstream Clang are covered by the existing CI matrix; no local results claimed for those platforms.
  • Maintainer change submitted from the repository owner's account. No unrelated workspace documents are included.

    Review follow-up: both integration checkouts disable credential persistence. The hex-pair summary contract is explicit in the API and guide, with four regression sections covering admitted/refused records. Deleting the aggregate truncation flag fails three assertions; preserving it passes all sections. Both inline review conversations were answered and resolved. Source and installed suites pass 68/68 tests each under Clang 21.1.8 and GCC 16.1.0; the two mddlog integration CTests were revalidated.

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Documentation
    Added guidance for the optional WebFront integration, including configuration requirements and how to use source checkouts or installed packages.
    Clarified that the integration does not provide an installed facade header or module.

    Tests
    Added opt-in integration tests covering WebFront builds against both source and installed packages.
    Enabled integration test coverage in CI across Clang, GCC, macOS, and Windows configurations.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 525 lines (+393 / -132) across 6 files Reviewer: AM-L Review duration: 832m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 525 lines diff across 6 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.375
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #81"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.8% (MEDIUM) · Higher = larger blast radius
    47.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 18.9% · Safe to merge
    18.9%