Skip to content

fix(DM01-6386): change github_pull_request_id column type to bigint - #653

Merged
liuwei08 merged 1 commit into
masterfrom
fix/DM01-6386
Nov 3, 2026
Merged

liuwei08 merged 1 commit into
masterfrom
fix/DM01-6386

Conversation

@liuwei08

@liuwei08 liuwei08 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Problem

GitHub webhook events are failing with:

psycopg2.errors.NumericValueOutOfRange: integer out of range

in infrabox-github pod when processing pull request events.

Root Cause

pull_request.github_pull_request_id is defined as INTEGER (32-bit, max 2,147,483,647) in 00001.sql:262. GitHub PR IDs are global integers that have grown beyond this limit, causing the insert in trigger.py:352 to overflow.

Fix

Migration 00049.sql alters the column to BIGINT (64-bit).

Jira

https://jira.tools.sap/browse/DM01-6386

GitHub PR IDs are global integers that have grown beyond PostgreSQL's
INTEGER limit (2,147,483,647), causing NumericValueOutOfRange errors
when inserting new pull_request records from GitHub webhook events.
@liuwei08
liuwei08 merged commit 933c92a into master Nov 3, 2026
2 checks passed
@liuwei08
liuwei08 deleted the fix/DM01-6386 branch November 3, 2026 08:21
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