← Back to Pull requests

fakeidentd: use stdbool.h for C builds #31520

Closed
unknown closed this pull request without merging on Dec 01, 2026 00:48 UTC
View on GitHub
unknown unknown commented on Nov 29, 2026 17:54 UTC
Author

📦 Package Details

Maintainer: @danielg4

Description:

Use stdbool.h in C builds to avoid redeclaring the C23 keywords bool, true and false.

Related source or failure log

Build verification: OpenWrt snapshot SDK r38597-088e490be1 on armsr/armv8 (aarch64_generic, GCC 15.3.0, musl 1.2.6). Targeted goal package/feeds/packages/fakeidentd/compile with make -j17 IGNORE_ERRORS=m V=s. The post-review target build produced fakeidentd-2.6-r3.apk. A follow-up with the in-tree toolchain on the same target also generated fakeidentd-2.6-r3.apk.

LLM assistance was used for the investigation, patch preparation or refresh, and draft wording.

---

🔬 Run Testing Details

  • OpenWrt Version: OpenWrt kernel 6.18.64 from source revision 5fb8f35f600b

  • OpenWrt Target/Subtarget: armsr/armv8

  • OpenWrt Device: QEMU virt with Cortex-A53 CPU and networking disabled (-nic none)

  • QEMU post-refresh runtime check: Ran fakeidentd -V and checked its version banner.
  • ---

    ✅ Formalities

  • I have reviewed the contributing guidelines.

  • I have reviewed the AI policy.

  • - [x] I have used AI or LLM in my pull request, description, or commit
    messages, and the description says what it was used for.

    If your PR contains a patch:

  • It can be applied using git am

  • It has been refreshed to avoid offsets, fuzzes, etc.

  • - [x] It is structured in a way that it is potentially upstreamable

    Diff: 214 lines (+160 / -54) across 2 files Reviewer: openwrt-ai Review duration: 1853m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 214 lines diff across 2 files
    0.42
    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.321
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #31520"
    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: 41.6% (MEDIUM) · Higher = larger blast radius
    41.6%
    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: 16.4% · Safe to merge
    16.4%