Commit Graph

1890 Commits

Author SHA1 Message Date
c3b64ccd7d Bump tokio from 1.27.0 to 1.28.0 in /src/proxy-manager (#3068)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 02:16:08 +00:00
c0a8040b5a Bump tokio from 1.27.0 to 1.28.0 in /src/agent (#3067)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 13:57:09 +12:00
57f3f8b41a Bump Azure.Messaging.EventGrid from 4.10.0 to 4.15.0 in /src/ApiService (#3037)
* Bump Azure.Messaging.EventGrid from 4.10.0 to 4.15.0 in /src/ApiService

Bumps [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net) from 4.10.0 to 4.15.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Messaging.EventGrid_4.10.0...Azure.Messaging.EventGrid_4.15.0)

---
updated-dependencies:
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* dotnet restore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-27 00:12:01 +00:00
cbac57d4d0 Tweaking some of the parameter fo the logging (#3070) 2023-04-26 16:11:35 -07:00
13aca52afe Make check-dependencies lowercase (#3066) 2023-04-26 08:24:31 -04:00
001c5a2367 Change --check_fuzzer_help to --no_check_fuzzer_help (#3063)
Because `--check_fuzzer_help` is a positive flag (defaults to `True`), there is no way to change it to `False`, because specifying it on the command line sets it to `True`. Change the flag to a negative one instead, named `--no_check_fuzzer_help`.
2023-04-26 16:26:07 +12:00
c24ea52285 Bump regex from 1.7.1 to 1.8.1 in /src/agent (#3052)
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.1...1.8.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 21:46:02 +00:00
7f1257b696 Add command to download the blob content to a file (#3060) 2023-04-25 16:15:58 +00:00
a268bc9c7c Add New Endpoint to update the pool authentication (#3059)
* check that the node in managed before sending the stop message

* added endpoint to update the pool

* Update src/ApiService/ApiService/Functions/Pool.cs

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>

---------

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2023-04-24 21:52:13 +00:00
63de1e3915 Make our validation errors more specific (#3053) 2023-04-24 11:18:54 -04:00
49240ba46d Bump Rust version to 1.69 (#3049)
* Bump Rust version to 1.69

* Bump clap to fix clippy lints

See: https://github.com/clap-rs/clap/issues/4733
2023-04-21 09:56:40 -04:00
44afdb32eb elsa::sync::FrozenMap now implements Default (#3044) 2023-04-20 23:56:54 +00:00
73c3adaa47 Don't consume S_LABEL symbols from PDBs (#3046)
* Don't consume `S_LABEL` symbols from PDBs

* Suppress lint
2023-04-20 23:14:53 +00:00
980d52f7ed Update integration tests to ubuntu 20.04 (#3047)
* update images to ubuntu 20.04 in tests
2023-04-20 21:24:57 +00:00
d4004f490a Bump nix from 0.25.0 to 0.26.2 in /src/agent (#2814)
* Bump nix from 0.25.0 to 0.26.2 in /src/agent

Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update pete, ctrlc

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-20 20:49:26 +00:00
0432829736 Include coverage percentage in Cobertura reports (#3034)
Closes #2824. ReportGenerator does not use this information, but I noticed that it was missing when using PyCobertura to generate a report.
2023-04-19 15:24:48 -07:00
aa28550aad update the ado logic to consume the list of existing items once (#3014)
* update the ado logic to consume the list of existing items once

* format

* Update src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>

* Adding a notification testing endpoint

* fix tests

* format

* regen docs

* update logic

* format

* fix dummy name

* mypy fix

* make mypy happy

* bandit fix

* renaming

* address PR Comment

---------

Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
2023-04-19 14:27:16 -07:00
6f06b8ffd4 Add basic test for coverage example and library (#3035)
The coverage code is not currently exercised by any test.

* Add a test to the `coverage` example so that it can run in PR builds.
* Specify `--all-targets` so that example tests are run.
* Install and use [`nextest`](https://nexte.st/) instead of the standard test runner.
  * This will parallelize test runs across binaries so the overall test run is faster.
* Make sleep duration of agent configurable and reduce it in the test run so that it doesn't wait for 30 seconds.
2023-04-19 09:10:28 -04:00
f11ae85930 Bump Azure.Identity from 1.6.0 to 1.8.2 in /src/ApiService (#2972)
* Bump Azure.Identity from 1.6.0 to 1.8.2 in /src/ApiService

Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.6.0 to 1.8.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.6.0...Azure.Identity_1.8.2)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Dotnet restore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-19 02:02:08 +00:00
4084d0a72e Basic Linux ARM64 build (#3030)
* Attempt an ARM64 build

* Try bumping unwind

* Fixup uses of RIP

* Update check-dependencies.sh

* Further fix

* Platform-specific output directories

* Further fix

* Don't actually copy ARM64 binaries yet
2023-04-19 01:01:36 +00:00
31de900f92 Bump System.IdentityModel.Tokens.Jwt from 6.22.1 to 6.29.0 in /src/ApiService (#3023)
* Bump System.IdentityModel.Tokens.Jwt in /src/ApiService

Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 6.22.1 to 6.29.0.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/6.22.1...6.29.0)

---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* dotnet restore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-19 10:03:04 +12:00
bd2b109929 Use insta crate for snapshot tests of stacktrace parsing (#3027)
* Use insta for snapshot tests

* Update pre-reqs to also install cargo-insta
2023-04-18 09:38:59 -04:00
03e5efffe0 Update packages from CG report (#3031)
* Update Azure.Data.Tables

* Update wiremock, h2, hyper
2023-04-18 00:54:45 +00:00
256f261f2c Parse .NET exception stacks in crash output (#2988) 2023-04-18 10:50:02 +12:00
5bbf95eb66 Release 8.0.0 (#3013)
* Release-8.0.0
---------
Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
2023-04-17 12:03:08 -07:00
dc7d5ec2d5 Remove old RUSTSEC suppression (#3017) 2023-04-13 09:01:51 -04:00
c105423d14 Add maxPerPage to ORM (#3016)
* Add support for maxPerPage in OMR

* Fix small bug
2023-04-12 20:37:56 +00:00
41fa0a78bb Cap recursion in ORM (#2992)
* Add new command

* Update remaining jinja templates and references to use scriban

* almost done

* making progress

* Add 2 cases to stop OOM exceptions in the future

* More logs

* PR feedback

* Remove unnecessary changes

* 🧹

* PR comments
2023-04-13 08:22:39 +12:00
ace0ccc2d8 cargo update -p hyper (#3008) 2023-04-11 22:37:36 +00:00
f84b9c1a88 Bump Xunit (#3009) 2023-04-11 20:50:46 +00:00
169cef7a06 Remove Additional config params - require on each request (#3000)
* Only Overrite Config Cache

* Lint

* Fixing isort.

* Removing expiry.

* Removing import.

* Removing config params.

* Remove bad import.

* Adjusting to type changes.

* Remove whitespace.

* Formatting.

* Formatting.

* null check.

* Formatting.
2023-04-11 11:35:09 -07:00
77c42930a6 adding updated key vault policy for Microsoft.Azure.WebSites (#3006)
* Fixes permissions on access policy needed for SSL cert syncing
2023-04-11 10:07:37 -07:00
a39666021a Unify some crate versions (#3010)
In Component Governance we have a bunch of crates which are consumed twice under different versions in the `agent` and `proxy-manager` components. Try to unify some of these to reduce the overall dependency count (and potentially help with build times).
2023-04-11 09:10:49 -04:00
4dcc49cfb0 Use global.json to specify .NET version (#3007)
Rather than specifying this in `ci.yml`, specify it in the `global.json` file. This allows us to share the version amongst several workflows (and ADO pipelines) without needing to synchronize them.
2023-04-11 01:29:34 +00:00
0ae81b2987 Bump gimli from 0.26.2 to 0.27.2 in /src/agent (#2836)
Bumps [gimli](https://github.com/gimli-rs/gimli) from 0.26.2 to 0.27.2.
- [Release notes](https://github.com/gimli-rs/gimli/releases)
- [Changelog](https://github.com/gimli-rs/gimli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gimli-rs/gimli/compare/0.26.2...0.27.2)

---
updated-dependencies:
- dependency-name: gimli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 00:35:10 +00:00
d108706353 Bump rayon from 1.6.1 to 1.7.0 in /src/agent (#2990)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.6.1...rayon-core-v1.7.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 00:16:27 +00:00
c35c312eaf Bump iced-x86 from 1.17.0 to 1.18.0 in /src/agent (#2880)
Bumps [iced-x86](https://github.com/icedland/iced) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/icedland/iced/releases)
- [Commits](https://github.com/icedland/iced/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: iced-x86
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 23:49:19 +00:00
ebbedb7af1 Bump Microsoft.Azure.Functions.Worker.Extensions.Storage from 5.0.0 to 5.0.1 in /src/ApiService (#2969)
* Bump Microsoft.Azure.Functions.Worker.Extensions.Storage

Bumps [Microsoft.Azure.Functions.Worker.Extensions.Storage](https://github.com/Azure/azure-functions-dotnet-worker) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/Azure/azure-functions-dotnet-worker/releases)
- [Changelog](https://github.com/Azure/azure-functions-dotnet-worker/blob/main/release_notes.md)
- [Commits](https://github.com/Azure/azure-functions-dotnet-worker/commits/storage-extension-5.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.Azure.Functions.Worker.Extensions.Storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Dotnet restore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-11 11:21:14 +12:00
ab2958a6ac Add custom domain cert KeyVault access policy to deployment (#3004)
* added certificate key vault access policy
2023-04-10 22:13:50 +00:00
e35b9fa0c7 Pass the task tags to the agent (#2895)
* Pass the task tags to the agent

* build fix

* build fix

* format
2023-04-10 21:57:15 +00:00
35e9effe4d Allow the duration of the tasks to be specified in the template (#2997) 2023-04-10 19:16:48 +00:00
4195fc8533 updating rust dependency crossbeam-channel to 0.5.8 (#3002) 2023-04-10 11:49:27 -07:00
ba817a9e08 Implement ITruncatable for EventJobStopped (#2993) 2023-04-10 17:14:43 +00:00
e835fb1867 Adding handle for missing unique field key in AdoFields (#2986)
* Adding handle for missing unique field key in .

* Better approach.

* Using TyGetValue.
2023-04-07 13:30:29 -07:00
1ae063969b Fix Notification delete (#2987) 2023-04-07 19:38:10 +00:00
947bb7f141 Update codeql-config.yml (#2989) 2023-04-06 08:59:49 -04:00
446b8638bd Bump TaskTupleAwaiter from 2.0.0 to 2.0.3 in /src/ApiService (#2978)
* Bump TaskTupleAwaiter from 2.0.0 to 2.0.3 in /src/ApiService

Bumps [TaskTupleAwaiter](https://github.com/buvinghausen/TaskTupleAwaiter) from 2.0.0 to 2.0.3.
- [Release notes](https://github.com/buvinghausen/TaskTupleAwaiter/releases)
- [Commits](https://github.com/buvinghausen/TaskTupleAwaiter/compare/2.0.0...2.0.3)

---
updated-dependencies:
- dependency-name: TaskTupleAwaiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* dotnet restore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: George Pollard <gpollard@microsoft.com>
2023-04-06 02:20:54 +00:00
d27d815d92 Better logging of failure in the task_logger (#2940)
* logging task_logger failure

* format

* clippy fxes

* cleanup

* address comments
2023-04-06 00:38:11 +00:00
f19a0e8d70 Bump elsa from 1.7.0 to 1.8.1 in /src/agent (#2983)
Bumps [elsa](https://github.com/manishearth/elsa) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/manishearth/elsa/releases)
- [Commits](https://github.com/manishearth/elsa/compare/v1.7.0...v1.8.1)

---
updated-dependencies:
- dependency-name: elsa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 22:59:29 +00:00
0428da2425 Bump tempfile from 3.4.0 to 3.5.0 in /src/agent (#2976)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 22:30:56 +00:00