← Back to Pull requests

Smoke-test the Linux x64 release archive without AVX #87

Closed
unknown closed this pull request without merging on Nov 28, 2026 10:37 UTC
View on GitHub
unknown unknown commented on Nov 28, 2026 09:17 UTC
Author

Refs #82 and #68.

The v0.4.2 x86-64 Linux archive passes its checksum and starts with --version, but opening SQLite on a CPU without AVX2 can raise SIGILL. The compiler flags for bundled SQLite were fixed in #68. This adds a check that can catch the same failure in a future release build.

The new cargo-dist job downloads the x86_64 musl archive from the current run and extracts its executable. It runs init and JSON export with QEMU's qemu64 CPU model, checks that a database was created, and parses the exported board. A failure blocks the generated host job. The release targets, archive contents, installer configuration, and PR plan-only behavior stay the same.

Validation

  • Ran the workflow's smoke step with QEMU 10.2.1 in an Ubuntu 26.04 container. It rejected the published v0.4.2 archive with SIGILL during init and accepted an archive built from current source by cargo-dist 0.33.1.

  • Downloaded artifacts-build-local-x86_64-unknown-linux-musl from the v0.4.2 release run. It contains the named tarball, whose SHA-256 matches the public release asset.

  • Ran dist generate --check and checked the generated workflow with actionlint. The GitHub tag and artifact transfer are left to the upstream workflow.

  • Ran cargo fmt --check, cargo clippy --all-targets --locked -- -D warnings, and cargo test --locked with Rust 1.100.0 on Linux. All 97 tests passed.
  • The change is confined to release CI. AI assistance was used to prepare the change and run the validation.

    Diff: 195 lines (+146 / -49) across 2 files Reviewer: emanuele-em Review duration: 80m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 195 lines diff across 2 files
    0.36
    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.316
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #87"
    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: 36% (MEDIUM) · Higher = larger blast radius
    36%
    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: 14.2% · Safe to merge
    14.2%