Граф коммитов

376 Коммитов

Автор SHA1 Сообщение Дата
Oleksii Kononenko c0c03d7a08 Merged PR 800074: Update .net packages
Update .net packages (8.0.8 and 6.0.33)

Related work items: #2205871, #2205872, #2205873, #2205874
2024-08-27 20:23:30 +00:00
Oleksii Kononenko 53ff9ba1c9 Merged PR 799153: Remove net7 qualifier
Remove net7 qualifier
2024-08-09 00:15:26 +00:00
Camille Bruckmann 8d63e43720 Merged PR 799345: Update ADO Package Version
Updates the ADO package version. Needed to add some dependencies as the newer packages have new requirements. These packages were tested in CB, see validation run: https://dev.azure.com/mseng/Domino/_releaseProgress?_a=release-environment-logs&releaseId=401326&environmentId=1092945
2024-08-08 23:17:44 +00:00
Pasindu Gunasekara 🍣 7adc600114 Merged PR 797711: Upgrade RocksDbSharp to 20240730.1
- Includes fix for incorrect targets
2024-07-30 21:36:23 +00:00
Pasindu Gunasekara 🍣 5289ffdca1 Merged PR 796663: arm64 macos support
- Tests macos binaries on both amd64 and arm64.
- Updates rocksdb packages to pick up new changes to add arm64 support.
- Disables unit tests that rely on grpc core (these can be re-enabled when we switch to grpc-dotnet)

Related work items: #2195823
2024-07-29 19:58:56 +00:00
Michael Pysson 2631d72083 Merged PR 795055: Bump package versions for Component Governance
Bump package versions for Component Governance

Related work items: #2195385, #2195386, #2195387
2024-07-16 00:20:23 +00:00
Michael Pysson 797f466d81 Merged PR 795048: Update Azure.Identity to 1.11.4
Update Azure.Identity to 1.11.4

Related work items: #2187372
2024-07-15 22:30:04 +00:00
Oleksii Kononenko bfc974716a Merged PR 794829: Limit set of files sent for symbol indexing and re-enable nuget signing
Limit set of files sent for symbol indexing and re-enable nuget signing

Related work items: #2125959, #2125963
2024-07-11 22:41:32 +00:00
Oleksii Kononenko 68b8e5b32d Merged PR 794333: Update net runtime and packages
Update net runtime and packages
2024-07-09 22:51:38 +00:00
Pasindu Gunasekara 🍣 0ce0813c5d Merged PR 789693: Deploy Node to a stable path under out directory
- Set up to help with NI issues on cloudbuild
2024-06-12 17:11:11 +00:00
Oleksii Kononenko fe5a6759ec Merged PR 786241: Revive Net7 support
CaSaaS is currently on Net7 and it might need updated bxl bits while it's moving to Net8. This PR re-adds net7 qualifier. It's essentially a revert of `0a4d5b272900cfb6ad2c13795650e269500f9d17` and `5380d614bb98bfebb5a63900bb617ff51e93e56e`.

7.0.18 has a vulnerability, so this PR also includes a change that updates net7 bits to 7.0.19 to make the CG happy.

note: MsBuild is back to net7 (net7->net8 for msbuild was a part of net7 removal)
2024-05-22 19:35:13 +00:00
Oleksii Kononenko 8e7874240d Merged PR 784905: Update net runtime and packages
Update net runtime and packages
2024-05-15 19:16:45 +00:00
Oleksii Kononenko 0a4d5b2729 Merged PR 784903: Remove remaining net7 references
Remove remaining net7 references

Related work items: #2174274
2024-05-15 17:42:54 +00:00
Oleksii Kononenko 5380d614bb Merged PR 784655: Revert "Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
Reapply the original Net7 removal commit `4c5cc753`. The issue that we initially saw after it was merged was not caused by the commit. The commit forced a cache miss for a couple of pip and it uncovered the issue with vctip/lib.exe.

Must be merged after !784653

Related work items: #2174274
2024-05-14 00:20:53 +00:00
Oleksii Kononenko cea42e3df4 Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
After net7 removal the minimal build fails in CB with 'child process survived' error.

Revert "Merged PR 784187: Remove net7 qualifier

Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274"

Reverted commit `4c5cc753`.

Related work items: #2174274
2024-05-11 00:15:11 +00:00
Oleksii Kononenko 4c5cc753e9 Merged PR 784187: Remove net7 qualifier
Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274
2024-05-10 20:43:31 +00:00
Julian Bayardo 2a88876433 Merged PR 780655: Upgrade RocksDbSharp to 8.1.1-20240419.2 2024-04-22 18:00:12 +00:00
Marcelo Lynch 🧉 4e66868617 Merged PR 780103: Update Ninjson to new package that includes windows and linux binaries
- Removes usages of the `linux-x64` package
- Some changes in the deployment directory structure
- Also fixes a problem where we crash if the graph construction tool fails instead of being graceful

Related work items: #2000411
2024-04-17 18:43:31 +00:00
Michael Pysson 481e256460 Merged PR 779526: Update Azure.Identity
Update Azure.Identity

Related work items: #2168526
2024-04-15 22:18:01 +00:00
Oleksii Kononenko 993872d960 Merged PR 778582: Update .net runtimes and packages
Update .net runtimes
2024-04-12 06:57:48 +00:00
Iman Narasamdya 17e9c0ee14 Merged PR 778622: Upgrade artifacts and ADO packages
Upgrade artifacts and ADO packages to allow redaction of JWTs in QTest log streams

Related work items: #2167926
2024-04-10 01:29:58 +00:00
Sahiti Chandramouli 4e8d4b92da Merged PR 777779: Use latest rocksdb fix for Binskim violations resolution
Pull in the fixed rocksdb version, which has the CFG compiler and linker flags.

Corresponding Rocksdb PR - https://dev.azure.com/mseng/Domino/_build/results?buildId=27620175&view=results
2024-04-05 19:13:57 +00:00
Marcelo Lynch 🧉 52556418f5 Merged PR 777082: Update Ninjson Windows version mitigating Binskim errors 2024-04-03 01:05:01 +00:00
Erik Mavrinac 0265cbc898 Merged PR 775516: Update to latest CopyOnWrite package with bug fix
Related work items: #1735620, #2161885
2024-03-26 20:26:04 +00:00
Juan Carlos Guzman Islas 4513a160f3 Merged PR 774198: Compact GC database on restore and before creating the last checkpoint
Compact GC database on restore and before creating the last checkpoint
2024-03-22 18:49:31 +00:00
Oleksii Kononenko da67e1d298 Merged PR 774575: Make Net8 default qualifier
Make Net8 default qualifier

Related work items: #2156466
2024-03-21 22:06:06 +00:00
Marcelo Lynch 🧉 d80a512b39 Merged PR 772013: Update BuildXL.Tools.Ninjson version
Update Ninjson version to incorporate some perf improvements
2024-03-08 23:45:03 +00:00
Oleksii Kononenko 33c5358e02 Merged PR 771190: Use net8 bits for linux PR validation
Use net8 bits for linux PR validation
2024-03-07 23:16:05 +00:00
Marcelo Lynch 🧉 3209a59952 Merged PR 770317: Enable CredScan on ADO by default 2024-03-05 18:42:25 +00:00
Oleksii Kononenko dc43f557a0 Merged PR 769435: Add .net8.0 support
[wip] Add .net8.0 support

Related work items: #2139356
2024-02-29 18:03:00 +00:00
Iman Narasamdya 39315f8517 Merged PR 768051: Addressing CVE-2024-0057
Bump up NuGet nuget packages to address CG alert to address CVE-2024-0057

Related work items: #2149122, #2149123
2024-02-20 19:03:41 +00:00
Serge Mera 3f7067534f Merged PR 765884: DScript spec cleanup
Re-applies original clean up waves: https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/765540 and https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/763864, plus a fix for the VBCS compiler logger that ocurred in some QB queues using an old VS installation
2024-02-07 22:11:01 +00:00
Serge Mera 186dc379d0 Merged PR 765772: Revert DSCript cleanup
This caused some deployment issues in CB, and there is a hot fix that CB needs that got trapped in between cleanup waves. Reverting so CB can get unblocked.
2024-02-06 19:59:15 +00:00
Serge Mera 384b078e44 Merged PR 765540: DScript spec cleanup wave 2 (with net6 fix)
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 22:04:51 +00:00
Julian Bayardo e311b79313 Merged PR 765496: Revert "Merged PR 765049: DScript spec cleanup wave 2
Revert "Merged PR 765049: DScript spec cleanup wave 2

* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver."

Reverted commit `2b01690d`.
2024-02-05 19:36:38 +00:00
Serge Mera 2b01690d41 Merged PR 765049: DScript spec cleanup wave 2
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 17:49:26 +00:00
Serge Mera 2a6c56a2c8 Merged PR 763864: DScript spec cleanup
Mostly cache specs, but also touching some shared stuff:
* Unified some Nuget packages (System.Collections.Immutable, System.Memory, etc), and bumped versions to the latest. This triggered a bunch of other updates...
* Removed a lot of unnecessary 'withQualifier'
* Simplified some references by fixing the 'runtimes' folder behavior on the Nuget resolver (which forced a bunch of 'withWinRuntime' calls

More cleanup passes are possible, but those to come later
2024-02-01 22:30:56 +00:00
Oleksii Kononenko b0621456a9 Merged PR 761147: Enable net7 by default
Enable net7 by default

Related work items: #2119665
2024-01-31 19:49:05 +00:00
Michael Pysson d7479d35c7 Merged PR 763887: Update Microsoft.IdentityModel.* packages to address CG alert
Update Microsoft.IdentityModel.* packages to address CG alert

Related work items: #2138377, #2138378, #2138379, #2138380, #2138381, #2138382, #2138383, #2138384
2024-01-26 23:11:25 +00:00
Julian Bayardo 14ad21d64c Merged PR 763375: Remove unused Kusto logger in ContentStoreApp
This PR removes an usused feature that's also pulling quite a few nuget pkgs in
2024-01-26 22:05:03 +00:00
Julian Bayardo 02b16fb061 Merged PR 762672: Revert 'Revert "Merged PR 761916: Force non-NetFramework to use gRPC.NET"'
Revert "Merged PR 761916: Force non-NetFramework to use gRPC.NET"

This reverts commit 935d593764.

Assuming this to be the breaking change in the release pipeline.
https://dev.azure.com/mseng/Domino/_releaseProgress?releaseId=357728&_a=release-environment-logs&environmentId=999207&jobTimelineRecordIdToSelect=3ee57f59-9e53-53fe-0766-0905ac942e86&selectTaskWithIndex=29#

Reverts !762549
2024-01-22 22:53:40 +00:00
Sahiti Chandramouli dff8dcdf03 Merged PR 762549: Revert "Merged PR 761916: Force non-NetFramework to use gRPC.NET"
Revert "Merged PR 761916: Force non-NetFramework to use gRPC.NET"

This reverts commit 935d593764.

Assuming this to be the breaking change in the release pipeline.
https://dev.azure.com/mseng/Domino/_releaseProgress?releaseId=357728&_a=release-environment-logs&environmentId=999207&jobTimelineRecordIdToSelect=3ee57f59-9e53-53fe-0766-0905ac942e86&selectTaskWithIndex=29#
2024-01-22 03:37:25 +00:00
Julian Bayardo 935d593764 Merged PR 761916: Force non-NetFramework to use gRPC.NET
This PR forces:
- All gRPC clients in .NET 4.7.2 to use gRPC.Core (which is the only supported option)
- All gRPC clients in .NET >= 5 to use gRPC.NET

This is needed for:
- Simplify handling of HTTP clients (which we'll use to stop creating one HttpClient per request)
- Us to support encryption in the future.

The PR also fixes Microsoft.Extensions.Logging.Abstractions, which is a contentious nuget pkg for a variety of reasons and gets in the way of doing this. The change can't be submitted separately because it's hard to repro that way
2024-01-19 21:58:41 +00:00
Sergey Tepliakov 6ed864cb2d Merged PR 762198: Update ErrorProne.NET to 0.6.1 and fix a bunch of perf and tracing issues
I've recently updated ErrorProne.NET and added a few rules there.

This PR does the following:
1. Updates ErrorProne.NET to 0.6.1
2. Updates the compiler toolchain to the latest version
3. Fixes the following warnings:

## Structs with default equality and hashcode are used in hashtables
This is problematic since the default methods causes boxing and the hash function is very weak. For instance, hash code for `KeyValuePair<int, int>(1, 1)` and (2,2) are the same.

```
Public\Src\FrontEnd\Core\Incrementality\FrontEndPublicFacadeAndAstProvider.cs(316,20): warning EPC25: The default 'ValueType.Equals' is used in Content.Equals(other.Content)
Public\Src\Utilities\PackedTable\StringTable.cs(128,30): warning EPC24: A struct 'BuildXL.Utilities.PackedTable.CharSpan' with a default Equals and GetHashCode implementation is used as a key in a hash table
Public\Src\Engine\Scheduler\Caching\HistoricMetadataCache.cs(1048,17): warning EPC24: A struct 'BuildXL.Scheduler.Cache.HistoricMetadataCache.Expirable<BuildXL.Scheduler.Cache.HistoricMetadataCache.PublishedEntry>' with a default Equals and GetHashCode implementation is used as a key in a hash table
Public\Src\Tools\Execution.Analyzer\Analyzers.Partner\GraphDiffAnalyzer.cs(391,26): warning EPC24: A struct 'System.Collections.Generic.KeyValuePair<string, (string, bool)>' with a default Equals and GetHashCode implementation is used as a key in a hash table
Public\Src\Tools\Execution.Analyzer\Analyzers.Partner\GraphDiffAnalyzer.cs(94,13): warning EPC24: A struct 'System.Collections.Generic.KeyValuePair<BuildXL.Pips.PipId, BuildXL.Pips.PipId>' with a default Equals and GetHashCode implementation is used as a key in a hash table
Public\Src\Tools\SymbolDaemon\SymbolDaemon.cs(559,13): warning EPC24: A struct 'BuildXL.Ipc.ExternalApi.SealedDirectoryFile' with a default Equals and GetHashCode implementation is used as a key in a hash table
```

## Linear Enumerable.Contains instead of hashset.contains
```
Public\Src\Utilities\UnitTests\TestUtilities.XUnit\XAssert.cs(272,69): warning EPC23: Linear search via Enumerable.Contains is used instead of an instance Contains method
Public\Src\Engine\UnitTests\Processes\SandboxedProcessTest.cs(1601,17): warning EPC23: Linear search via Enumerable.Contains is used instead of an instance Contains method
Public\Src\Engine\Processes\ProcessDumper.cs(230,21): warning EPC23: Linear search via Enumerable.Contains is used instead of an instance Contains method
```

And a bunch of cases when we were using default `ToString` impl which is not helpful.
2024-01-19 21:45:15 +00:00
Julian Bayardo 41badf7312 Merged PR 758684: Revert 'Revert "Merged PR 757989: Remove Azure Storage SDK V9"'
This PR reverts the revert and adds a fix to prevent the issue from happening.

Revert "Merged PR 757989: Remove Azure Storage SDK V9"

This reverts commit 0e95536756.
Linux build in rolling build pipeline started to fail after this change.

Reverts !758549
2024-01-02 18:50:57 +00:00
Qi Wang 6abec3bdc4 Merged PR 758549: Revert "Merged PR 757989: Remove Azure Storage SDK V9"
Revert "Merged PR 757989: Remove Azure Storage SDK V9"

This reverts commit 0e95536756.
Linux build in rolling build pipeline started to fail after this change.
2023-12-21 20:39:04 +00:00
Julian Bayardo 0e95536756 Merged PR 757989: Remove Azure Storage SDK V9
We're now getting Component Governance alerts about our usage of this NuGet package. This PR removes it from everywhere that remains.

This PR is risky because it changes the API used by CASaaS across several subsystems.
2023-12-19 21:23:07 +00:00
Julian Bayardo 729537b4d8 Merged PR 756424: Remove unused packages and stop skipping System.Threading.Tasks.Dataflow 2023-12-09 00:08:56 +00:00
Marcelo Lynch 🧉 ed86825bc1 Merged PR 748857: Add a cache miss analysis mode that uses latest git commit hashes as fingerprint store key candidates
BuildXL looks up cache miss data based on a priority list of keys configured by the user. In practice, the best general setup is to use a chain of git parent commits. This gets replicated in logic that invokes bxl.exe today for some of our customers. This PR provides this as a default experience without the end user needing to manually perform it.

The approach is heuristic, trying to pick candidate keys that might have been used to publish a fingerprint store for a build as "close" as the one running.

For this, the candidates are picked by

1. Get latest 5 commits from the current HEAD. We should get a match if this branch was built before, for example for a PR we expect one build per 'iteration'. Because an iteration can have multiple commits, we should not use a very small number (like, say, this commit and the one before), but let's not go overboard either (hence 5).
2. For any additional additional branches (indicated by the user in the argument), the assumption is that they run build against every commit (this should typically be the `main` branch, or the target branch for a PR).
  a) We retrieve the merge-base from HEAD and that branch. We use as keys the hashes for the 3 commits immediately previous to the merge-base.
  b) Finally, as a last resort, we use the latest 3 hashes from that branch as a last resort, assuming again that it was built recently

An example: for a PR (that has branched from `h5` and committed a number of times) merging against main, with this topology:

```
                                 .--b5--b4--b3--b2--b1-- b0    [PR branch]
                               /
             h8 -- h7 --h6--- h5 -- h4 -- h3 -- h2 -- h1 -- h0     [main]
```

The hashes for the keys would be (as described above)
1)`b0, b1, b2, b3, b4, b5`
2a) `h5, h6, h7`
2b) `h0, h1, h2`

Duplicates are removed, so something like this:

```
                                 .--b1-- b0    [PR branch]
                               /
             h8 -- h7 --h6--- h5 -- h1 -- h0     [main]
```

would result in the cadidates being `b0, b1, h5, h6, h7, h0, h1`.

Related work items: #2116194
2023-12-06 21:18:38 +00:00
John Erickson e6b5b6b7db Merged PR 754396: Allow CoW outside NETCOREAPP
Allow CoW outside NETCOREAPP
2023-12-01 17:26:24 +00:00