Comments (7)
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:
bazel-watcher/internal/ibazel/ibazel.go
Line 309 in 8af081f
from bazel-watcher.
same here!
from bazel-watcher.
Same error here. Any chance we could rollback the change @achew22 ?
from bazel-watcher.
Yeah, let's roll it back
from bazel-watcher.
Looks like there may be more complexity here than initially thought. Rolling back to restore functionality. Thanks for the reporting everyone!
from bazel-watcher.
This issue should be reopened. The cache invalidation issue still exists
from bazel-watcher.
Stale issue message
from bazel-watcher.
Related Issues (20)
- npm package is not updated to the latest version HOT 3
- Embedding is now better handled by using rules_go's built-in embedding functionality HOT 2
- BUILD file changes not detected anymore HOT 4
- bazel-watcher requires an ancient version of bazel HOT 2
- Bazel-watcher breaks `bazel query //...` HOT 2
- Linux actifacts are not being published for releases HOT 2
- Update to use bazel 6.x HOT 5
- Support go1.21 HOT 7
- -c opt fails HOT 6
- Can I limit the folders that ibazel watches for file changes? HOT 5
- Windows: Error querying for source files: exit status 255 HOT 3
- bazel-watcher not working with angular HOT 1
- Bazel query failed: exit status 7 HOT 5
- Bazel query failed should not swallow fatal dependency tree resolution errors but print them and terminate ibazel startup, instead of being ignored but then not working HOT 2
- Question: How to disable banner? HOT 6
- Attempt to lower the number of queries to get rule names HOT 1
- support `MODULE.bazel` for identifying workspace root HOT 1
- ibazel does not support a workspace whose path may contain symlinks HOT 1
- non-conventional version tag for 0.25.1 HOT 1
- [Bazel CI] Test failures with actual logs in //internal/e2e/... HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-watcher.