-
Notifications
You must be signed in to change notification settings - Fork 83
Feat: Midaz #688 Add /batch Endpoint for Batch Request Processing #1779
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
Open
lazaroborges
wants to merge
13
commits into
LerianStudio:main
Choose a base branch
from
lazaroborges:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f3c6b65
chore: ignore the .agent/ directory and docker-compose.override.yml f…
lazaroborges 19fcc00
chore: .gitignore
lazaroborges e9b6f42
feat: implement batch processing and rate limiting for API requests
lazaroborges 25e9878
chore: update dependencies and enhance batch request error handling
lazaroborges 44fb36e
fix: Update pkg/net/http/ratelimit_test.go
lazaroborges 83c292f
fix: Update miniredis to v2.36.1 and ensure go-redis/v9 is patched ag…
lazaroborges d390a93
fix: avoid allocating the full response body before truncation in bat…
lazaroborges 7ca5b1d
feat: add validation for handler constructors in transaction adapters
lazaroborges e0e30a2
fix: add type assertion checks in validation functions
lazaroborges 0727f4f
fix: correct TTL handling in idempotency key logic
lazaroborges 07ed55d
fix: rate limiting can be silently bypassed when enabled but Redis is…
lazaroborges 793d70e
fix: avoid single-slot hash tag and cross-tenant collisions for batch…
lazaroborges 3abf3bb
Merge pull request #3 from lazaroborges/feat/MDZ-688_batch_processing
lazaroborges File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix dotenv-linter UnorderedKey warnings.
Reorder the new RATE_LIMIT_* keys to satisfy the linter expectations.
🔧 Suggested reorder
🧰 Tools
🪛 dotenv-linter (4.0.0)
[warning] 177-177: [UnorderedKey] The RATE_LIMIT_MAX_BATCH_ITEMS_PER_MINUTE key should go before the RATE_LIMIT_MAX_REQUESTS_PER_MINUTE key
(UnorderedKey)
[warning] 179-179: [UnorderedKey] The RATE_LIMIT_MAX_BATCH_SIZE key should go before the RATE_LIMIT_MAX_REQUESTS_PER_MINUTE key
(UnorderedKey)
🤖 Prompt for AI Agents