Giter VIP home page Giter VIP logo

Comments (9)

hanwen avatar hanwen commented on May 24, 2024

started failing for us

after an upgrade of anything, or just out of the blue?

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

Not an upgrade, just out of the blue. But we figured it out: foo/foo-incident-starter is a completely empty repo, without any commits. If we delete it or add a commit, indexing works again.

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

@hanwen Any ideas if this could be fixed?

from zoekt.

hanwen avatar hanwen commented on May 24, 2024

I added a test for indexing an empty repo in https://gerrit-review.googlesource.com/c/zoekt/+/313865

the test passes. I suspect something else is wrong. Can you delve a little bit deeper?

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

Thanks! Changes in zoekt might have improved things since I opened this issue. I haven't actually seen this lately, but I'll investigate some more.

from zoekt.

hanwen avatar hanwen commented on May 24, 2024

I'll close this for now. Please reopen when you find something.

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

@hanwen This failed for us again because of a new/empty repo. I haven't got any more debug data than the reference not found message above. We run zoekt againt Github Enterprise (v3.1.4), I don't know it that has anything to do with it.

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

@hanwen This still fals. I'm not able to reopen this issue, should I make a new one?

from zoekt.

henrik242 avatar henrik242 commented on May 24, 2024

Maybe it actually works, but exits with a non-zero exit code when the indexGitRepo has been encountered? Because it continues indexing after the error has occured.

Our indexing script fails on non-zero exit codes, and thus aborts deployment of the new index. We would need to differentiate between an actual error and a non-error like this.

from zoekt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.