Load images and image aliases through bulk get
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 368
Description
image_loader (image.search_images) and image_alias_loader (image.search_aliases) read through SUPERADMIN-gated global searches. Switch images to an entity partial bulk get and aliases to a field row bulk get.
## Success Criteria
- [ ] images load through an entity partial bulk get
- [ ] image aliases load through batch_load_fields
- [ ] an unreadable id errors only its own field; a missing id resolves to None
- [ ] pants test passes for affected packages
JIRA Issue: BA-7891
Contributor guide
Research direction
Start by locating image_loader.image.search_images and image_alias_loader.image.search_aliases, then trace the existing SUPERADMIN-gated global searches and the bulk-loading helpers they can use. Update the loaders so images use an entity partial bulk get and aliases use batch_load_fields, preserving per-field unreadable-id errors and None for missing ids; run the pants tests for the affected packages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100