Skip to content

[Bug][Github Data Collection] Receiving Incorrect datetime value: '0000-00-00' for column 'started_at' at row 280 Error types for some data collection in Github #8538

Closed

Description

@veetmoradiya3628

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Receiving the below error while trying collecting the data from few Github Repositories

subtask Extract Jobs ended unexpectedly Wraps: (2) error adding result to batch (500) Wraps: (3) Error 1292 (22007): Incorrect datetime value: '0000-00-00' for column 'started_at' at row 280 (500) Wraps: (4) Error 1292 (22007): Incorrect datetime value: '0000-00-00' for column 'started_at' at row 280 Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *hintdetail.withDetail (4) *mysql.MySQLError

Image

What do you expect to happen

Dev lake data collection pipeline should not fail and expecting the data collection to work fine.

How to reproduce

It's working for most of the repositories, but we're seeing failures on a few of them.

Anything else

Issue discussion @ https://devlake-io.slack.com/archives/C03APJ20VM4/p1754475976018429

if you need issue logs, let us know

Version

devlake:v1.0.2-beta8

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    component/pluginsThis issue or PR relates to plugins
    severity/p0This bug blocks key user journey and function
    on Aug 14, 2025
  2. petkostas commented on Aug 14, 2025

    @petkostas
    Contributor

    Most likely related to #8442

  3. assigned and unassigned on Aug 22, 2025
  4. klesh commented on Aug 22, 2025

    @klesh
    Contributor

    Hi, @Startrekzky, I just reassigned the issue to @petkostas because he has been working on it for a while.

  5. ssasoglu commented on Aug 26, 2025

    @ssasoglu

    It looks like this was addressed in #8536 but there is no beta release that has this fix included. When can we get one @klesh? Or is this another bug on top of the solution?

  6. petkostas commented on Aug 26, 2025

    @petkostas
    Contributor

    @ssasoglu the merged PR addresses the issue in one place, but the remaining fields and tasks also need updating. I've opened a new PR to handle these changes. I'm currently looking for a few repositories that replicate the zero-time behavior, which is a corner case, to ensure the fix works as expected.
    I'll provide an update once I've verified the fix with these additional cases.

  7. petkostas commented on Sep 1, 2025

    @petkostas
    Contributor

    I am currently testing this with a few repositories, but I haven't been able to reproduce a zero-time date yet. My next step will be to create some tests that cover this scenario. Alternatively, if anyone affected by this issue can replicate the database and test against my branch, that would be very helpful.

  8. ssasoglu commented on Sep 8, 2025

    @ssasoglu

    @petkostas would it be a good idea to create an alpha version out of your branch? Otherwise we need to go through the developer setup right?

    If we can get our hands on an alpha release, we can test it against the repo that we are having issues with.

  9. klesh commented on Sep 10, 2025

    @klesh
    Contributor

    @petkostas You now have write access, so you can push the new branch directly to the main repo.
    Pushing a tag that starts with v (e.g., v1.0.4-alpha) will trigger the GitHub Action to build docker images

  10. petkostas commented on Sep 12, 2025

    @petkostas
    Contributor

    Thanks @klesh! I will most likely push next week as I am currently blocked for personal reasons.

  11. petkostas commented on Sep 22, 2025

    @petkostas
    Contributor

    @ssasoglu I have created a new PR directly to Devlake with the tag v1.0.4-alpha the images should be ready, can you give it a go?
    @klesh there was a lint error in an existing migration file (whitespace), I have included a fix as a separate commit (the file was not modified by my original changes).

  12. klesh commented on Sep 25, 2025

    @klesh
    Contributor

    @ssasoglu I have created a new PR directly to Devlake with the tag v1.0.4-alpha the images should be ready, can you give it a go? @klesh there was a lint error in an existing migration file (whitespace), I have included a fix as a separate commit (the file was not modified by my original changes).

    Got it, thanks for the information.

  13. ssasoglu commented on Sep 30, 2025

    @ssasoglu

    The NPM supply chain attack degraded our availability to test the new alpha version.
    We are back in full capacity now. We will try v1.0.4-alpha version in the following days and I will update here.

  14. ssasoglu commented on Oct 1, 2025

    @ssasoglu

    We confirmed that v1.0.4-alpha fixes this issue. The repository we had problems before, didn't have any problems with the pipeline in this version! Thank you for the effort. 🙌

  15. klesh commented on Oct 9, 2025

    @klesh
    Contributor

    @ssasoglu @petkostas Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/pluginsThis issue or PR relates to pluginsseverity/p0This bug blocks key user journey and functiontype/bugThis issue is a bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions