Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from bazelbuild:master #450

Open
wants to merge 1,722 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented May 20, 2023

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels May 20, 2023
@pull pull bot requested a review from cpsauer May 20, 2023 02:12
Tomasz Pasternak and others added 27 commits November 14, 2024 18:17
…#6997)

This reverts commit fc3990b.

We have to wait until bazel8 rc3
* Fix querysync widget for remote dev

* Fix
Removed the check for GENERIC language class when determining if Java is enabled. This change ensures that only the presence of JAVA language class sets the "isJavaEnabled" flag to true.
Previously, the condition to load rules_java was based on the "additional languages" field,
which led to issues as Java is always present in IntelliJ (unlike PyCharm).
This change modifies the condition to explicitly check if rules_java
is actually loaded in the project, ensuring proper handling of non-Java projects in IntelliJ.
* feat: Starlark Debugger Gutter Icons
This allows project owners to denote the owned code paths for their project, creating a boundary of project-internal and project-external paths.

PiperOrigin-RevId: 640042104
Fixes #22741.

PiperOrigin-RevId: 643932127
AOSP: 7048e6ff6c860de1f4ae0789b09ac81fa85e3845

# Conflicts:
#	base/src/META-INF/blaze-base.xml
#	querysync/javatests/com/google/idea/blaze/qsync/TestDataSyncRunner.java
#	shared/java/com/google/idea/blaze/common/Label.java
- removed fast build from ijwb
- NPE in BlazeModuleRendererFactory
- use flags provider for aspect repository overrides
- use getProjectFilePath instead of getBasePath in AspectRepositoryProvider
1. Detect when scanning/indexing may start by implementing a "no-op"
   `IndexableSetContributor`

2. Launch background re-scanning of the VFS each time
   `IndexableSetContributor`s are asked to provide current additional
   project roots to index. Walking the VFS caches children nodes of
   each directory and prevents them being loaded on a single scanning
   thread when launching indexing.

3. Retrieve the `fileType` of each processed file to prevent file type
   detection from content happen on a single thread.

4. Re-start any not finished scanning if new roots are requested. They
   or the file system might have changed.

Bug: 295270704
Test: SyncedInBazelProjectTest (as a smoke test)
Change-Id: I50d19a5615c659b066281917b1b5608584c14624

AOSP: 96405fbb3862a1f666125d53d71489d18947507d
Bug: 360816302
Test: n/a (checked that all processing runs at the same job nesting level)
Change-Id: I579820d44bab3eb02c934669bc7c2c42466fd7d5

AOSP: 3d8205da50f77add01f6fd9051b3ae6b9a8c1aa8
and replace it with simple string interning in place. It may save up to
a few minutes of runtime on 11gb of query results.

Bug: 359618797
Test: n/a
Change-Id: I31092fd71e3671f34dd8a75648b4a3f1b27d25af

AOSP: c6494f6a976faf54c7a23377d2c86db3b3683dbb
Change-Id: Ib7693c073e77ce053f3b8a652f99b2d0098cc16d
Bug: 349186243
Test: presubmit tests

AOSP: caa9291e4c4113815532f8ccc4e9d6aecfb29496
This class comes from a plugin and might not be available at runtime.

(and auto-remove some dead code)

Bug: 360937664
Test: n/a (BlazePackageTest showing the new impl works)
Change-Id: I3b4d283f95e135a56256046e182a590993f0dbf2

AOSP: c106a091a63d41fb0eb71eb24b9d114a38180077
in Java. Although it is not very efficient.

Bug: 361342128
Test: n/a
Change-Id: I93023d9d58a4953b2944352988fd103b6b25f5c8

AOSP: 2314f67b3cdaf23b556e0fb8b3bf4facc45d10f2
Change-Id: I3c6627a7b70effbe2f7ed8c0e6fca70406bbe248
Bug: 349186243
Test: presubmit tests

AOSP: 78424e2f9905bac93d5ce24285c4821231097bd9
Bug: NA
Test: NA
Change-Id: I79783b4674d5bee550e0480027860234a4d242fd

AOSP: 82489b4af33086a576bdc94037c28e75dc39feae
Bug: 335424569
Test: N/A
Change-Id: I013bcc2cf0a2d6d28a4a3a20af1fc035f21b8113

AOSP: 36515f4623247cd7c1332eb321f017739f652d28
A better fix would be to store data in more compact form.

Bug: 362727747
Test: n/a
Change-Id: Ibbb479b1cad715451c9b60f050f4e2fc9a50e667

AOSP: 2dd8f7869efa9658eedb760e8cfbd8b925683296
…xception.

The final step of sync/ build process is to convert Project proto to
new snapshot. And we will create modules and libraries (project
structure) according to this snapshot. Currently, we always create the
snapshot from build graph without incremental update. So if build cache get
prune but build graph is not, convert project proto to snapshot would
fail to access those expired artifacts which are still listed in build graph but have been removed from build
cache. However, they should have been copied to local directory during
last build. So we should be able to access them from those directories. In
such directories, they have *.contents file which stores all paths under
the directories to its artifact digest. It can help us to trace from digest to the exact file.

Test: added
Bug: b/357876275
Change-Id: I98d6f5bb4133becb4f648eb20128a4c25f2615f2

AOSP: 7b9f2af61e21cede77b4fb2da05aab4bb2885b11
to avoid any doubt when consuming.

Bug: n/a
Test: n/a
Change-Id: Iec5b881ee5e1fbf789ce1272f656de56e3f33973

AOSP: d80b5858722cca524960811e78e5af9e3f1abc1d
as they are no longer needed after CL 551232067, which introduces
`SrcfsOutputArtifactParser` and handles these artifacts at artifact
parsing time.

Bug: n/a
Test: n/a
Change-Id: I02b8d2d1aee30ad30df3f56e3730e266550b9f31

AOSP: 1be8be32b7a9d17c71ed49c766be8eed1f62b711
dkashyn-sfdc and others added 30 commits December 9, 2024 09:54
…the wrong load project data load will be attempted to be attempted to load. (#7134)
Bazel is still run using a PtyCommandLine and seems to automatically enable curses when using the old sync view.
* fix: Reduce freeze in ProjectUpdater

closes #7149

* Allow to switch back to the old behavior (just in case)
* fix: IndexNotReadyException during 'Enable Analysis'

closes #7142

* No more need to declare IOException
* Maintenance script - first version

* Handle versions without minor

* 233

* extract and devkit

* fix maven coord

* Handle non-existing entries

* Update maintenance.kt

.

* Update maintenance.kt

* Update maintenance.kt

* Update BUILD

* Update maintenance.kt

* Update maintenance.kt

* 2024.2 released

* Update maintenance.kt

* 243

* Update maintenance.kt

* Short info about usage

* Update maintenance.kt

* Update BUILD
* internal: introduce 'add new major version script'

* Update main.go

.

* Update main.go

* Update main.go

---------

Co-authored-by: Tomasz Pasternak <[email protected]>
* use bzlmod in Cpp example

* Update BUILD
stick to the existing project type if project view
is not valid

fixes #7155
Fixes some breaking issues for query sync in CLion. Currently query sync only works with gcc on linux.
Adds support for the gutter icon on main functions in C and CPP files. However, only for nova since the backend does all the heavy lifting for us.
Based on the changes from #7062 this adds support for catch2 run configurations.
* Update changelog for v2024.12.17 release
* use bzlmod in kotlin project

* Update simple_project.bazelproject
…s key (#7190)

Cleanup for a registry key removed a while ago
* Allow to boost `.ijwb` over BSP and .idea folder.

* Smarter default in case BSP not installed

* Google plugin has no priority by default and used if JetBrains Bazel is not installed. If BSP is there then registry key value is used.

fixes #7200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.