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

7463 Коммитов

Автор SHA1 Сообщение Дата
Serge Mera 27ba0692aa Merged PR 801377: Add cache factory to construct a local cache with a remote blob cache
Use TwoLevelCache to implement a bxl-side cache factory that allows to create a local cache + plain remote blob one. Existing knobs for both caches are preserved.
2024-08-22 18:42:08 +00:00
Qi Wang 8e4c12e724 Merged PR 800682: Check is scheduler been canceled when ensure historic metadata cache loaded
Previous change addressed the crash when loading cache after bxl cancelled. Crash still happen if load the cache after scheduler been cancelled.
To avoid crash, add access to scheduler cancellation token in PipTwoPhaseCache and check whether cancellation been requested before load cache.

Related work items: #2199303
2024-08-20 18:11:34 +00:00
BuildXL-Pipelines 0ee7981d25 Merge pull request 800786 from dev/BuildXL/updatenotice-2024-08-19T16-06-40 into main 2024-08-19 18:56:08 +00:00
BuildXL-Pipelines c9845d166b Merge pull request 800787 from dev/BuildXL/updatepackages-2024-08-19T16-09-06 into main 2024-08-19 18:26:41 +00:00
BuildXL-Pipelines 56f1ce6ef2 Merge pull request 800799 from dev/BuildXL/updatelkg-0.1.0-20240816.4-2024-08-19T17-00-18 into main 2024-08-19 17:24:52 +00:00
Michael Pysson 9285db4279 Merged PR 799144: Remove some unused parts of bxl.ps1
Remove some unused parts of bxl.ps1
2024-08-19 16:14:20 +00:00
Michael Pysson d9beb69fcb Merged PR 799117: Print the log directory as a hyperlink in the BuildXL console
Windows Terminal and other terminals support clickable hyperlinks. This change makes the link to the BuildXL log directory a clickable hyperlink to be opened by the operating system's file explorer of choice. This works on Windows and Linux.

I disabled it when run through an SSH session since the link would be a path on the host and the files may not exist on the SSH client. If run in a VSCode SSH session, VSCode has parsing for paths and does the right thing anyway.

This does change the behavior if you're running through a VSCode wrapped terminal locally. Previously, VSCode would attempt to show it through its file browser. Now it will use the file explorer of the OS instead. I didn't think this was a big deal and wasn't worthy of a config option.
2024-08-17 00:23:15 +00:00
Michael Pysson 267a6c0b73 Merged PR 800670: Don't log request headers when nuget package fetch fails
HttpRequestMessage.ToString() logs the request headers, which contain tokens. Don't log that part in this error message.
2024-08-16 22:15:21 +00:00
Lance Collins a2d0a33a27 Merged PR 799491: Allow deduplicating content from ephemeral local CAS with CASaaS
Allow deduplicating content from ephemeral local CAS with CASaaS local content by always putting content into CASaaS first and then transferring hardlink to ephemeral local cas.
2024-08-16 22:12:20 +00:00
Michael Pysson 96f9e80fa3 Merged PR 799125: Use QTest from bxl binary location instead of package location
Use QTest from bxl binary location instead of package location
2024-08-16 21:17:17 +00:00
Serge Mera 13a1511660 Merged PR 800494: Do not try to decrypt build cache configuration files
Do not try to decrypt build cache configuration files
2024-08-15 23:29:53 +00:00
Serge Mera 97f8f16345 Merged PR 800482: Do not try to flush page cache to filesystem for copy file pip sources
Flushing changes to the filesystem are intended for just-produced outputs. Do not attempt to do that for the source of a copy file pip when tracking a potential symlink chain. That may conflict with an attempt to hash a source file and throw a sharing violation.

Related work items: #2203343
2024-08-15 23:10:18 +00:00
Oleksii Kononenko 25317a6179 Merged PR 800101: Don't log errors when service pips are killed due to schedule termination
When we the schedule hits an internal error, we aggressively terminate the build (DX0249). As a result, service pips (and their shutdown pips) will / might not exit cleanly. If they do, do not log `ScheduleServicePipFailed` / `ScheduleServicePipShuttingDownFailed` errors.

Related work items: #2199314
2024-08-15 21:26:53 +00:00
Marcelo Lynch 🧉 a3a9711ccb Merged PR 799321: User-configurable observed input type reclassifications
Allow users to specify reclassifications on operations resolved by the observed input processor. Users can configure rules in their specification that individual pips can opt into, where some observation types are reclassified after being processed by the observed input processor.

The rule matching happens both after execution and when processing pathsets for the pip on cache lookup. Future optimizations might avoid some of the processings on cache lookup.

Note that any changes in these rules results in a weak fingerprint change for the pips, as there is no way to know if observations for the pip have to be reclassified with the new rules.

To learn more about the motivations for this change, refer to [this document](https://microsoft.sharepoint.com/:w:/t/1ES2/EXOegdiLQkRNt5bE7nhFic8BJBYKcETrqcY-gI2_jTN9zw?e=UEIxAg)

Related work items: #2185890
2024-08-15 20:54:26 +00:00
Serge Mera f9494ce1d7 Merged PR 800262: Fix cache generation condition logic
* Fix cache generation condition logic so it is triggered by the right data
* Establish a precedence order between different cache generation options
* Get rid of IAdoBuildRunnerService (there are no intentions to have other implementations for the service)
2024-08-15 18:14:38 +00:00
Pasindu Gunasekara 🍣 693224aaf4 Merged PR 800284: Publish BuildXL.Cache.BuildCacheResource.Helper with external PR rolling build 2024-08-15 17:15:45 +00:00
Oleksii Kononenko e74fc97ff0 Merged PR 800299: Update release notes
Update release notes
2024-08-14 21:36:03 +00:00
Pasindu Gunasekara 🍣 c4ea20f370 Merged PR 799926: Revert 'Update macos package to 0.1.0-20240802.2'
Package not being published to ms org.

Update macos package to 0.1.0-20240802.2

Reverts !799497

Related work items: #2143216
2024-08-13 17:38:47 +00:00
Julian Bayardo 57e025624a Merged PR 799781: Make logic to check whether a container exists more robust to weak credentials
Make logic to check whether a container exists more robust to weak credentials

Meant to fix this issue: https://cbtest.microsoft.com/stamp/DM_V01/getfile?path=\710424fcc000006\F:\dbs\sh\cb_m\0812_133400\CacheClient.log&buildId=91c24830-5d6b-4d21-9f1e-3208b05bbeca
2024-08-12 23:43:33 +00:00
Sahiti Chandramouli d49c81e8f8 Merged PR 799693: 1ES build cache resource integration changes
Modified cache config generator to ensure that the cache config resource name and cache config resource file are added used for cache config generation, for 1ES hosted pools.

Previous PR has missed some changes which is causing the unit test to fail.

Related work items: #2195544
2024-08-12 22:05:29 +00:00
Pasindu Gunasekara 🍣 98a917bd48 Merged PR 799776: Pass through environment variables containing PATs to dependency update command 2024-08-12 21:51:51 +00:00
BuildXL-Pipelines f586329f90 Merge pull request 799685 from dev/BuildXL/updatepackages-2024-08-12T16-14-16 into main 2024-08-12 20:23:26 +00:00
BuildXL-Pipelines 5c2180ca21 Merge pull request 799681 from dev/BuildXL/updatenotice-2024-08-12T16-07-52 into main 2024-08-12 16:54:53 +00:00
BuildXL-Pipelines b3cc760024 Merge pull request 799603 from dev/BuildXL/updatelkg-0.1.0-20240809.1-2024-08-11T06-33-03 into main 2024-08-11 22:10:53 +00:00
Pasindu Gunasekara 🍣 1e7e63d688 Merged PR 799544: Updated Release-Notes.md
Updated Release-Notes.md
2024-08-09 21:51:05 +00:00
Pasindu Gunasekara 🍣 f046c41edc Merged PR 799497: Update macos package to 0.1.0-20240802.2
Update macos package to 0.1.0-20240802.2

Related work items: #2143216
2024-08-09 18:32:35 +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 🍣 3360fd903e Merged PR 799309: Revert 'Update macOS interop package to 0.1.0-20240802.2'
- Reverting temporarily to unblock cloudbuild

Reverts !798894
2024-08-08 20:41:36 +00:00
Michael Pysson c36d01883c Merged PR 799133: Remove command line flag associated with spotlight indexing check
This arg controls whether buildxl warns about spotlight (macOS's file indexer) potentially acting on build directories. Removing the arg and functionality for simplification.
2024-08-08 19:12:35 +00:00
Michael Pysson 52144df2cd Merged PR 799131: Remove macOS specific unit test disablement
Remove macOS specific unit test disablement
2024-08-08 18:46:35 +00:00
Pasindu Gunasekara 🍣 6ab1d3bdc0 Merged PR 798894: Update macOS interop package to 0.1.0-20240802.2
- Includes arm64 changes
2024-08-07 21:10:46 +00:00
Michael Pysson 0988189e50 Merged PR 798919: Make Flags.md allign with command line
There are a bunch of other discrepancies between BuildXL's command line and the names given to consts in strings.resx, which is what is used to generate Flags.md.

The script that generates Flags.md works directly off of strings.resx. I doubt a pass was ever down when that script was created to ensure strings.resx actually matched up with the command line. This change would be better if it included some guardrails to prevent the two from skewing again in the future, but I don't think the cost/benefit is there so I'm just doing a one-time cleanup pass.
2024-08-07 19:10:26 +00:00
Qi Wang 8e76c518cd Merged PR 798883: Update APIScan pipeline to use ServiceConnection and new symbol endpoint
Use serviceconnection directly in apiscan buid task instead of login to az
Use new symbol endpoint

Related work items: #2193967
2024-08-07 17:10:13 +00:00
BuildXL-Pipelines 24dbc23a28 Merged PR 798593: Update Packages
Update packages: Microsoft.Sbom.Parsers.Spdx22SbomParser 2.2.6 -> 2.2.7, Microsoft.SBOM.Adapters 2.2.6 -> 2.2.7, Microsoft.Sbom.Contracts 2.2.6 -> 2.2.7, Microsoft.ComponentDetection.Contracts 4.8.9 -> 4.9.0, Microsoft.Sbom.Extensions 2.2.6 -> 2.2.7
2024-08-06 22:28:25 +00:00
Michael Pysson 48ef4b7143 Merged PR 798862: Fix PipDefaultTimeout documentation
Flags.md documentation had the wrong argument name
2024-08-06 20:49:33 +00:00
Serge Mera 493d2a932b Merged PR 798865: Remove UnixAbsentProbe operation
Use regular probes instead

Related work items: #2182231
2024-08-06 20:18:41 +00:00
Julian Bayardo 47dd1bc10a Merged PR 798855: Make BuildCacheConfiguration more amenable to alternative json parsing libraries
- Prevents System.Text.Json from serializing MetadataContainer/ContentContainer/etc
- Allows Newtonsoft.Json deserialization into the same type
- Tests not added on purpose, we don't use Newtonsoft. But other repos do (ex CB).
2024-08-06 19:13:23 +00:00
Serge Mera 3506f76868 Merged PR 798689: Clarify reason for reporting created directories early
Clarify reason for reporting created directories early

Related work items: #2191471
2024-08-05 23:13:13 +00:00
BuildXL-Pipelines 0057a82d46 Merge pull request 798522 from dev/BuildXL/updatelkg-0.1.0-20240802.2-2024-08-05T06-04-24 into main 2024-08-05 17:15:01 +00:00
Oleksii Kononenko c0c0db12c4 Merged PR 798449: Set defaults for the release pipeline
Set defaults for the release pipeline
2024-08-02 23:53:32 +00:00
Marcelo Lynch 🧉 e232ae7fa8 Merged PR 798442: Remove parameterization of DominoReleaseManagement name
Remove parameterization of DominoReleaseManagement name

[skip ci]
2024-08-02 23:00:23 +00:00
Qi Wang 4129525683 Merged PR 797423: Don't crash build when attempt to load HistoricMetaDataCache after cancel requested
return proper result when schedule was canceled instead of throw exception

Related work items: #2190736, #2199303, #2199304
2024-08-02 21:27:37 +00:00
Marcelo Lynch 🧉 16c90e6f7c Merged PR 798145: Add EnablePublishing switch to Release pipeline
Define an EnablePublishing variable that the pipeline can use to skip publishing tasks

[skip ci]
2024-08-01 21:28:13 +00:00
Oleksii Kononenko cc4c9cac7c Merged PR 797745: Only the rolling pipeline should trigger the release pipeline
Only the rolling pipeline should trigger the release pipeline
2024-07-30 22:44:26 +00:00
Julian Bayardo 65687f4465 Merged PR 797727: Assume blob cache credentials are DPAPI encrypted by default 2024-07-30 22:35:14 +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
Serge Mera 97d2d0113f Merged PR 797641: Reapply changes to deal with clone3 (et al)
Reapplies 790969 + takes care of the Windows case when process ids are reused

On Windows we never get ProcessExit events. At the same time, there is no process start duplication.
2024-07-30 17:07:07 +00:00
Pasindu Gunasekara 🍣 6607c373e7 Merged PR 797497: Add PTRACE_O_EXITKILL option to tracer on ptrace sandbox
- Prevents tracees from hanging if a tracer dies by also killing the tracee processes.

Related work items: #2188207
2024-07-30 16:56:14 +00:00
Oleksii Kononenko 057915fa4f Merged PR 797506: Add DominoReleaseManagement param to the release pipeline
Add DominoReleaseManagement param to the release pipeline
2024-07-29 22:57:06 +00:00