codetriage / CodeTriage

Discover the best way to get started contributing to Open Source projects
https://www.codetriage.com
MIT License
1.38k stars 359 forks source link

No open source projects are displayed on the home/search page #1787

Closed fbuys closed 1 year ago

fbuys commented 1 year ago

Expected Behavior

When I visit: https://www.codetriage.com/?language=Go I expect to see possible Go projects I can contribute to.

When I select any other language, I expect to see possible Go projects I can contribute to.

Current Behavior

When I visit: https://www.codetriage.com/?language=Go I don't see any project image

Same for any other language I have selected.

Possible Solution

Steps to Reproduce (for bugs)

  1. Visit https://www.codetriage.com/?language=Go
  2. Notice there are no projects listed

Context

I am not able to search for a project to contribute to.

Your Environment

schneems commented 1 year ago

Thanks for the report. My Redis instance was upgraded automatically (yay!) but I ignored the warning emails (boo) and now I'm hitting a SSL connection issue.

One way that CodeTriage optimizes for performance is by assuming any issue not updated within 24 hours is closed then we only need to make N API requests for M repos where we pull in the open issues. Anything not updated is assumed to be closed.

The infrastructure that does this runs on Redis (Sidekiq) so basically since it cannot talk to Redis it cannot enqueue new issues and since no new issues are enqueued it assumes all those not updated (all issues) have been closed. The fix is to update redis connection config and re-enqueue all issues. I'll get on that ASAP

schneems commented 1 year ago

Right code, wrong environment. It's in an unless Rails.production? block. I'm about to jump on a flight. I'll update in a bit.