Skip to content

fix(all-users): handle program names in programs array#778

Merged
ismaeldosil merged 1 commit intostagingfrom
fix/legacy-programid-format
Jan 27, 2026
Merged

fix(all-users): handle program names in programs array#778
ismaeldosil merged 1 commit intostagingfrom
fix/legacy-programid-format

Conversation

@ismaeldosil
Copy link
Collaborator

Summary

  • Handle case where users have program name stored in programs[] instead of ID
  • Added fallback to check if value is a known program name when ID lookup fails

Root Cause

Some users have data like:

programs: ["United Way"]  // name, not ID

Instead of:

programs: ["z5zmUqERgQJeN0jQ5sYx"]  // ID

Test Results

=== SUMMARY ===
Success: 17
Failed: 0

✅ ALL USERS WITH PROGRAM DATA NOW RESOLVE CORRECTLY!

Closes CHALK-080

Some users have the program NAME stored in programs[] instead of the ID.
Added fallback to check if the value is a known program name when ID
lookup fails.

Closes CHALK-080
@ismaeldosil ismaeldosil merged commit 28ce133 into staging Jan 27, 2026
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.

1 participant