Skip to content

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

Merged
anderdc merged 1 commit into
entrius:testfrom
DragunovX16:fix/graphql-response-errors
May 20, 2026
Merged

fix(webhook): fail GraphQL responses with errors#78
anderdc merged 1 commit into
entrius:testfrom
DragunovX16:fix/graphql-response-errors

Conversation

@DragunovX16
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
@anderdc anderdc merged commit a9a0a18 into entrius:test May 20, 2026
2 checks passed
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

2 participants