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

7594 Коммитов

Автор SHA1 Сообщение Дата
BuildXL-Pipelines 99fcf98e77 Merged PR 809642: Update NOTICE.txt
[skip ci]
2024-10-10 23:10:03 +00:00
Iman Narasamdya 4534bb8c9f Merged PR 809439: Release notes for 0.1.0-20241004.1
Release notes for 0.1.0-20241004.1
2024-10-10 20:57:24 +00:00
Michael Pysson 7b941ed581 Merged PR 809236: Update DotNet Core to 8.0.10 and 6.0.35
Update DotNet Core to 8.0.10 and 6.0.35

Related work items: #2221419, #2221420, #2221421
2024-10-09 22:57:08 +00:00
Lance Collins 0712711850 Merged PR 809355: Use files instead of streams when transferring content from remote to local in TwoLevelCache.
Use files instead of streams when transferring content from remote to local in TwoLevelCache.
2024-10-09 17:26:16 +00:00
Iman Narasamdya 111235165c Merged PR 809207: Fixed tagging rolling build
Fixed tagging rolling build
2024-10-08 21:39:34 +00:00
Serge Mera c9c560370a Merged PR 808976: Add regex matching to undeclared read allowlist
Add regex matching to undeclared read allowlist
2024-10-08 19:11:24 +00:00
Michael Pysson 8b08642ec3 Merged PR 808762: Additional test for BinaryFilter's constraining pips
Additional test for BinaryFilter's constraining pips

Related work items: #2213617
2024-10-08 19:10:47 +00:00
BuildXL-Pipelines e07bcbe8b7 Merged PR 809149: Update NOTICE.txt
[skip ci]
2024-10-08 18:22:37 +00:00
Marcelo Lynch 🧉 ca220a13c8 Merged PR 809092: Fix rolling pipeline parameter
Fix rolling pipeline parameter
2024-10-08 16:50:57 +00:00
Marcelo Lynch 🧉 3fcdbf550c Merged PR 808966: Add parameter to the rolling pipeline to prevent triggering the release pipeline
This will let us skip the release when triggering it from the 1ESPT validation
2024-10-07 23:33:22 +00:00
Lance Collins fbdc47b4d9 Merged PR 807483: Handle container sas uris for azure storage logging.
Handle container sas uris for azure storage logging.
2024-10-07 23:07:07 +00:00
BuildXL-Pipelines 2946633a28 Merged PR 808854: Update BuildXL LKG Version to 0.1.0-20241004.1
[skip ci]
2024-10-07 18:54:47 +00:00
Semih Okur 48fcdc8e10 Merged PR 808880: Remove ChooseWorkerCpu iteration counter 2024-10-07 18:07:31 +00:00
Semih Okur a85a62274f Merged PR 808213: Improve ram projection feature
- Removed 'commit' memory projection.
- Improved 'ram' memory projection:
    - Semaphore is not normalized to 100%. We use the actual memory usages of the pips as the semaphore value.
    - Semaphore limit becomes 90% of the available RAM at the end of scheduling phase. In the past, we were adding buildxl memory usage to the available ram. We were hoping that the memory used by the scheduling phase is garbage-collected.
    - Due to the race between UpdateStatus method and the logic to decide the ram semaphore limit, the RAM size is sometimes 0, especially in the builds where graph reloading is so fast. In those cases, we were using 100gb as the default memory for the machines, which was pretty high. With these changes, before we calculate the semaphore limit, we ensure that we measure the RAM size correctly.
- WorkerResourceChanged listeners were not added to the remote workers because we were calling ChooseWorkerCpu constructor before the remote workers were added to m_workers list. This caused not triggering/unpausing ChooseWorkerCpu dispatcher when a pip is done on a remote worker. It got fixed now.

Related work items: #2192122
2024-10-04 21:22:06 +00:00
Serge Mera 793de4f1b1 Merged PR 808442: Breakaway processes for interpose sandbox
Implement breakaway processes for interpose sandbox.

Ptrace handling is still missing (if a process under a process tree that is ptraced tries to breakaway, it won't).
2024-10-04 16:06:57 +00:00
Marcelo Lynch 🧉 67991eaca1 Merged PR 808435: Make some tests using symlinks linux-only
These tests are failing in some CB scenarios where the tests are run under some reparse points the test infra is not aware of. The feature is Linux-oriented anyways (for JS customers), so the coverage we care about is maintained

Related work items: #2220026
2024-10-03 18:47:35 +00:00
Oleksii Kononenko 40bbc3a6b8 Merged PR 808205: Fix formatting of an npm auth token
Apparently, base64 encoding on linux automatically adds a newline every X characters. My speculation is that whatever tool reads that file does not expect this, so it reads a single line only, i.e., partial token value, so when it tries to auth with that partial value, it gets access denied.

Related work items: #2219577
2024-10-02 20:32:44 +00:00
Oleksii Kononenko d25ed7ae3e Merged PR 808024: Change default destination for DScript profiler log to build log directory
Change default destination for DScript profiler log to build log directory

Related work items: #2191653
2024-10-01 22:38:30 +00:00
Serge Mera 7d81b701c4 Merged PR 807847: Update dev cache docs to use BlobWithLocalCacheFactory
Update dev cache docs to use BlobWithLocalCacheFactory
2024-10-01 15:39:48 +00:00
Serge Mera e0eae5fd05 Merged PR 807552: Fix codex property assignment references
* Treat property assignments as definitions when they don't have any go-to location
* Add handling for importFrom("module")
2024-09-30 16:01:26 +00:00
BuildXL-Pipelines 0595f3ec00 Merged PR 807604: Update BuildXL LKG Version to 0.1.0-20240927.1
[skip ci]
2024-09-29 23:34:20 +00:00
Serge Mera 28a905fdbd Merged PR 805063: Add the ability to restrict undeclared reads to particular scopes
Add the ability to restrict undeclared reads to particular scopes. The usage for the JS resolves translates into allowing pips to only read sources under the project roots of their transitive closure.

Related work items: #2209427
2024-09-26 16:55:03 +00:00
Semih Okur 61437a2d35 Merged PR 807061: Updated Release-Notes.md
Updated Release-Notes.md
2024-09-26 15:36:08 +00:00
Michael Pysson 94104cd2ef Merged PR 806537: Exclude SealDirectory pips in ID filter results
SealDirectory pips take part in filtering. This makes sense when using filters that target paths. But it falls apart when using filters that target other properties like a pipid.

The related bug demonstrates this well. Consider a graph with 2 process pips that each produce a SealDirectory:
P0 -> SD0
P1 -> SD1
A pip id filter of `id='p0'` will target p0 as expected. But the behavior prior to this change would be a negated id filter of `~(id='p0')` would match on p1, sd0, and sd1. But since p0 is a dependency of sd0, p0 would actually end up getting scheduled as well.

This change scopes the id filter to Process, CopyFile, and WriteFile pips. Due to the way negation is implemented with being pushed down in to the filter itself, this change makes the behavior of `~(id='p0')` only match on p1, as expected.

It isn't perfect though. Fundamentally, since SealDirectories are included in filtering, other filter combinations may end up including them back again.

Related work items: #2213617
2024-09-26 00:41:25 +00:00
Oleksii Kononenko ced9bedb2b Merged PR 806788: Exclude AbsentFileHash files from MaterializationDaemon
Exclude AbsentFileHash files from MaterializationDaemon

Related work items: #2216825
2024-09-24 21:42:02 +00:00
Oleksii Kononenko 89b7711973 Merged PR 806346: Additional logging for drop/symbol operations
Additional logging for drop/symbol operations

Related work items: #2204998
2024-09-24 21:28:30 +00:00
Pasindu Gunasekara 🍣 f870d14d96 Merged PR 806768: Create onefuzz pipeline and update onefuzz config
- Sets up a pipeline to run onefuzz daily
- Sets the assignedTo field on a work item that gets created to be empty
2024-09-24 20:27:34 +00:00
Pasindu Gunasekara 🍣 2936322c97 Merged PR 805393: Create fuzzing target for console arg parser
- This is a pretty basic sample that we're adding to start, so that we can easily add more if required in the future.

Related work items: #2171171
2024-09-23 22:36:18 +00:00
Michael Pysson 7653261a97 Merged PR 806302: Fix broken doc link
Fix broken doc link
2024-09-23 22:15:44 +00:00
Pasindu Gunasekara 🍣 953d3f340a Merged PR 806541: Change tabs to spaces 2024-09-23 22:13:19 +00:00
BuildXL-Pipelines 6c41da588d Merged PR 806518: Update BuildXL LKG Version to 0.1.0-20240920.2
[skip ci]
2024-09-23 20:47:35 +00:00
BuildXL-Pipelines b0cccaeeec Merged PR 806432: Update NOTICE.txt
[skip ci]
2024-09-23 20:35:32 +00:00
BuildXL-Pipelines d3b8ab4cd1 Merged PR 806437: Update Packages
Update packages: Microsoft.Sbom.Parsers.Spdx22SbomParser 2.2.8 -> 2.2.9, Microsoft.SBOM.Adapters 2.2.8 -> 2.2.9, Microsoft.Sbom.Contracts 2.2.8 -> 2.2.9, Microsoft.Sbom.Extensions 2.2.8 -> 2.2.9
2024-09-23 20:35:03 +00:00
Dinesh Srinivasan c89261d862 Merged PR 806194: In the Dependency Analyzer include the file probes to PIP Observed inputs to...
In the Dependency Analyzer include the file probes to Observed inputs for PIP from fingerprint computation to match with BuildXL behavior
2024-09-20 23:00:07 +00:00
Pasindu Gunasekara 🍣 a4ec587408 Merged PR 802723: Clean up unused code
Remove AsyncFile which doesn't appear to be used anymore. I'm doing this as part of some security work to clean up unused pinvoke functions.
2024-09-20 17:54:41 +00:00
Serge Mera 2a4859b0c2 Merged PR 806080: Various tweaks for Codex analyzer
Various tweaks for Codex analyzer
2024-09-19 23:45:26 +00:00
Michael Pysson 828ea9ae6f Merged PR 805603: Fix typo in security group in contributing documentation
Fix typo in security group in contributing documentation
2024-09-18 17:30:46 +00:00
Michael Pysson bdb37a641d Merged PR 804034: Revamp performance tuning documentation
Revamp performance tuning documentation
2024-09-17 21:43:20 +00:00
BuildXL-Pipelines 3f09eef5c3 Merged PR 805264: Update Packages
Update packages: Microsoft.Sbom.Parsers.Spdx22SbomParser 2.2.7 -> 2.2.8, Microsoft.SBOM.Adapters 2.2.7 -> 2.2.8, Microsoft.Sbom.Contracts 2.2.7 -> 2.2.8, Microsoft.Sbom.Extensions 2.2.7 -> 2.2.8
2024-09-17 01:10:41 +00:00
Lance Collins 1abee39571 Merged PR 802323: Send cache logs to Kusto
Add translated cache root token
2024-09-14 04:25:21 +00:00
Semih Okur 1800b9c67c Merged PR 805111: Manual flush before Disposing ExecutionLogTarget
Related work items: #2214354
2024-09-13 23:02:59 +00:00
Qi Wang c2b508d984 Merged PR 804919: Add LinuxPipDebugAnalyzer that generates configuration to debug linux tests
Add a LinuxPipDebugAnalyzer.
This Analyzer generates the required configuration for vscode to launch debugger. It takes the pip semi-stable hash as input, generates the configuration and writes it into a json file. Copy the configuration to vscode launch.json then start debugging

Related work items: #2207693
2024-09-13 22:33:24 +00:00
Sahiti Chandramouli 66c5403a18 Merged PR 804878: Add Visual Studio Professional Support
This is a PR from github contribution.

Related work items: #2213931
2024-09-12 20:44:06 +00:00
Oleksii Kononenko 60736200d1 Merged PR 803829: Make policheck happier
Make policheck happier

Related work items: #2171141
2024-09-12 19:34:23 +00:00
BuildXL-Pipelines c5b75e88e1 Merged PR 804603: Update BuildXL LKG Version to 0.1.0-20240906.8.1
[skip ci]
2024-09-11 17:01:01 +00:00
Serge Mera d96a1fbcbb Merged PR 804427: Pass cherry picking param to release pipeline
Pass cherry picking param to release pipeline
2024-09-10 20:45:06 +00:00
Qi Wang 3fc35ea7a9 Merged PR 804251: Fix ContractException when return failure result if historic meta data is called after cancellation has been requested
CancellationToken.CreateFailure() will assert the cancellation is requested. However, there are two cancellation tokens: Context.CancellationToken and Scheduler CancellationToken in HistoricMetaDataCache. Create the failure from wrong cancellation token throws the exception and crash the build.

In this pr, using the CancellationFailure constructor directly to avoid ContractException. It doesn't matter which cancellation is requested, the build will be cancelled.

Related work items: #2212685
2024-09-10 18:25:52 +00:00
Pasindu Gunasekara 🍣 2df6c54c88 Merged PR 804185: Increase retention period for macos artifacts
- 1 day is not enough if the release is created over a weekend
2024-09-10 17:20:19 +00:00
Serge Mera d887c23db4 Merged PR 804224: When JS project graph is kept, copy it to log folder
When JS project graph is kept, copy it to log folder. This usually makes it easier to consume on CB/ADO as the full Logs folder is uploaded.
2024-09-10 15:20:34 +00:00
BuildXL-Pipelines dfb19db441 Merged PR 804195: Update BuildXL LKG Version to 0.1.0-20240906.8
[skip ci]
2024-09-09 22:32:58 +00:00