5c71fc6b15817a7bcc45e0f99a4eebfb1f9388a0
- Modified process_user_avatar method to enqueue Domain::UserAvatarJob for avatar downloads - Made Domain::UserAvatarJob concrete (removed abstract!) with generic HTTP client - Added smart avatar management: handles new avatars, URL changes, and pending re-enqueues - Added comprehensive test coverage for all avatar scenarios - Updated HTTP mocking in specs to use HttpClientMockHelpers pattern - Fixed caused_by_entry handling for chained HTTP requests - Updated .cursorrules with proper HTTP mocking documentation including caused_by_entry: :any The job now automatically downloads user avatars when scanning Bluesky users.
Redux Scraper
A Ruby on Rails application for scraping and managing various content sources.
Setup
This application is configured for optimal development and testing performance:
Performance Optimizations
- Bootsnap: Accelerates gem loading and caching for faster boot times
- Spring: Preloads the Rails application for faster command execution
Rails Boot Performance
- Development boot time: ~270ms (87% faster than without optimization)
- Test environment startup: ~211ms (29% faster than without optimization)
To use Spring-optimized commands:
# Use bin/ executables for Spring acceleration
bin/rails console
bin/rails runner "puts 'Hello'"
bin/rspec spec/
README
This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
- Ruby version
- 3.2.6
- System dependencies
- node 18.x
-
Configuration
-
Database creation
-
Database initialization
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
- Build docker image with
docker build . -t redux-scraper-app
- ...
Description
Languages
Ruby
80%
HTML
10.8%
TypeScript
7.8%
JavaScript
0.7%
Shell
0.2%
Other
0.4%