Skip to content

Conversation

@NullPointer-cell
Copy link

This PR fixes the crash where the pipeline fails if an error log or file path gets too long (over 1024 characters). I updated the models to use TextField instead of CharField so we don't run into this limit anymore.

Changes

Updated ProjectMessage.traceback to use TextField.

Updated CodebaseResource.path to use TextField.

Included the database migration file.

Verification I reproduced the crash locally using the Bevy package from the issue description. After applying these changes, the pipeline now finishes successfully without the "value too long" error.

@NullPointer-cell NullPointer-cell force-pushed the fix-issue-1833-projectmessage-length branch from d2a043b to b4977bc Compare January 11, 2026 18:40
@NullPointer-cell NullPointer-cell force-pushed the fix-issue-1833-projectmessage-length branch from b4977bc to df61c28 Compare January 11, 2026 18:43
@NullPointer-cell NullPointer-cell force-pushed the fix-issue-1833-projectmessage-length branch from 9ed931f to ea13738 Compare January 11, 2026 22:08
Update ProjectMessage.traceback and CodebaseResource.path to use
TextField instead of CharField to prevent 'value too long' errors
when scanning packages with long paths or error messages.

Changes:
- ProjectMessage.traceback: CharField(1024) -> TextField
- CodebaseResource.path: CharField(1024) -> TextField

Fixes aboutcode-org#1833

Signed-off-by: NullPointer-cell <jayantmcom@gamil.com>
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