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

Fix query params issue dependent on bug in httpx<0.28 #1482

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

rlmanrique
Copy link
Contributor

@rlmanrique rlmanrique commented Dec 13, 2024

We are running into this bug/change with httpx: encode/httpx#3433

This PR:

  • Add test case to ensure a shard is created after the tenant creation (hits the httpx change)
  • Fixes this case
  • disallows httpx=0.28 for now as we need to review all requests

@rlmanrique rlmanrique requested a review from dirkkul December 13, 2024 14:50
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Add test case to ensure a shard is created after the tenant
creation

Signed-off-by: Rodrigo Lopez <[email protected]>
@rlmanrique rlmanrique force-pushed the rodrigo/add_shard_tenant_test branch from 93c1e68 to cf15efe Compare December 13, 2024 14:55
@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.94%. Comparing base (a373ee6) to head (095af3b).
Report is 188 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1482      +/-   ##
==========================================
- Coverage   93.98%   89.94%   -4.04%     
==========================================
  Files         221      174      -47     
  Lines       21332    14919    -6413     
==========================================
- Hits        20048    13419    -6629     
- Misses       1284     1500     +216     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dirkkul dirkkul changed the title tenants: Add test to validate shard creation Set httpx versions to <0.28.0 Dec 13, 2024
@tsmith023 tsmith023 changed the title Set httpx versions to <0.28.0 Fix query params issue dependent on bug in httpx<0.28 Dec 13, 2024
Copy link
Contributor

@tsmith023 tsmith023 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for finding and raising this bug! @rlmanrique 😁
I'll push a new version with this fix now

@tsmith023 tsmith023 merged commit 2233eb7 into main Dec 13, 2024
38 checks passed
@tsmith023 tsmith023 deleted the rodrigo/add_shard_tenant_test branch December 13, 2024 16:45
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