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

Develop swap redis asyncio commits #913

Merged
merged 4 commits into from
Aug 28, 2023
Merged

Conversation

lrafeei
Copy link
Contributor

@lrafeei lrafeei commented Aug 26, 2023

This PR swaps #881 with #782

lrafeei and others added 2 commits August 25, 2023 13:27
* Revert "Redis asyncio testing (#881)"

This reverts commit 05cff1b.

* Add spublish to list of commands
* Fix redis.asyncio sync operations wrapper

* Add clean ups

* Fixes:
- `loop` -> noqa
- catch `TimeoutError` on `asyncio.timeout`

* Added separate instrumentation for redis.asyncio.client (#808)

* Added separate instrumentation for redis.asyncio.client

Merge main branch updates

Add tests for newrelic/config.py (#860)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Modify redis tests

* removed redis.asyncio from aioredis instrumentation

removed aioredis instrumentation in redis asyncio client

removed redis.asyncio from aioredis instrumentation

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <lrafeei@newrelic.com>
Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com>

* Modify tests

* Tweak tests and instrumentation

* Tweak tests to separate aioredis and redis.asyncio

* Correctly separate commands to sync/async

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ahmed <ahmedhropewala@gmail.com>
Co-authored-by: Lalleh Rafeei <lrafeei@newrelic.com>
Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Aug 26, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 2 0 4.74s
✅ PYTHON black 4 3 0 1.04s
✅ PYTHON flake8 4 0 0.42s
✅ PYTHON isort 4 3 0 0.19s
✅ PYTHON pylint 4 0 3.71s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link

Codecov Report

Merging #913 (83fa78f) into main (399c81f) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #913      +/-   ##
==========================================
- Coverage   81.69%   81.66%   -0.03%     
==========================================
  Files         185      185              
  Lines       18638    18638              
  Branches     3265     3265              
==========================================
- Hits        15226    15221       -5     
- Misses       2496     2499       +3     
- Partials      916      918       +2     
Files Changed Coverage Δ
newrelic/hooks/datastore_redis.py 89.18% <ø> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lrafeei lrafeei marked this pull request as ready for review August 26, 2023 00:36
@lrafeei lrafeei requested a review from a team August 26, 2023 00:36
@lrafeei lrafeei merged commit 0baf8d5 into main Aug 28, 2023
@lrafeei lrafeei deleted the develop-swap-redis-asyncio-commits branch August 28, 2023 21:23
@mergify mergify bot removed the tests-failing label Aug 28, 2023
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.

4 participants