-
-
Notifications
You must be signed in to change notification settings - Fork 173
Make BulkInfoProviderService GREAT again. #1110
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: master
Are you sure you want to change the base?
Conversation
Added logic to clean provider keys and handle corrupted keys during bulk processing.
Implement provider key cleaning logic in BulkInfoProvider
|
Technical Review & Action Plan for Bulk Info Provider Fix Subject: Fixing
The primary reported symptom was that all bulk info provider jobs were failing immediately with a RuntimeException: Initial log analysis revealed that the root cause was not a lack of results, but a fatal error occurring before any API calls were made. The When a provider class (e.g., Corrupted Key Example: The core logic was failing to match the expected clean key (e.g., The current working patch (the one submitted in this PR) implements a robust, multi-step cleaning and matching logic to handle this specific data corruption:
Status: This patch successfully resolves the primary bug. The main bulk import workflow (Step 1) now correctly parses the provider keys, collects the part keywords, and successfully fetches results from the provider API.
While Patch 11.1 fixes the main workflow, further testing revealed a minor edge case. When a job is already in Step 2 (review), clicking the "Research All" button ( Log analysis of this specific action shows that the The cleaning logic in Patch 11.1 was not designed to handle an
The fix for this final edge case is minor and builds directly upon the working code in this Pull Request.
Conceptual Code (to be added to (Note: A previous attempt to implement this fix (Patch 11.2) contained a fatal syntax error ( Conclusion: This Pull Request (Patch 11.1) solves 99% of the critical bug. The final |
Added logic to clean provider keys and handle corrupted keys during bulk processing.
Don´t hate me, vibe coded it. it works on my machine lol. Nah joking, it has been vibe coded but it does work perfectly fine in my container, i run the latest image. The feature is amazing! we were needing it working.
I have ONLY modified the file: src/Services/InfoProviderSystem/BulkInfoProviderService.php
Love you guys, amazing work!!!