Update GlobalID extract function to handle "" gracefully
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
This MR updates the function to extract global GraphQL IDs so that it handles the "" input properly, returning a 0 instead of erroring. Tests that explicitly check the value will still fail, however pre-test refreshes that attempt to refresh on a user that doesn't exist will now properly pass instead of occasionally failing.
Edited by 🤖 GitLab Bot 🤖