Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging to release-5.0: TT-10962 (#6072) #6091

Draft
wants to merge 1 commit into
base: release-5.0
Choose a base branch
from

Conversation

buger
Copy link
Member

@buger buger commented Mar 4, 2024

TT-10962 (#6072)

User description

Description

TT-10962

Related Issue

Motivation and Context

How This Has Been Tested

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to change)
  • Refactoring or add test (improvements in base code or adds test
    coverage to functionality)

Checklist

  • I ensured that the documentation is up to date
  • I explained why this PR updates go.mod in detail with reasoning
    why it's required
  • I would like a code coverage CI quality gate exception and have
    explained why

Type

bug_fix


Description

  • Disabled the EnableSingleFlight feature in both ProxyOnly and
    UniversalDataGraph adapters to address existing issues.

Changes walkthrough

Relevant files
Bug fix
adapter_proxy_only.go
Disable SingleFlight in ProxyOnly Adapter                               

apidef/adapter/gqlengineadapter/adapter_proxy_only.go

  • Disabled EnableSingleFlight feature by setting its value to false.
  • +1/-1     
    adapter_udg.go
    Disable SingleFlight in UniversalDataGraph Adapter             

    apidef/adapter/gqlengineadapter/adapter_udg.go

  • Disabled EnableSingleFlight feature by setting its value to false.
  • +1/-1     

    PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools
    and their descriptions

    Co-authored-by: Shakira Salazar 69164527+rhianeKobar@users.noreply.github.com

    <!-- Provide a general summary of your changes in the Title above -->
    
    [TT-10962](https://tyktech.atlassian.net/browse/TT-10962)
    
    <!-- Describe your changes in detail -->
    
    <!-- This project only accepts pull requests related to open issues. -->
    <!-- If suggesting a new feature or change, please discuss it in an
    issue first. -->
    <!-- If fixing a bug, there should be an issue describing it with steps
    to reproduce. -->
    <!-- OSS: Please link to the issue here. Tyk: please create/link the
    JIRA ticket. -->
    
    <!-- Why is this change required? What problem does it solve? -->
    
    <!-- Please describe in detail how you tested your changes -->
    <!-- Include details of your testing environment, and the tests -->
    <!-- you ran to see how your change affects other areas of the code,
    etc. -->
    <!-- This information is helpful for reviewers and QA. -->
    
    <!-- What types of changes does your code introduce? Put an `x` in all
    the boxes that apply: -->
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing
    functionality to change)
    - [ ] Refactoring or add test (improvements in base code or adds test
    coverage to functionality)
    
    <!-- Go over all the following points, and put an `x` in all the boxes
    that apply -->
    <!-- If there are no documentation updates required, mark the item as
    checked. -->
    <!-- Raise up any additional concerns not covered by the checklist. -->
    
    - [ ] I ensured that the documentation is up to date
    - [ ] I explained why this PR updates go.mod in detail with reasoning
    why it's required
    - [ ] I would like a code coverage CI quality gate exception and have
    explained why
    
    [TT-10962]:
    https://tyktech.atlassian.net/browse/TT-10962?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    
    ___
    
    bug_fix
    
    ___
    
    - Disabled the `EnableSingleFlight` feature in both `ProxyOnly` and
    `UniversalDataGraph` adapters to address existing issues.
    
    ___
    
    <table><thead><tr><th></th><th align="left">Relevant
    files</th></tr></thead><tbody><tr><td><strong>Bug
    fix</strong></td><td><table>
    <tr>
      <td>
        <details>
    <summary><strong>adapter_proxy_only.go</strong><dd><code>Disable
    SingleFlight in ProxyOnly Adapter</code>&nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; </dd></summary>
    <hr>
    
    apidef/adapter/gqlengineadapter/adapter_proxy_only.go
    <li>Disabled <code>EnableSingleFlight</code> feature by setting its
    value to <code>false</code>.<br>
    
    </details>
    
      </td>
    <td><a
    href="https://pull/6072/files#diff-c3d2491b83997adf408861dc51e396c95e2baabba8286309f5c344cfcee7d78b">+1/-1</a>&nbsp;
    &nbsp; &nbsp; </td>
    </tr>
    
    <tr>
      <td>
        <details>
    <summary><strong>adapter_udg.go</strong><dd><code>Disable SingleFlight
    in UniversalDataGraph Adapter</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; </dd></summary>
    <hr>
    
    apidef/adapter/gqlengineadapter/adapter_udg.go
    <li>Disabled <code>EnableSingleFlight</code> feature by setting its
    value to <code>false</code>.<br>
    
    </details>
    
      </td>
    <td><a
    href="https://pull/6072/files#diff-f01b6f97ed0e7bbe78b66c8d0c5e34fbabf49683a4a0784f7b25ebaabe97c03b">+1/-1</a>&nbsp;
    &nbsp; &nbsp; </td>
    </tr>
    </table></td></tr></tr></tbody></table>
    
    ___
    
    > ✨ **PR-Agent usage**:
    >Comment `/help` on the PR to get a list of all available PR-Agent tools
    and their descriptions
    
    Co-authored-by: Shakira Salazar <69164527+rhianeKobar@users.noreply.github.com>
    (cherry picked from commit 9ed401d)
    Copy link
    Contributor

    github-actions bot commented Mar 4, 2024

    💥 CI tests failed 🙈

    git-state

    all ok

    Please look at the run or in the Checks tab.

    @buger
    Copy link
    Member Author

    buger commented Mar 4, 2024

    API tests result: failure 🚫
    Branch used: refs/pull/6091/merge
    Commit:
    Triggered by: pull_request (@buger)
    Execution page

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    2 participants