← Back to Pull requests

ci: remove references to obi fork #3298

Merged
skl merged 18 files (793 lines) on Nov 23, 2026 18:54 UTC
View on GitHub
skl skl commented on Nov 23, 2026 17:24 UTC
Author

This PR removes any reference to the grafana/obi fork, including release scripts and workflows.

Generally, this means release branches/tags now ONLY occur on grafana/beyla.

Diff: 793 lines (+135 / -658) across 18 files Reviewer: marctc Review duration: 89m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.71) × (1 − Review Confidence (0.77)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.71 · 793 lines diff across 18 files
0.71
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.58 · 2 substantive comment(s)
0.58
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
76%
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.399
Mass File Touch mass_file_touch
0.080
Real PR Conversation Timeline
5 items
codecov-commenter codecov-commenter commented on Nov 23, 2026 17:33 UTC
Contributor

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 55.64%. Comparing base (d573581) to head (957fb2a).

<details><summary>Additional details and impacted files</summary>

@@            Coverage Diff             @@
##             main    #3298      +/-   ##
==========================================
+ Coverage   51.58%   55.64%   +4.05%     
==========================================
  Files          97       64      -33     
  Lines        7781     4331    -3450     
==========================================
- Hits         4014     2410    -1604     
+ Misses       3509     1789    -1720     
+ Partials      258      132     -126     

| Flag | Coverage Δ | |
|---|---|---|
| integration-test-arm | ? | |
| k8s-integration-test | ? | |
| unittests | 55.64% <ø> (-0.16%) | :arrow_down: |

Flags with carried forward coverage won't be shown. Click here to find out more.
</details>

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

  • </details>

    Copilot Copilot commented on code on Nov 23, 2026 17:37 UTC
    Code Review
    scripts/release-train.sh:1
    @@ -866,22 +730,16 @@ prepare_command() {
         log_info "OBI SHA pinned in ${BEYLA_REPO}:${BEYLA_MAIN_BRANCH}: ${obi_sha}"
       fi
     
    -  prepare_obi_branch "$OBI_VERSION" "$obi_release_branch" "$obi_sha" "$obi_is_patch"
    -  local obi_release_sha="$OBI_RELEASE_REMOTE_SHA"
    -  log_info "OBI release branch tip SHA: ${obi_release_sha}"
    -  prepare_beyla_branch "$BEYLA_VERSION" "$beyla_release_branch" "$obi_release_sha"
    +  prepare_beyla_branch "$BEYLA_VERSION" "$beyla_release_branch"
     
    -  log_info "Release branches prepared: beyla_version=${BEYLA_VERSION}, beyla_branch=${beyla_release_branch}, obi_version=${OBI_VERSION}, obi_branch=${obi_release_branch}"
    +  log_info "Release branch prepared: beyla_version=${BEYLA_VERSION}, beyla_branch=${beyla_release_branch}, obi_sha=${obi_sha}"

    When a non-patch preparation reuses an existing release branch, obi_sha is still read from main, but prepare_beyla_branch now retains the existing branch's submodule pin. If those pins differ, the logged SHA and obi_sha output identify a dependency that the prepared release does not contain. Resolve the pin from the actual prepared checkout before reporting it.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 23, 2026 17:37 UTC
    Reviewer

    <!-- ccr-overview-v2 -->

    🟡 Changes recommended

    Reusing an existing release branch can report an obi_sha from main that differs from the branch’s retained submodule pin, misidentifying the dependency in the prepared release.

    <details open>
    <summary><strong>1 open issue</strong></summary>

  • <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/high-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/high-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/high-v2-light.png" alt="High severity" width="62" height="18" align="texttop"></picture> Report the OBI pin from the prepared release branch · New

  • </details>

    <details>
    <summary><strong>What changed in this PR</strong></summary>

    This PR decouples Beyla’s release process from the Grafana OBI fork, keeping release branches, tags, and promotion in Beyla while treating upstream OBI as a read-only dependency.

    Changes:

  • Remove OBI-fork release operations, workflow inputs, and preparation dependencies.

  • Use upstream-only checks for OBI adoption and Beyla-only release reconciliation.

  • Update release documentation, tests, and dependency tracking.
  • | File | Description |
    | ---- | ----------- |
    | scripts/​release-train.sh | Limit release preparation and tagging to Beyla. |
    | scripts/​release-reconciliation/​tests/​test_release_reconciliation.py | Update observer tests for Beyla-only refs. |
    | scripts/​release-reconciliation/​tests/​test_obi_adoption_preflight.py | Remove fork-dependent adoption expectations. |
    | scripts/​release-reconciliation/​README.md | Document upstream-only adoption and Beyla-only observation. |
    | scripts/​release-reconciliation/​observer/​report.py | Remove paired-ref and branch-asymmetry reporting. |
    | scripts/​release-reconciliation/​adoption/​preflight/​reconcile.py | Remove fork-related adoption gates. |
    | scripts/​release-reconciliation/​adoption/​preflight/​publish.py | Recheck source reachability against upstream only. |
    | scripts/​release-reconciliation/​adoption/​preflight/​plan.py | Remove the fork-reachability publication requirement. |
    | scripts/​release-reconciliation/​adoption/​preflight/​collect.py | Stop fetching and reporting fork evidence. |
    | scripts/​release-lookup.sh | Check commit availability against upstream OBI. |
    | devdocs/​new-release.md | Describe Beyla-only release and patch procedures. |
    | .mise/​tasks/​release/​reconcile | Stop collecting OBI-fork release refs. |
    | .github/​workflows/​release-train-tag.yml | Remove OBI tagging inputs and outputs. |
    | .github/​workflows/​release-train-prepare.yml | Remove fork preparation settings and unused setup steps. |
    | .github/​workflows/​release-notes.yml | Clarify the existing upstream-link behavior in comments. |
    | .github/​workflows/​promote-patch-to-stable.yml | Remove OBI release validation and promotion. |
    | .github/​workflows/​bot_sync-obi-submodule.yml | Validate the submodule remote and ancestry against upstream. |
    | .github/​renovate-tracked-deps.json | Remove dependency tracking for deleted Java setup. |
    </details>

    <sub>Review effort: Balanced</sub>

    marctc marctc approved these changes on Nov 23, 2026 18:48 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    skl skl
    Labels
    risk: low confidence: 76.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: 71.5% (HIGH) · Higher = larger blast radius
    71.5%
    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: 76.5% · Lower = rushed or shallow review
    76.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.8% · Safe to merge
    16.8%
    Repository