← Back to Pull requests

Standardize license handling by using only the root LICENSE #4938

Open
MD-Mushfiqur123 opened this pull request with 132 lines diff across 9 files
View on GitHub
MD-Mushfiqur123 MD-Mushfiqur123 commented on Jun 23, 2026 08:19 UTC
Author

Why are these changes needed?

Remove file-level Apache 2.0 license comments from source files and rely on the repository's root LICENSE file instead. According to GitHub's licensing documentation, repositories can rely on a root-level LICENSE file to define licensing terms for the project.

Related issue number

Closes #4936

Checks

  • I've made sure the tests are passing.

  • Testing Strategy

  • - [x] Unit tests
    - [ ] Manual tests
    - [ ] This PR is not tested :(

    Diff: 132 lines (+0 / -132) across 9 files Reviewer: Future-Outlier Review duration: 157302m
    All Vouch review confidence checks passed
    Residual risk 0.08 = Change Risk (0.51) × (1 − Review Confidence (0.85)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.51 · 132 lines diff across 9 files
    0.51
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.83 · 5 substantive comment(s)
    0.83
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    84%
    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.293
    Real PR Conversation Timeline
    12 items
    Future-Outlier Future-Outlier approved these changes on Jun 23, 2026 08:43 UTC
    Approved Reviewer

    Approved these changes.

    MD-Mushfiqur123 MD-Mushfiqur123 commented on Jun 23, 2026 10:10 UTC
    Author

    All CI checks are passing. Could this please be reviewed/merged when you get a chance? Thanks!

    MD-Mushfiqur123 MD-Mushfiqur123 commented on Jun 23, 2026 13:23 UTC
    Author

    This PR has been approved. Could a maintainer please merge it? Thanks!

    andrewsykim andrewsykim commented on code on Jun 24, 2026 17:39 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    lol why is this IBM copy right in the first place? Was the code copied from somewhere?

    rueian rueian approved these changes on Jun 24, 2026 18:53 UTC
    Approved Reviewer

    Approved these changes.

    MD-Mushfiqur123 MD-Mushfiqur123 commented on code on Jun 25, 2026 00:03 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    The issue (#4936) asked to standardize license headers across the repo by removing the Apache-2.0 comment blocks from source files. The IBM copyright appears to be from the original code origin. This PR only removes the Apache-2.0 license boilerplate comments to match the repo convention — the copyright lines themselves are left intact where present.

    MD-Mushfiqur123 MD-Mushfiqur123 commented on code on Jun 25, 2026 00:10 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    Good catch — the IBM copyright was originally placed there by the contributor who wrote the file (Boris Lublinsky, IBM). I've restored it in the latest push. The issue (#4936) asked to standardize license headers, not to remove copyright attribution.

    andrewsykim andrewsykim commented on code on Jun 25, 2026 13:06 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    can you link the original PR that introduced the copy right?

    andrewsykim andrewsykim commented on code on Jul 18, 2026 22:23 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    Following up on this thread, do we still need the IBM copy right? Can it be removed? If it needs to stay, please add a comment here linking to the PR that introduced the change and an explanation for why it's required and where the original source came from?

    andrewsykim andrewsykim requested changes on Jul 18, 2026 22:23 UTC
    Changes Requested Reviewer

    Please address comment about IBM copy right header

    yjaw yjaw commented on code on Jul 25, 2026 09:07 UTC
    Code Review
    clients/python-apiserver-client/test/kuberay_api_test.py:1
    @@ -1,15 +1,3 @@
    -# (C) Copyright IBM Corp. 2024.

    @andrewsykim That copyright added by this PR: https://github.com/ray-project/kuberay/pull/2159 and the contributor works for IBM, which might be the reason for adding IBM copyright.

    Assignees
    MD-Mushfiqur123 MD-Mushfiqur123
    Labels
    risk: low confidence: 85.0% 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: 51.0% (MEDIUM) · Higher = larger blast radius
    51.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: 85.0% · Lower = rushed or shallow review
    85.0%
    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: 7.7% · Safe to merge
    7.7%