Commit Graph

1454 Commits

Author SHA1 Message Date
ae6df1e22f Create tables on startup (#2309) 2022-08-29 15:12:19 +12:00
4e2d2d2879 Release 5.12.0 (#2304)
* Release 5.12.0

* Removing dockercontainer changes.

* Update CHANGELOG.md

Co-authored-by: Marc Greisen <mgreisen@microsoft.com>

* Update CHANGELOG.md

Co-authored-by: Marc Greisen <mgreisen@microsoft.com>

* Adding az_copy logging.

* Adding ado logging.

Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
5.12.0
2022-08-26 17:44:35 -07:00
163e324227 Specifying initial size for scaleset create in integration-tests. (#2307)
* Specifying initial size for scaleset create in integration-tests.

* Spell check.
2022-08-26 16:09:36 -07:00
c94ae0bbb6 log the work item id when notifying ado (#2291)
* log the work item id when notifying ado

* format

* refactoring

* fix build

* fix

* format
2022-08-26 19:08:31 +00:00
55a29cf1cd added some logging (#2303) 2022-08-26 18:06:31 +00:00
dcb706fa6a Changing CLI Scaleset size parameter to max_size. (#2293)
* Changing size parameter to max_size.

* Adding default param for clarity.

* FIxing param

* Setting size to 1.

* Adding comment.

* Trailing white spaces.

* Adding initialized_size param.

* Using initialized_at.

* Changing variable name.
2022-08-26 09:57:51 -07:00
d213eac44e Implement negotiate function (#2183) 2022-08-26 02:59:31 +00:00
d615fccd6d Fixing set_admins.py Script. (#2300)
* Fixing set_admins.

* Moving set_admins to another directory.

* Fixing imports.
2022-08-25 15:00:42 -07:00
c7e7fa1d27 Port autoscaling to C# (#2296)
Co-authored-by: stas <statis@microsoft.com>
2022-08-25 13:13:24 -07:00
1a63f195f3 porting the proxy state machine (#2286)
* porting the proxy state machine

* use async version

* is used

* rename base state to state

* fix auth
fix extension path

* ignore log info in check logs
2022-08-25 19:42:01 +00:00
402d549d02 Dockerfile fix (#2297) 2022-08-25 15:17:32 -04:00
c3c9e0d942 fix function name (#2282) 2022-08-25 03:27:36 +00:00
e263b245f5 Add --use_dotnet_agent_functions to deploy.py and Python service (#2292) 2022-08-25 11:50:01 +12:00
0133b3e42f Include serialization options when sending event message (#2290) 2022-08-24 19:42:34 +00:00
39e22b060a Only save the job once when creating it (#2289)
* Convert exception to warning

* don't save job before creating the log container

* same as the python code

* test fix

* format

* format

* don't schedule the task if the log container is missing
2022-08-24 10:19:18 -07:00
07fb794f8a Devcontainer updates (#2279) 5.11.0 2022-08-23 22:47:13 +00:00
f511862b34 Pull in a null reference error and a rust dependency update to release 5.11. (#2284) 2022-08-23 12:28:12 +12:00
21a4231912 Fix NullReferenceException in CreateQueue (#2283) 2022-08-22 23:21:56 +00:00
cddaed1bf1 Update Rust azure_* crates (#2266) 2022-08-23 10:45:47 +12:00
f92d207dd4 Bump nix from 0.23.0 to 0.25.0 (and pete, ctrlc) (#2270)
* Bump nix from 0.23.0 to 0.25.0 in /src/agent
* Bump ctrlc from 3.2 (3.2.1 lockfile) to 3.2.3
* Bump pete from 0.8 to 0.9
2022-08-22 21:12:30 +00:00
f442fc6da8 Pull in a couple of PR's into the release. (#2281) 2022-08-22 12:59:19 -07:00
dc3ab3d95a Clone the JsonSerilizerOption instead of modifying it (#2280) 2022-08-22 11:01:34 -07:00
d83723b8ae Properly compare job/task state enums (#2004) 2022-08-22 16:36:56 +12:00
80b6a3712a Release 5.11.0 (#2275) 2022-08-19 16:29:01 -07:00
e22164ae8d Increase the size of the output collected from the worker (#2166)
* [DEBUG] TEsting az_copy behavior
- increased the size of the buffer used to collect the onfuzz task output
- removed the deletion of the azcopy logs

* formatting

* build fix

* fix unit tests

* reverting the temp folder change

Co-authored-by: George Pollard <gpollard@microsoft.com>
2022-08-19 19:11:58 +00:00
6cb7e7e24a Make EntityConverter singleton (#2267)
* Make the EntityConverter a singleton

* Make the EntityConverter a singleton

* format

* fix tests
2022-08-19 18:57:19 +00:00
ad0756f47c Ignore info advisory (#2276) 2022-08-19 11:13:47 -07:00
ac54c576ae Provide a default for settings (#2269) 2022-08-18 15:23:47 -04:00
e74671bcc4 fix pool comparison in the scheduler (#2260)
* fix pool comparison in the scheduler

* format
2022-08-18 01:49:09 +00:00
f134c0f122 Enabling csharp webhook and proxy heartbeat functions (#2263)
* Enabling csharp webhook and proxy heartbeat trigger

* Adding deploy exemption.

* Fixing queue table.

* Adding function to bicep.

* Renaming function.
2022-08-17 16:29:47 -07:00
f5b647ef1b Fixing Scaleset State Check. (#2265) 2022-08-17 15:39:02 -07:00
24c4219949 Port auto scale scaleset shutdown bug fix to csharp (#2262)
* Checkpoint

* Merge main

* Implement the bug fix + some missing functionality in C#

* Test fix
2022-08-17 19:33:56 +00:00
fdd16df847 Autoscale Table Synces Current Scaleset Settings (#2255)
* Autoscale Table Syncs Current Scaleset Settings.

* Fixing formatting.

* Fixing lint.

* Remove white space.

* Adding default check.

* Formatting.

* Fix.

* Fixing import.

* Fixing ref.

* Trying regular save.

* using self.

* Trying to fix lint.

* Fixing args.

* Fixed.

* Adding function call.

* Reformat.

* Formatting.

* trying again.

* FIxing profile call.

* Fixing type.

* Fixing type.

* Fixing format.

* Fixing typing.

* Fixing.

* Fixing function call

* Getting rid of length check.

* Getting rid of length check.

* Ready for review.

* Formatting.

* Removing bad change.
2022-08-17 10:41:48 -07:00
d1bfaefd0d Implement scaleset function for C# (#2191)
Implements #2194
2022-08-17 15:00:57 +12:00
a3f1d59f70 Set autocrlf by default, update affected files (#2261) 2022-08-17 13:07:20 +12:00
2382ce5ca5 migrate webhooks (#2254)
* migrate webhooks

* webhook_logs and webhook_ping

* fix saving uri to db

* fix tests

* fix deploy.py
2022-08-16 12:20:16 -07:00
643e61e0fd fix deploy.py (#2258) 2022-08-16 10:51:18 -07:00
8738ef0044 timer workers fix up (#2257)
* timer workers fix up

* remove unused includes

* revert breaking changes

* update autoscale definition

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 20:20:46 -07:00
90d3ec987b Port TimerWorkers to C# (#2235)
* Port TimerWorkers to C#

* test logs

* ..

* Some VMSS extensions have settings as null

* fix for

Cannot set DoNotRunExtensionsOnOverprovisionedVMs to true on Virtual Machine Scale Set which does not have overprovision enabled.

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 16:54:48 -07:00
32659fe026 Add generic dotnet_crash_report task (#2250) 2022-08-15 12:56:45 -07:00
b4a3905495 Convert the remaining events to the C# (#2253)
Added a new attribute to associate  the enum to the event class
2022-08-15 12:05:04 -07:00
15d92cad52 Retry on "No connection could be made because target machine actively… (#2252)
* Retry on "No connection could be made because target machine actively refused it" when connecting debugger using create_and_connect command

* limit number of retries

Co-authored-by: stas <statis@microsoft.com>
2022-08-15 09:24:26 -07:00
ef0367cb7a Make log sinks a singleton (#2247)
* Make log sinks a singleton, continue passing new log tracer for every invocation

* Remove no longer used code
2022-08-15 14:42:24 +00:00
dcb3096d79 Bump to Rust 1.63 (#2243)
* Bump to Rust 1.63

* Fix clippy warnings

* Suppress clippy warning

* More clippy fixes

* Print cargo-license version

* Ignore unmaintained warning

* Pin cargo-license to 0.4.2, 0.5 breaks us

* Suppress in proxy build as well

* More Eqs

* More clippy fixes
2022-08-15 09:39:32 -04:00
023a31fee3 Release 5.10.0 (#2245)
* Release-5.10.0
Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
5.10.0
2022-08-12 13:32:05 -07:00
46f4aac805 Default must be greater than or equal to minimum (#2248) 2022-08-12 14:40:55 -04:00
dc43242e0c Detecting the use of OneFuzz by recommending a .onefuzz file (#2236)
* getting started

* PR fixes

* getting started

* PR fixes

Co-authored-by: Marc Greisen <mgreisen@microsoft.com>
2022-08-11 16:26:23 -07:00
660d943824 Adjust auto scale to scale down nodes on shutdown (#2232)
* Only scale down when scale set in shutdown state

* Bug fix + explaing the logic a bit better

* Fix some bugs

* linting and bug fixes

* lint

* Actually now

* I'm not writing sql

* last try

* It's working

* lint

* Small docs update
2022-08-11 18:26:39 +00:00
c798659d0e migrate tasks (#2233)
* migrate task

* cleanup

* NotSupported instead of NotImplemented

* address pr comments
fix function name

* fix default value

* rename base state

* add caching

* return the task when deleting

* build fix

* format
2022-08-10 18:56:07 -07:00
e3e001a172 Convert pool function to C# (#2178)
#2177
2022-08-11 09:29:13 +12:00