-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: Prevent intermittent “Missing project data key” errors under par… #4957
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
base: main
Are you sure you want to change the base?
Conversation
…allel POST requests closes: Infisical#4611
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile OverviewGreptile SummaryThis PR attempts to fix intermittent "Missing project data key" errors under parallel POST requests by adding manual validation checks for Key Issues:
What actually happened: The intermittent failures under parallel requests are likely due to concurrent KMS data key creation attempts, where the lock/wait mechanism in Confidence Score: 2/5
Important Files ChangedFile Analysis
|
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.
1 file reviewed, 3 comments
Signed-off-by: Hemant M Mehta <[email protected]>
closes: #4611
Description 📣
This PR resolves an issue where Infisical occasionally fails to read
projectIdfrom the request payload during high-volume parallel requests. The backend attempted to access payload fields before properly validating the request body, causing undefined access and unexpected 400 responses.Key Changes:
Type ✨
Bug fix
I have read the contributing guide, agreed and acknowledged the code of conduct. 📝