Commit Graph

73 Commits

Author SHA1 Message Date
e413aec03d Upgrade to tokio 1.5.0 (#800)
Upgrade to tokio 1.5.0
replaced tokio::sync::mpsc:: with [flume ](https://crates.io/crates/flume) because try_recv was removed
2021-04-14 10:07:28 +00:00
e21eafd135 clarify telemetry key names at the service level (#769) 2021-04-05 15:23:03 -04:00
dc9b6fa1b0 address telemetry log message locality (#736) 2021-03-26 18:45:36 -04:00
16d3f3cf10 show the full error on proxy loop failure (#702) 2021-03-22 19:55:28 +00:00
6b9ee20364 simplify config update notification (#683) 2021-03-18 20:26:30 -04:00
4b07fdc455 local_run refactoring (#508)
## Summary of the Pull Request

This is a refactoring of the local debugging.
- The input queue as been abstracted and can now be locally 
- The SyncDir can now sync a local directory
- Added the ability to monitor a local directory with a queue

## Reviewers Notes
The most import part of the PR are 
- The queue abstraction and implementations 
    - src/agent/storage-queue/src/azure_queue.rs
    - src/agent/storage-queue/src/local_queue.rs
    - src/agent/storage-queue/src/lib.rs
- Changes to support local files in 
    - src/agent/onefuzz/src/syncdir.rs
- Example of how those abstractions are used to link task together
    - src/agent/onefuzz-agent/src/local/libfuzzer_fuzz.rs
    - src/agent/onefuzz-agent/src/local/common.rs

## Validation Steps Performed

_How does someone test & validate?_
2021-03-17 19:32:45 +00:00
d4cedabdf8 update 3rd party rust dependencies (#624) 2021-03-02 11:41:30 -05:00
6a049db3a3 Renames application insights keys to be more clear (#587)
* renames `telemetry_key` to `microsoft_telemetry_key`
* renames `instrumentation_key` to `instance_telemetry_key`
* renames `can_share` to `can_share_with_microsoft`
* renames the `applicationinsights-rs` instances to `internal` and `microsoft` respective of the keys used during construction.

This clarifies the underlying use of Application Insights keys and uses struct tuple to ensure the keys are used correctly via rust's type checker.
2021-02-26 17:04:49 +00:00
e9b67952e3 update 3rd-party rust dependencies (#548) 2021-02-16 11:11:20 -05:00
5114332ea0 clarify proxy log messages (#520) 2021-02-08 17:39:26 -05:00
19655b50ae update rust prereqs (#517) 2021-02-08 12:17:25 -05:00
c5bb0f0588 Update Proxy heartbeat & logging (#502) 2021-02-04 15:38:17 -05:00
ce32981b1b address clippy issues in proxy-manager (#410) 2021-01-04 22:33:42 +00:00
e222b01003 update rust prereqs (#396) 2020-12-16 07:38:37 -05:00
69fc9f508b fix clippy issue (#367) 2020-12-04 15:04:29 -05:00
fc34725428 update rust prereqs (#357) 2020-12-01 17:22:32 -05:00
64bd389eb7 Declarative templates (#266) 2020-11-17 16:00:09 -05:00
2d5cda79b3 fix breaking change in cargo-audit (#242) 2020-11-02 11:18:35 -05:00
db8534109f Resilient connection (#153) 2020-10-28 10:51:18 -04:00
307b5ebd5f update prereq crates (#178) 2020-10-19 19:48:05 -04:00
d2ee7e5e7d make version.localchanges match API logic (#62) 2020-10-01 11:28:58 -04:00
24f43478dd set more detailed version information during builds (#58) 2020-09-30 18:54:25 -04:00
d3a0b292e6 initial public release 2020-09-18 12:21:04 -04:00