Skip to content

fix(webhook): fail GraphQL responses with errors#78

Open
volcano303 wants to merge 1 commit into
entrius:testfrom
volcano303:fix/graphql-response-errors
Open

fix(webhook): fail GraphQL responses with errors#78
volcano303 wants to merge 1 commit into
entrius:testfrom
volcano303:fix/graphql-response-errors

Conversation

@volcano303
Copy link
Copy Markdown
Contributor

Summary

Fail GraphQL metadata and backfill fetches when GitHub returns response-level errors, even if the HTTP status is successful.

This reuses a shared GraphQL error guard across the existing content fetch path and adds the same protection to PR metadata, PR backfill, and issue backfill. Backfill now also fails when an expected root page is missing instead of silently ending the loop.

Related Issues

Fixes #77

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Testing

  • npm run format:check
  • npm run lint
  • npm run build
  • git diff --check

Checklist

  • I have read the Contributing Guide
  • Code builds without errors
  • New and existing tests pass (if applicable)
  • Documentation updated (if applicable)
  • No unnecessary dependencies added

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] GraphQL metadata and backfill paths ignore response errors, silently dropping mirror data

1 participant