Skip to content

🏭 feat: GitHub Issue Scraper for Foundry Bounties (#840) - #1498

Open
tedTorus wants to merge 1 commit into
SolFoundry:mainfrom
tedTorus:feat/issue-840-github-scraper
Open

tedTorus wants to merge 1 commit into
SolFoundry:mainfrom
tedTorus:feat/issue-840-github-scraper

Conversation

@tedTorus

Copy link
Copy Markdown

Closes #840.

This PR introduces a standalone backend service (automaton/github-scraper) to automatically scrape GitHub issues and post them as SolFoundry bounties.

Features:

  • Webhook Support: Real-time listening for issues events (opened, edited, labeled, closed).
  • Security: Strict HMAC signature verification using crypto.timingSafeEqual to prevent timing attacks. Raw body parsing ensures hash integrity.
  • Idempotency: Caches x-github-delivery to prevent duplicate processing of the same event.
  • Resilience: Implements exponential backoff retry for SolFoundry API calls.
  • Cron Fallback: Hourly background sync to catch any missed webhooks.
  • Repo Whitelisting: Only processes issues from configured repositories to prevent pollution.

Tech Stack:

  • TypeScript, Express.js, node-cron
  • Dockerized for easy deployment alongside existing infrastructure.

This branch has not been deployed

No deployments
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.

🏭 Bounty T2: GitHub Issue Scraper for Foundry Bounties

1 participant