GithubHelp home page GithubHelp logo

Comments (7)

csmulhern avatar csmulhern commented on June 9, 2024

I believe ac2ce9f might have broken something with ibazel. I'm seeing this error when running ibazel:

ERROR: Error doing post analysis query: Evaluation failed: buildfiles() doesn't make sense for the configured target graph
INFO: Elapsed time: 0.102s, Critical Path: 0.00s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
iBazel [9:14AM]: Bazel cquery failed: exit status 1
iBazel [9:14AM]: Error querying for source files: exit status 1

I believe this means that ibazel will not reload if there are changes to BUILD / bzl files that affect the watched target. I believe the issue is that buildfiles only works with query, not cquery.

The fix is to have this query still use query, rather than cquery:

i.watchFiles(fmt.Sprintf(buildQuery, joinedTargets), i.buildFileWatcher)

from bazel-watcher.

loeffel-io avatar loeffel-io commented on June 9, 2024

same here!

from bazel-watcher.

purkhusid avatar purkhusid commented on June 9, 2024

Same error here. Any chance we could rollback the change @achew22 ?

from bazel-watcher.

achew22 avatar achew22 commented on June 9, 2024

Yeah, let's roll it back

from bazel-watcher.

achew22 avatar achew22 commented on June 9, 2024

Looks like there may be more complexity here than initially thought. Rolling back to restore functionality. Thanks for the reporting everyone!

from bazel-watcher.

jakeleventhal avatar jakeleventhal commented on June 9, 2024

This issue should be reopened. The cache invalidation issue still exists

from bazel-watcher.

github-actions avatar github-actions commented on June 9, 2024

Stale issue message

from bazel-watcher.

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.