Skip to content

WIP feat(bigquery): classify common BigQuery errors - #4773

Draft
dtunikov wants to merge 2 commits into
bq/watermark-column-replicationfrom
codex/classify-common-bigquery-errors
Draft

WIP feat(bigquery): classify common BigQuery errors#4773
dtunikov wants to merge 2 commits into
bq/watermark-column-replicationfrom
codex/classify-common-bigquery-errors

Conversation

@dtunikov

@dtunikov dtunikov commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • classify BigQuery errors by structured API reason before HTTP status
  • retry transient backend, rate-limit, stopped-job, and table-unavailable failures
  • notify users about access, quota, invalid-query, resource, and other actionable failures
  • add HTTP status fallbacks for errors without structured reasons
  • emulate raw BigQuery REST responses through googleapi.CheckResponse in tests

Testing

  • GOCACHE=/tmp/peerdb-go-build go test ./alerting -run BigQuery -count=1

Notes

This PR branches from and targets bq/watermark-column-replication.

@dtunikov
dtunikov force-pushed the bq/watermark-column-replication branch from 9955a78 to 183fbdc Compare September 4, 2026 09:36
@dtunikov dtunikov changed the title Classify common BigQuery errors WIP feat(bigquery): classify common BigQuery errors Sep 4, 2026
@dtunikov
dtunikov force-pushed the codex/classify-common-bigquery-errors branch from 7f8bb0a to 885ace4 Compare September 4, 2026 11:40
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.

1 participant