Skip to content

fixing_relate_severities_v2_pipeline_failing - #2480

Open
saksham-rathore wants to merge 1 commit into
aboutcode-org:mainfrom
saksham-rathore:fix/relate_severities_v2_pipeline_failing
Open

saksham-rathore wants to merge 1 commit into
aboutcode-org:mainfrom
saksham-rathore:fix/relate_severities_v2_pipeline_failing

Conversation

@saksham-rathore

Copy link
Copy Markdown

Description

Fix issue #2479 by widening the primary key and sequence for:

vulnerabilities_advisoryv2_related_advisory_severities

This prevents PostgreSQL sequence exhaustion at 2147483647.

Changes

  • Added migration 0145_widen_related_advisory_severities_id.py.
  • Changed join-table id from INTEGER to BIGINT.
  • Changed its sequence from INTEGER to BIGINT.
  • Added reversible SQL.

Testing

  • Migration syntax validated.
  • git diff --check passed.
  • Full tests were unavailable because project dependencies are not installed.

Signed-off-by: sammy <samrathore07062007@gmail.com>
@saksham-rathore
saksham-rathore force-pushed the fix/relate_severities_v2_pipeline_failing branch from a2a11a7 to 9f2bec2 Compare October 24, 2026 17:59

This branch has not been deployed

No deployments
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