Skip to content

fix(webhook): sync repo default branch from webhook payloads#40

Open
volcano303 wants to merge 1 commit into
entrius:testfrom
volcano303:fix/sync-default-branch
Open

fix(webhook): sync repo default branch from webhook payloads#40
volcano303 wants to merge 1 commit into
entrius:testfrom
volcano303:fix/sync-default-branch

Conversation

@volcano303
Copy link
Copy Markdown
Contributor

Summary

  • handle repository webhook events in WebhookService and persist repo metadata updates
  • persist payload.repository.default_branch during pull_request and issues ingestion to keep repos.default_branch synchronized between backfills
  • continue updating last_event_at alongside metadata refresh

Related Issues

Fixes #39

Type of Change

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

Testing

  • npm run lint (in packages/das)
  • npm run build (in packages/das)

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 12, 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] Mirror does not refresh repos.default_branch after default-branch changes, causing validator branch-gate misclassification

1 participant