Skip to content

fix(jenkins): truncate primary_view to fit varchar(255) column#8899

Merged
Startrekzky merged 2 commits into
mainfrom
fix-jenkins-primary-view-truncation
Jun 5, 2026
Merged

fix(jenkins): truncate primary_view to fit varchar(255) column#8899
Startrekzky merged 2 commits into
mainfrom
fix-jenkins-primary-view-truncation

Conversation

@klesh
Copy link
Copy Markdown
Contributor

@klesh klesh commented Jun 3, 2026

Summary

This PR fixes a database error that occurs when extracting Jenkins jobs.

Bug

When extracting Jenkins jobs, the field was computed as , which could exceed the column limit and cause:

Fix

Truncate the concatenated value to 255 characters before saving.

Closes

Closes #8897

klesh added 2 commits June 3, 2026 12:05
Fixes Error 1406 (22001): Data too long for column 'primary_view'
by truncating the concatenated value to 255 characters before saving.

Closes #8897
@klesh klesh force-pushed the fix-jenkins-primary-view-truncation branch from e731608 to f656c94 Compare June 5, 2026 03:28
Copy link
Copy Markdown
Contributor

@Startrekzky Startrekzky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Startrekzky Startrekzky merged commit ecb905d into main Jun 5, 2026
10 checks passed
@Startrekzky Startrekzky deleted the fix-jenkins-primary-view-truncation branch June 5, 2026 04:15
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.

[Bug][Jenkins Connector] Data Collection Fails with data too long error for primary_view column

2 participants