← Back to Pull requests

CARRY: RHAI-16354: Build the OCE images with Konflux from this repository #9

Closed
unknown closed this pull request without merging on Oct 29, 2026 22:14 UTC
View on GitHub
unknown unknown commented on Oct 28, 2026 17:35 UTC
Author

Problem

The Hummingbird OCE runtime and controller images are defined in the agentic base images repository. They build from a pinned commit of this fork, so every fork change needs a cross-repo bump before it reaches an image. RHAI-16354 moves the image definitions here so the images build from this repository directly.

Change

Downstream-only files, so upstream syncs do not conflict with them:

  • deploy/docker/Dockerfile.konflux.oce-{runtime,controller}: the Hummingbird ports of deploy/runtime/Dockerfile and the root Dockerfile, moved from agentic. The only build change is the source stage: it copies the build context (filtered by .dockerignore) instead of fetching a pinned fork commit from GitHub.

  • deploy/konflux/oce-{runtime,controller}/build-args.conf: the Konflux build-args-file inputs. OCE_REPOSITORY and OCE_COMMIT are gone; the PipelineRuns pass OCE_COMMIT={{revision}} as a build arg for the image labels and the console build stamp.

  • deploy/konflux/oce_pins.py and test_oce_pins.py: derives the OpenClaw, Codex, matrix-sdk-crypto, gh and pnpm pins from deploy/runtime and package.json, and fails when an upstream sync changes either recipe beyond its pins. The review baseline (OCE_REVIEWED_COMMIT) is now a commit in this repository's history; --ported runtime|controller records a finished port.

  • deploy/konflux/oce-*/smoke-test.sh, common.sh and build-local.sh: the image smoke tests and a podman build that mirrors the PipelineRuns.

  • .github/workflows/konflux-oce-pins.yml: runs the unit tests, the pins and drift check and shellcheck on pull requests and on pushes to main.

  • .github/renovate.json: MintMaker updates for the Hummingbird digests in these two Dockerfiles only; upstream dependencies stay with Dependabot.

  • deploy/konflux/README.md: layout, local builds and the upstream sync procedure.
  • The .tekton/ PipelineRuns are generated by automation and are not part of this PR. Builds stay non-hermetic (hermetic: "false") as in agentic today; hermetic builds are a follow-up.

    Verification

  • python3 -m unittest deploy/konflux/test_oce_pins.py: 44 tests pass.

  • python3 deploy/konflux/oce_pins.py --check: pins match the build context at 7113e69.

  • deploy/konflux/build-local.sh oce-controller: builds from this tree, smoke test 27/27.

  • shellcheck -S warning -x and prettier@3.9.10 --check on the new files: clean.

  • Not run: the runtime image from this tree (it cannot build on the author's machine). Its Dockerfile differs from the agentic one, which last built green in agentic CI at 7113e69, only in the source stage; the first Konflux pull-request build verifies it.
  • Risks

  • Upstream syncs that change deploy/runtime/Dockerfile or the root Dockerfile now fail Konflux OCE Pins until the port lands, by design.

  • The images do not publish from here until the Konflux PipelineRuns exist. Agentic keeps building them until then; it drops them in a follow-up once this repository publishes.
  • 🤖 Generated with Claude Code

    [RHAI-16354]: https://redhat.atlassian.net/browse/RHAI-16354?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 417 lines (+312 / -105) across 5 files Reviewer: varshaprasad96 Review duration: 1718m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 417 lines diff across 5 files
    0.45
    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.361
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9"
    general weight: 0.35
    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: 45.0% (MEDIUM) · Higher = larger blast radius
    45.0%
    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: 17.8% · Safe to merge
    17.8%