Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93538

compiledb and bazel run format conflict

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • ALL
    • Build OnDeck

      The compiledb target use hedron compile commands extractor to generate compile commands json file. This tool will create a symlink in the root directory so that compile commands will work when running locally from the root directory. Bazel uses isolated sandbox so this symlink is necessary if the compile commands are intended to be run locally.

      However the bazel run //:format command uses prettier, and prettier will break on symlinks. We may be able to tell prettier to ignore the symlink in some way.

            Assignee:
            zack.winter@mongodb.com Zack Winter
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: