← Back to Pull requests

feat: install jq from the GitHub releases in install-containerbase #7773

Closed
unknown closed this pull request without merging on Oct 14, 2026 08:59 UTC
View on GitHub
unknown unknown commented on Oct 14, 2026 08:19 UTC
Author

Changes

install-containerbase installs jq with install-tool jq (#7764) from the official jqlang/jq releases instead of Ubuntu's older jq package. It still runs as part of install-containerbase, so the containerbase image and custom base images keep having jq on the PATH.

  • jq is pinned as JQ_VERSION in install-containerbase.sh, updated by the org preset's shell manager; jq updates trigger a fix release like git

  • a package rule handles the jq- tag prefix of the releases, replacing the inline extractVersion in the test Dockerfiles, which the Dockerfile manager couldn't parse

  • docs/custom-base-image.md mentions the GitHub download and the mirror docs
  • Context

    Please select one of the following:

  • This closes an existing Issue, Closes: #7753

  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation
  • AI assistance disclosure

    Did you use AI tools to create any part of this pull request?

    Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.

  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).

  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).

  • Yes — other (please describe):
  • Written by Claude Opus 5.5 in Claude Code.

    Use of AI in replying to PR comments

    Who answers review comments:

  • @viceice will read and reply directly. Name the account.

  • An agent will draft replies and @username will read them before they are posted. Name the account.

  • An agent will draft replies and reply autonomously. This is heavily discouraged, and we prefer that there are humans in the loop

  • Nobody has explicitly committed to replying.
  • Documentation (please check one with an [x])

  • I have updated the documentation, or

  • No documentation update is required
  • How I've tested my work (please select one)

    I have verified these changes via:

  • Code inspection only, or

  • Newly added/modified tests
  • The base image build in CI runs install-containerbase, and the existing test/node steps use jq. A local docker build wasn't possible (no DNS inside docker on my network).

    🤖 Generated with Claude Code

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

    Summary by CodeRabbit

    Updates
    jq is now installed from official GitHub releases at version 1.8.2 rather than through the system package manager.
    Documentation
    The custom base image guide now explains that installing jq requires access to GitHub releases and points to instructions for configuring a mirror when GitHub is unavailable.

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

    Diff: 370 lines (+277 / -93) across 4 files Reviewer: viceice Review duration: 40m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 370 lines diff across 4 files
    0.43
    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.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #7773"
    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: 42.8% (MEDIUM) · Higher = larger blast radius
    42.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: 16.9% · Safe to merge
    16.9%