Skip to content

Update scholar to v1.0.10 to fix throttling issues#500

Merged
compscidr merged 1 commit intomainfrom
fix/update-scholar-v1.0.10
Mar 16, 2026
Merged

Update scholar to v1.0.10 to fix throttling issues#500
compscidr merged 1 commit intomainfrom
fix/update-scholar-v1.0.10

Conversation

@compscidr
Copy link
Copy Markdown
Collaborator

Summary

  • Update github.com/compscidr/scholar from v1.0.9 to v1.0.10

Scholar v1.0.10 fixes the root cause of the research page breaking when Google Scholar throttles requests (compscidr/scholar#57, compscidr/scholar#58):

  • Falls back to stale cached data instead of returning empty results when throttled
  • Reduces request frequency: profile cache 1 day → 7 days, article cache 7 days → 30 days
  • Profile refresh now makes 1 request instead of ~60 (skips re-fetching article details when cached)
  • Prevents retry storms by updating timestamps on failed refreshes

Closes #346

Test plan

  • All existing tests pass
  • Visit research page — articles load normally
  • Research page remains functional even when Google Scholar is throttling

🤖 Generated with Claude Code

Scholar v1.0.10 includes:
- Fall back to stale cached data when Google Scholar throttles requests
  instead of returning empty results
- Reduce request frequency: profile cache TTL 1d→7d, article 7d→30d
- Profile refresh now only fetches the profile page (1 request) instead
  of re-fetching every article detail (~60 requests)
- Prevent retry storms by updating timestamps on failed refreshes

Closes #346

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 16, 2026 18:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Go module dependencies for the goblog project, primarily by bumping a small set of direct/indirect module versions and regenerating the module sums accordingly.

Changes:

  • Bump github.com/compscidr/scholar from v1.0.9 to v1.0.10.
  • Update indirect dependency versions (notably github.com/PuerkitoBio/goquery to v1.12.0 and several golang.org/x/* modules).
  • Refresh go.sum to reflect the updated module graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates direct and indirect module versions (notably scholar, goquery, and golang.org/x/*).
go.sum Regenerates dependency checksums to align with the updated requirements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.35%. Comparing base (3f1e4ba) to head (d684f4c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #500   +/-   ##
=======================================
  Coverage   45.35%   45.35%           
=======================================
  Files           8        8           
  Lines        2044     2044           
=======================================
  Hits          927      927           
  Misses        996      996           
  Partials      121      121           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@compscidr compscidr merged commit e4bf278 into main Mar 16, 2026
8 of 9 checks passed
@compscidr compscidr deleted the fix/update-scholar-v1.0.10 branch March 16, 2026 18:57
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.

scholar throttling brings down research page

2 participants