Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/oppia/bazel

a fast, scalable, multi-language and extensible build system
https://github.com/oppia/bazel

Delete SpawnActionContextMaps.

Part of the rollforward of https://github.com/bazelbuild/bazel/commit/37aeabcd39fe326d1c4e55693d...

7238200e051644f7f8a8b0b4fde5fa841a8f0f34 authored over 4 years ago
Clean up ExecutorBuilder and remove unneeded methods.

Part of the rollforward of https://github.com/bazelbuild/bazel/commit/37aeabcd39fe326d1c4e55693d...

283f340d49559c18ca2dc6307168d2a39b2edb54 authored over 4 years ago
The great Skylark -> Starlark symbol migration:

Rename some integration tests.

PiperOrigin-RevId: 315495893

c1c613da8e9b2f2eb2bad1cd7ac2c1bd50c24b7a authored over 4 years ago
Add the --experimental_local_retries_on_crash option.

This is intended to be used with --experimental_local_lockfree_output,
which causes lots more lo...

ddc57b2cf3d291cf82e854f60bfbc3ed9a14b27b authored over 4 years ago
Rewrite the ConfigurationResolver for simplicity.

This removes a large number of obsolete optimizations and reduces the code size and complexity d...

c7262a330666b06063314e1158bc9ae642aed427 authored over 4 years ago
Internal fix to resolve conflicting actions issue.

PiperOrigin-RevId: 315467825

a093650b6a299139d7386748cb4f738199b5fb38 authored over 4 years ago
Increase the number of 'X' characters in calls to `mktemp`, for portability.

On OpenBSD, using only five 'X' characters results in the following error message:

mktemp: insu...

b0172bee9a2224dec349ff20f2534ea73469cfee authored over 4 years ago
Fix typo in "Build without Bytes" error message

`--experimental_remote_outputs` flag does not exist. The right flag is ` --remote_download_outpu...

79d9ef2ffbcac71384aea939ff091be989e5067c authored over 4 years ago
Remove //third_party/gflags

It is unused.

See https://github.com/bazelbuild/bazel/pull/11201

Closes #11564.

PiperOrigin-Re...

2d0defcdc3d3ce3b5ddb7cb2b480edd19c3bea12 authored over 4 years ago
Custom-serialize derived artifacts. This allows us to intern them more efficiently.

Also simplify ArtifactFactory handling in SkyframeExecutor: the ArtifactFactory is set at constr...

40f2f0e27cf69ff63413060ffdd5e4ea3f43ef48 authored over 4 years ago
Docs: Fixing broken link

RELNOTES: None
PiperOrigin-RevId: 315378933

917e119b8a624fa648a294916078b05d9a69de91 authored over 4 years ago
Encode some execution failures with FailureDetails

Encodes failures in WorkspaceStatus and JavaCompile actions, and
ActionRewindStrategy, with Fail...

6f701b3ff206a70bc2eea0fff845af726b25b5f2 authored over 4 years ago
Add inlining code path to StarlarkBuiltinsFunction, and tests

StarlarkBuiltinsFunction grows a computeInline() method that accepts the calling BzlLoadFunction...

2863252a837c9863fb78a41c74f8fb0fa2e8c7ff authored over 4 years ago
Make BuildViewTestCase's use of custom RuleClassProviders and bzl inlining less error prone

This refactoring aims to convert the hours I wasted into saved time for somebody else.

Problem:...

232a6b8e1aa5552e00b791fcca10407d6fb2a616 authored over 4 years ago
Add bazelbuild/examples links to SBC documentation

PiperOrigin-RevId: 315327223

0ea6076bb72eb9d78309b121a893593fd52091d6 authored over 4 years ago
Refactor filesystem traversal failures

Only DanglingSymlinkException remains a subtype. It's the only one that
meaningfully appears in ...

c12c04414074fdc53ce0e0bd5f5e6dd16ae60b38 authored over 4 years ago
Factor BzlLoadFunction.InliningState into callers of the inlining code path

InliningState becomes package-visible and gains some documentation. It is now an opaque object t...

1d3f309c1ce14cf7cf78d8e4127ae8d3d3cc00bc authored over 4 years ago
Improve error handling for builtins injection

BuiltinsFailedException gets wrapped as a BzlLoadFailedException in BzlLoadFunction, and vice ve...

844fef5289548a0ee3ecbb70c634e63f4bc156be authored over 4 years ago
Fix aspect attributes targeting PackageGroup.

A NullPointerException occured on such attributes while aspect was visiting target rule, because...

4186fc3ef661fe0ecf3d97a3874a838251eef78e authored over 4 years ago
Expand error message for LTO compilation with list of missing files in imports.

LtoBackendAction checks whether bitcode files are available for all of the
imports. Expand the e...

0f0ca6e25d4248c460338630b27e2bfcf7e69951 authored over 4 years ago
Make the javadoc a little bit more precise.

RELNOTES: None
PiperOrigin-RevId: 315247255

5cab53a52c56f3f02b4001104540164d9135daf2 authored over 4 years ago
Prevent "Deleting stale sandbox" messages when things go right.

Make Bazel clean up the sandbox base's top directory after the end of each
build and during serv...

a72567af679408ae6789d147e63e0e208d7d65a5 authored over 4 years ago
Simplify CriticalPathComponent

This introduces `SpawnMetrics#isEmpty` and a placeholder `SpawnMetrics` in
`CriticalPathComponen...

e5759a7c24b855fdb95082dffab27a6e246913de authored over 4 years ago
Refactor ExtremaPackageListener to expose data via singleton instance.

RELNOTES: None
PiperOrigin-RevId: 315228536

c67e76b87bc018f79e1fb2fe46100e1927284667 authored over 4 years ago
Add basic builtins injection functionality, behind a flag

BzlLoadFunction now requests the injected builtins from StarlarkBuiltinsFunction. Added BuildVie...

1af65cf2ca952671ab483921f240bbc6bf106725 authored over 4 years ago
Move management of .bzl builtin symbols to StarlarkBuiltinsFunction

This change centralizes knowledge of the set of predeclared symbols for .bzl files (and in a fut...

a0c6f81f4603a18d4d4791b5762fdf4e078e34b3 authored over 4 years ago
bazel: encapsulate the representation of NestedSet

Before, NestedSet exposed its representation far and wide
in ways obvious (getChildrenUnsafe) an...

841ac61469ed61325acbcb134b6d372316f46540 authored over 4 years ago
Remove the TODO which was fixed in https://github.com/bazelbuild/bazel/commit/31b6880c254b099d2e7feb27708b6d52503c6148.

RELNOTES: None.
PiperOrigin-RevId: 315031565

e47341da50264f35687c57ebbd426ed76dbdcb30 authored over 4 years ago
Reserve failure details field numbers for internal use.

PiperOrigin-RevId: 314994901

be4c6ab003814b9e79a9467dea96a75cb5af7f88 authored over 4 years ago
Skip unnecessary call to getFastDigest when the digest is injected.

PiperOrigin-RevId: 314992993

31b6880c254b099d2e7feb27708b6d52503c6148 authored over 4 years ago
Introduce --experimental_build_event_fully_resolve_fileset_symlinks to switch how BEP Fileset expansion treats relative symlinks.

RELNOTES: None
PiperOrigin-RevId: 314992556

42a58fb07a7c9d00f98f51c7b7ba177af51ace0b authored over 4 years ago
Introduce Fileset manifest RESOLVE_FULLY behavior, which resolves internal Fileset directory links

Instead of trying to further encode symlink resolution with full generality, we re-use existing ...

6ace3f1e62be0751881342d43be0c34b3f2e7e05 authored over 4 years ago
Implement graceful SIGTERM handling in the process-wrapper.

This is intended to be used with the new dynamic spawn scheduler (via the
--process_wrapper_extr...

91eca5a46c9b3a90f1e2c660aa0ac427de6bcdd8 authored over 4 years ago
Create internal/migration-only Starlark API for JavaNativeLibraryProvider (and rename to ..Info)

PiperOrigin-RevId: 314949544

ee1d8559460dcb1793d7d1e6cc2f53a4aef1f9f7 authored over 4 years ago
Skip a lookup for action template expansion outputs.

This resolves a TODO now that we have a method to distinguish between the two types of TreeFileA...

73b4c40d9670aa94606f34c32389622b1aaf395e authored over 4 years ago
Set filesetInsideRunfiles to have default size = 0.

This is a small optimization as filesets aren't that common as inputs to runfiles.

RELNOTES: No...

241d600cc404ee920c2e42bb072d064f6cca907a authored over 4 years ago
Change how we roll out the process-wrapper's wait fix (again).

https://github.com/bazelbuild/bazel/commit/59183b6abb2994ff021dbeafc7f3c136f0218caa added a very...

caac9dc72579f4be25f6abc9c41f87e583f63cfa authored over 4 years ago
Handle some interrupts better during local process execution.

InterruptedIOException is an IOException, but it represents an interrupt.
If we get this, we sho...

77a110f94b30390e383e114fab6e5932ed0ad681 authored over 4 years ago
Remove incorrect ActionLookupData @VisibleForTesting annotation and unnecessary @AutoCodec annotations.

PiperOrigin-RevId: 314926348

f6817e6acc389b8b72d17eef22159a3642655570 authored over 4 years ago
Add option to ease experimentation with graphless genquery sorting.

RELNOTES: None
PiperOrigin-RevId: 314926015

f4d4c6d42bbdad7fe044da4431dd65506bd4302f authored over 4 years ago
Ensure that AspectResolver uses the same ConfiguredTargetKey as

everything else.

Part of work on toolchain transitions, #10523.

Closes #11546.

PiperOrigin-Re...

c367759106c87075445ce750ccdc9391986de832 authored over 4 years ago
Add a copy() method for Dependency.Builder.

Part of work on toolchain transitions, #10523.

PiperOrigin-RevId: 314925260

bd864ef45a64b09d04978f3643a43f6b16e3877d authored over 4 years ago
Re-use the existing ConfiguredTargetKey instead of re-creating from

scratch.

Closes #11547.

PiperOrigin-RevId: 314925184

7b8b8144d1db3074c6ceefe6f802d12ab1c01031 authored over 4 years ago
Fix wrongly encoded URLs to the PPC OpenJDK.

Apparently GCS doesn't like it when you "pre-urlencode" the "+" character, as the address return...

66d84ef9864f89a879b0c5ccc56cb5dbaedcc36a authored over 4 years ago
Make --experimental_stats_summary work.

Example:
before:
```
INFO: Elapsed time: 59.600s, Critical Path: 40.58s
INFO: 791 processes: 266...

b398119a627a6b4b319df20549696d1856f16f13 authored over 4 years ago
Make process-wrapper exit as soon as a timed-out process handles SIGTERM.

Before this change, passing --timeout=X --kill_delay=Y would cause the
process-wrapper to send a...

01c067a49fe24377636f844598fd1a0c27a1b158 authored over 4 years ago
Avoid crashing blaze upon StackOverflowError with aquery.

RELNOTES: None
PiperOrigin-RevId: 314888388

d06a5da7e9298516607cd8bac6892b189ac462c2 authored over 4 years ago
Do not assume files are remote for MetadataInjector methods.

PiperOrigin-RevId: 314837801

ef554466819b5221f67759d46fca46421d74f3cc authored over 4 years ago
Fix implementation of ComputedDefault attributes on aspects, not to throw ClassCast exception.

Before the fix as soon as a ComputedDefault attribute was added to an aspect ClassCast exception...

d7432e2096f3f1ea23587da6f3ef2fb5d5a557a9 authored over 4 years ago
Automated rollback of commit b9fa276f5cf111fdfc2bc8766b9421cedba1b0a6.

*** Reason for rollback ***

Fixed the underlying issue with modulemap generation.

*** Original...

08460860ccb4b75ec1b5333f5e670e80a7b63844 authored over 4 years ago
Add proper `hashCode`/`equals` to `CppModuleMap`.

RELNOTES: None.
PiperOrigin-RevId: 314781784

bab849cb4ca126d910955bb18f78b248d1c4ebd0 authored over 4 years ago
Extend cquery's deps function to traverse aspects.

RELNOTES: None.
PiperOrigin-RevId: 314773050

b66c013d7dbff0d0926c86ee756e1ea28f6b3def authored over 4 years ago
Reduce visibility of nestedset-on-skyframe members.

PiperOrigin-RevId: 314766990

305acb092ea2b1f3bb66174e167ccdc5a0d7fb2e authored over 4 years ago
Expose InstrumentedFilesInfo fields to Starlark for analysistest

RELNOTES: Allow InstrumentedFilesInfo fields to be read from Starlark.
PiperOrigin-RevId: 314761015

2e5cb1a0f4efaeea2ccc96249f855c7a15c3dabf authored over 4 years ago
Load new PackageMetricsModule.

RELNOTES: None

Closes #11548.

PiperOrigin-RevId: 314743231

738ef917b5f160d4d90c91e688aa2d1effec95e1 authored over 4 years ago
Rename --experimental_include_primary_output to --experimental_profile_include_primary_output.

RELNOTES: None
PiperOrigin-RevId: 314710791

d22bb66eb60a7799c9222798862940b2fa8dc33b authored over 4 years ago
Use `id` instead of `name` for anchors in guide.md

`name` is a deprecated HTML attribute.

RELNOTES:
PiperOrigin-RevId: 314694081

3d275205edcba7c3417dcc7a2f1c37dff0dba9bf authored over 4 years ago
[Profiler] Add target label of action owner to profiler trace files

While analyzing trace files, it is useful to have target label associated with the action which ...

eb048fd3bb74d05d6f65edeb6f29161bc0da5c97 authored over 4 years ago
Prevent NPE on missing TEST_LOG due to cancel

Tests added that exhibit this failure reported in #11468 without the
correction.

Closes #11494....

c53bdaf6f25b8ef7a9e2ca871ec183a15430ec70 authored over 4 years ago
Require explicit ExecKind in SpawnMetrics.Builder and remove SpawnMetrics.EMPTY

Previously we used `REMOTE` as the default but now we'll require setting
`ExecKind` explicitly. ...

2b7e71a1bb20d65dfcadd6111154c7fdd4c19319 authored over 4 years ago
C++: Fix crash with repeated precompiled library in srcs

With a precompiled library repeated in the srcs of a cc_library we got a crash
when trying to ad...

ecc4c59350fbd04be9cb8433c00513c3d880932e authored over 4 years ago
Remove an unused class.

RELNOTES: None.
PiperOrigin-RevId: 314674911

a111a2150abe775a001ce0ee756d1bd7f8677bf7 authored over 4 years ago
Implement directory expander, currently only used in map_each.

Design doc: https://docs.google.com/document/d/14MalcSscNHKriA9aHalRQSwNggSPO0JzSLbwzQMO_so/edit...

df9825958128beaaa4c7ded4c433f276308dc5e0 authored over 4 years ago
ConfiguredTargetFunction should use the given ToolchainContextKey, if available.

Part of work on toolchain transitions, #10523.

PiperOrigin-RevId: 314605757

f70067fc536158aca5401645a107c0884be3c831 authored over 4 years ago
Add a new ConfiguredTargetKey subclass for configured targets with explicit toolchain contexts.

Part of work on toolchain transitions, #10523.

PiperOrigin-RevId: 314604998

df1a96e61e3a7ac682152c6a47b5716f00183597 authored over 4 years ago
Simplify SingleToolchainResolutionFunctionTest by removing complexity.

PiperOrigin-RevId: 314604406

9b794accd1008f226fdad32bdeaf8b94bbd657d2 authored over 4 years ago
Minimally support Linux/ARM systems, e.g. Raspberry Pi

PiperOrigin-RevId: 314584681

78a29b0d0dfe350ab9513b6eefa9a2ed46c6c865 authored over 4 years ago
Fix `--run_under` Windows escaping bug

Fixes #10993.

The argument escaping that happens in [line 517](https://github.com/bazelbuild/ba...

d4b10dde68d85a223e61f692c99eaef0aa0528cb authored over 4 years ago
Add tests specifically for ConfiguredTargetFunction.computeUnloadedToolchainContexts.

PiperOrigin-RevId: 314569414

7f4befa61034a22a748502bb3265585a0094f145 authored over 4 years ago
Upgrade gRPC to 1.26.0

- Upgraded gRPC C++ code to 1.26.0 via external repo
- Upgraded gRPC java plugin code to 1.26.0
...

dfbf87c9196a15d491e9cbb81ee2d3da416cc0c2 authored over 4 years ago
Prepare for upgrading grpc to 1.26.0

- Add a patch file for grpc to fix some build issues, a more detailed description is available i...

e2f11d7369672263ef126f87085fec0646c0c763 authored over 4 years ago
Update "--subcommands" to also show the execution platform for each action.

PiperOrigin-RevId: 314537921

4716cc228ccf1ca17673dd78d78a908d69dcbc62 authored over 4 years ago
Add patch file for grpc 1.26.0

A part of https://github.com/bazelbuild/bazel/pull/11539

Working towards: #9408

22cfc757684eec099045df2dda35dc0ec9869e52 authored over 4 years ago
Fix spelling of Starlark

RELNOTES: None
PiperOrigin-RevId: 314529883

61c8e91055466b481ce2d0655b1a00624647f65f authored over 4 years ago
Reserves failure details field numbers for internal use

RELNOTES: None.
PiperOrigin-RevId: 314474722

8b856f5484f0117b2aebc302f849c2a15f273310 authored over 4 years ago
Reserves failure details field numbers for internal use

RELNOTES: None.
PiperOrigin-RevId: 314471725

d885e188a943d85e94fabeab32e29f051cab251f authored over 4 years ago
Clean up BugReport comments

And an unnecessary local variable.

RELNOTES: None.
PiperOrigin-RevId: 314468222

59e52083d42bdddc63a6d88bbae2fd7a007d5c31 authored over 4 years ago
Remove some justExitCode calls in tests

Contributes to the elimination of non-detailed ExitCode use.

RELNOTES: None.
PiperOrigin-RevId:...

6bf7c511bf80e2a6691dc5200f68fc809a5c3383 authored over 4 years ago
Add truth Subjects for ToolchainContext and ToolchainCollection.

PiperOrigin-RevId: 314418679

7052f3cf513ace536f5fd6601613dc7612b7b3c0 authored over 4 years ago
Encode PrintActionCommand failures with FailureDetails

RELNOTES: None.
PiperOrigin-RevId: 314408840

1e628003b33f697d9474e4f3e268a49308bb488e authored over 4 years ago
Bump minimal JDK test size threshold from 270 to 275 MB

MacOS install base size can exceed the 270 MB threshold with minor
changes.

RELNOTES: None.
Pip...

bfad7541e4b9fdee7b5c5b694f8d639c6519d100 authored over 4 years ago
Clean up artifact retrieval methods in ActionExecutionValue.

All callers of getArtifactValue were doing a checkNotNull on the return value, which is exactly ...

aed4160787ba0ec272dad8d31642fee27a16344d authored over 4 years ago
Allow tree artifacts to be omitted, take 2.

PiperOrigin-RevId: 314357168

61a9f57d595492e0cd68758ca63fc24832198554 authored over 4 years ago
Split ResolvedToolchainContext into its own build target.

PiperOrigin-RevId: 314339392

8cd2222e6105be68839e0d013885c7e6b6bbb121 authored over 4 years ago
Convert ToolchainCollection to use AutoValue.

Also Break the subclass relationship between ExecGroupCollection and ToolchainCollection.

This ...

5037537571abe1c9be7ff552e0dbd09381f0fb92 authored over 4 years ago
Add option to preserve input tar mtimes in TarFileWriter

Also backfill unit tests of default mtime functionality.

This is the first in a short sequence ...

34d67ca556e792c83e4acc7008c1fe4fe75e9341 authored over 4 years ago
Automated rollback of commit 0ff9f3aa65850b00531fea19f145703d7e19fff0.

*** Reason for rollback ***

Still broken: https://docs.bazel.build/versions/3.2.0/index.html

*...

5606516d8f803ab54be815877df43ebcdf467e9d authored over 4 years ago
Clean up old code for Starlark API whitelist.

RELNOTES:none
PiperOrigin-RevId: 314301738

7a919a3b1362c5938c85fb8219e09f6a586eda7b authored over 4 years ago
Add documentation for running Bazel in an airgapped environment using distribution directories

This use case seems to be getting more common, I figured it'll be good to document it.

Closes #...

db45fb2edfc2b619e7da4373b0b5dd5d0d571859 authored over 4 years ago
Fix error reporting omission.

The problem with error reporting was caused by:
- The error being printed to stderr in ActionExe...

33e8a7ddbc0d634831a2a6298511437830846d53 authored over 4 years ago
Migrate docs.bazel.build to use GitHub Flavored Markdown instead of Kramdown, attempt #2

Rollforward after redirect pages have been fixed by https://github.com/bazelbuild/bazel/commit/5...

0ff9f3aa65850b00531fea19f145703d7e19fff0 authored over 4 years ago
s/java_lang_extras/java_base_extras

PiperOrigin-RevId: 314169085

c063b5caf776dee665497b64c5c17d4ed7e6750a authored over 4 years ago
Add a Builder for PartiallyResolvedDependency.

Part of work on toolchain transitions, #10523.

Closes #11528.

PiperOrigin-RevId: 314165842

8dc3ffa4fa9fb990963c130083fdfaeae1a6ec88 authored over 4 years ago
Clean up shared action transformation.

Undeclared tree file outputs are no longer stored in artifactData, meaning all keys in the Actio...

71ece5b1566925c9d0766941a98622dcaa13cd86 authored over 4 years ago
Remove AndroidAaptVersion.

There's only one possible value for this enum.

PiperOrigin-RevId: 314149934

7a3eb4f61c65e9ba4a8f9be68867f40dc5166845 authored over 4 years ago
Bazel docs: Only generate unversioned redirects for the master tarball

Note that this is not a perfect solution, since if a page is added or removed in master, then we...

9bea69aee3acf18b780b397c8c441ac5715d03ae authored over 4 years ago
Introduce AggregatedSpawnMetrics

This allows aggregating `SpawnMetrics` per different execution modes (remote,
worker, local). So...

0b31794c3f7b06f2197e7d6071ce77744b53b11b authored over 4 years ago
Normalize timestamps to DOS epoch+epsilon to avoid local timezone leaking into ZIPs.

References:
* http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8246129
* https://github.c...

1c03c8c4fac1e1028fcb5bb342da3a7fdfc88327 authored over 4 years ago
Remove unneeded static serialization method.

PiperOrigin-RevId: 313817831

8e08aa3ff5d0e25752fe92d7cd2dd1978d15cc55 authored over 4 years ago
Update sorting out of starlark flags to also identify external repo starlark flags

Fixes #11506

Closes #11510.

PiperOrigin-RevId: 313817350

69d4acef9c4f6546955e549a7ffaab8dbcfbc9d2 authored over 4 years ago