Skip to content

Conversation

@jjmerchante
Copy link
Contributor

@jjmerchante jjmerchante commented Oct 29, 2025

This PR:

  • Fixes a bug that prevented the importer from rescheduling tasks because from_date was not JSON serializable when inserting into the database.
  • Fixes a bug where importing identities with a large field (e.g., username) caused the whole process to fail. Now, such identities are skipped instead.

Fixes #1019

Skip identities that raise DataError exceptions in
the Importer class. This could be raised for example
when a field is too big.

Signed-off-by: Jose Javier Merchante <[email protected]>
Fix a bug that causes importer to not reschedule
tasks because the from_date was not JSON serializable
when inserting in the database.

Signed-off-by: Jose Javier Merchante <[email protected]>
Copy link
Contributor

@evamillan evamillan left a comment

Choose a reason for hiding this comment

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

LGTM

@jjmerchante jjmerchante merged commit 784cd44 into chaoss:main Oct 30, 2025
16 checks passed
@jjmerchante jjmerchante deleted the fix-importer-bugs branch October 30, 2025 10:28
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.

Datetime is not JSON serializable when re-scheduling a task

2 participants