David Omid
927b26a364
Process snapshot tokens ( #3135 )
...
* Added Snapshot TemplateToken to AgentJobRequestMessage
* WIP for processing the snapshot token
* Changed snapshot post job step condition to Success, added comments
* Refactored snapshot post-job step
* Added evaluation of snapshot token to retrieve image name
* Added snapshot to workflow schema
* Fixed linter error
* Migrated snapshot logic to new SnapshotOperationProvider
* Fixed linter error
* Fixed linter errors
* Fixed linter error
* Fixed linter errors
* Updated L0 tests
* Fixed linter errors
* Added new JobExtensionL0 tests for snapshot post-job step
* Added JobExtensionL0 test case for snapshot mappings
* Added SnapshotOperationProviderL0 tests
* Enabled nullable types for SnapshotOperationProvider and its tests
* Added more assertions to SnapshotOperationProviderL0 tests
* Fixed linter errors
* Made sure TestHostContexts are disposed of properlyh in SnapshotOperationProviderL0 tests
* Resolved PR comments
* Fixed formatting
* Removed redundant reference
* Addressed PR comments
2024-02-14 21:34:52 -05:00
Tingluo Huang
72559572f6
Pass RunnerOS during job acquire. ( #3140 )
2024-02-09 15:19:52 -05:00
Luke Tomlinson
31318d81ba
Prepare v2.313.0 Release ( #3137 )
...
* update runnerversion
* update releaseNote.md
* update-releasenote
2024-02-07 15:15:32 -05:00
Luke Tomlinson
651ea42e00
Handle ForceTokenRefresh message ( #3133 )
...
* Handle ForceTokenRefresh message
* move to constants
* format
2024-02-07 11:24:40 -05:00
Josh Soref
fa874cf314
Improve error report for invalid action.yml ( #3106 )
2024-02-06 13:40:53 +00:00
Bethany
bf0e76631b
Specify Content-Type for BlockBlob upload ( #3119 )
...
* add content-type to block blob upload
* Add content-type for sdk path
* fix spacing
* merge headers and only when file extension is .txt
* add conditions
* tweak conditions and path matching
* pass in headers
* add content-type for appendblob
2024-02-05 18:19:02 +00:00
Yang Cao
1d82031a2c
Make sure to drain the upload queue before clean temp directory ( #3125 )
2024-02-02 20:37:45 +00:00
Jonathan Tamsut
11680fc78f
Upload the diagnostic logs to the Results Service ( #3114 )
...
* upload diagnostic logs to results
* correct casing
* correct typo
* update contract
* update constant and define private method
* fix access
* fix reference to logs url
* update
* use results func
* fix method naming
* rename to match rpc
* change API contract
* fix lint issue
* refactor
* remove unused method
* create new log type
2024-02-01 14:27:06 -05:00
Tingluo Huang
b647b890c5
Only keep 1 older version runner around after self-upgrade. ( #3122 )
2024-01-31 10:03:49 -05:00
Luke Tomlinson
894c50073a
Implement Broker Redirects for Session and Messages ( #3103 )
2024-01-30 20:57:49 +00:00
Tingluo Huang
5268d74ade
Fix JobDispatcher crash during force cancellation. ( #3118 )
2024-01-30 15:24:22 -05:00
Tingluo Huang
7414e08fbd
Add user-agent to all http clients using RawClientHttpRequestSettings. ( #3115 )
2024-01-30 13:39:41 -05:00
Tingluo Huang
b7ab810945
Make embedded timeline record has same order as its parent record. ( #3113 )
2024-01-26 17:26:30 -05:00
Tingluo Huang
9f19310b5b
Prepare 2.312.0 runner release. ( #3092 )
2024-01-16 16:44:30 -05:00
Thomas Boop
84220a21d1
Patch Curl to no longer use -k ( #3091 )
...
* Update externals.sh
* Update externals.sh
2024-01-16 13:39:21 -05:00
github-actions[bot]
8e0cd36cd8
Upgrade dotnet sdk to v6.0.418 ( #3085 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-10 12:48:40 -05:00
Tingluo Huang
f1f18f67e1
Remove runner trimmed packages. ( #3074 )
2024-01-10 12:32:17 -05:00
Yang Cao
ac39c4bd0a
Use Azure SDK to upload files to Azure Blob ( #3033 )
2024-01-08 16:13:06 -05:00
Tingluo Huang
3f3d9b0d99
Extend --check to check Results-Receiver service. ( #3078 )
...
* Extend --check to check Results-Receiver service.
* Update docs/checks/actions.md
Co-authored-by: Christopher Schleiden <cschleiden@live.de >
---------
Co-authored-by: Christopher Schleiden <cschleiden@live.de >
2024-01-05 14:18:59 -05:00
Tingluo Huang
ac89b31d2f
Add codeload to the list of service we check during '--check'. ( #3011 )
2023-11-28 13:39:39 -05:00
Tingluo Huang
65201ff6be
Include whether http proxy configured as part of UserAgent. ( #3009 )
2023-11-28 09:43:13 -05:00
Tingluo Huang
661b261959
Mark job as failed on worker crash. ( #3006 )
2023-11-27 16:43:36 -05:00
Luke Tomlinson
a9bae6f37a
Handle SelfUpdate Flow when Package is provided in Message ( #2926 )
2023-11-13 16:44:07 -05:00
Luke Tomlinson
3136ce3a71
Send disableUpdate as query parameter ( #2970 )
2023-11-13 10:19:42 -05:00
Tingluo Huang
121f080023
Prepare 2.311.0 runner release. ( #2946 )
2023-10-23 14:02:38 -04:00
Rob Bos
85fdc9b6b4
Fix typo ( #2695 )
2023-10-23 16:51:04 +00:00
github-actions[bot]
7f58504d35
Update dotnet sdk to latest version @6.0.415 ( #2929 )
...
* Upgrade dotnet sdk to v6.0.415
* Update computed hashes
* .
* .
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-10-23 12:43:21 -04:00
Tingluo Huang
611a7a85ed
Bump node.js to 20.8.1 ( #2945 )
2023-10-23 12:27:15 -04:00
Tingluo Huang
fb4bdbe440
Provide detail info on untar failures. ( #2939 )
2023-10-19 08:15:06 -04:00
Yang Cao
940f4f4f40
Use block blob instead of append blob ( #2924 )
...
* Use block blob when possible
* Refactor the code so job log also uses block blob if possible
2023-10-13 10:30:03 -04:00
Tingluo Huang
4647f3ed5f
Fix telemetry publish from JobServerQueue. ( #2919 )
2023-10-10 14:24:25 -04:00
Tatyana Kostromskaya
544f19042b
Revert "Update default version to node20 ( #2844 )" ( #2918 )
...
This reverts commit acdc6edf7c .
2023-10-10 15:10:43 +00:00
Luke Tomlinson
c851794f04
send os and arch as query params ( #2913 )
2023-10-09 15:14:00 -04:00
Tingluo Huang
22d4310b69
trim whitespace. ( #2915 )
2023-10-09 12:34:40 -04:00
Tingluo Huang
65361e0fb5
Prepare runner release 2.310.0 ( #2914 )
2023-10-09 13:21:38 +00:00
Rob Bos
36e37a0885
Fix typo ( #2670 )
...
* Fix typo
* Remove double space
2023-10-09 05:07:26 +00:00
Cory Calahan
a5cd1ba4b6
Fixed Attempt typo ( #2849 )
2023-10-09 04:57:21 +00:00
Tatyana Kostromskaya
acdc6edf7c
Update default version to node20 ( #2844 )
2023-10-09 04:48:16 +00:00
Jun Sugimoto
b4a7bb0969
Retries to lock Services database on Windows ( #2880 )
2023-10-09 04:20:04 +00:00
Yang Cao
f47384b46e
Use RawHttpMessageHandler and VssHttpRetryMessageHandler in ResultsHttpClient ( #2908 )
...
* Set an explicit timeout on ResultsHttpClient
* Hook up retry and standard message handler to ResultsHttpClient
* Remove explicit timeout constructor
* Fix linter
2023-10-06 12:01:28 -04:00
Tingluo Huang
f672567acc
Collect telemetry to measure upload speed for different backend. ( #2912 )
2023-10-05 23:29:38 -04:00
Tingluo Huang
f57ecd8e3c
Allow use action archive cache to speed up workflow jobs. ( #2857 )
...
* Refactor ActionManager.cs
* changes.
* cleanup
2023-09-28 23:43:55 +00:00
Yang Cao
463ec00cb4
Do not give up if Results is powering logs ( #2893 )
...
* Do not give us if Results is powering logs
* No need to send telemtry to Actions server in Results only case
2023-09-28 20:05:11 +00:00
Thomas Boop
c3a7188eca
Update message when runners are deleted ( #2896 )
...
* Update MessageListener.cs
* Update MessageListener.cs
2023-09-28 15:46:11 -04:00
Tingluo Huang
2a6f271afa
Throw TimeoutException instead of OperationCanceledException on the final retry in DownloadRepositoryAction. ( #2895 )
2023-09-28 13:35:55 +00:00
Tatyana Kostromskaya
462337a4a4
Add warning about node16 deprecation ( #2887 )
...
* add warning about node16 deprecation
* fix comments
2023-09-28 08:52:35 +00:00
Tingluo Huang
8f1c070506
Use Directory.EnumerateFiles instead of Directory.GetFiles in WhichUtil. ( #2882 )
...
* Use Directory.EnumerateFiles instead of Directory.GetFiles in WhichUtil.
* .
* .
2023-09-26 20:49:15 +00:00
Tingluo Huang
67d70803a9
Fix ArgumentOutOfRangeException in PowerShellPostAmpersandEscape. ( #2875 )
2023-09-21 16:34:28 +00:00
Nikola Jokic
8c917b4ad3
Bump directly dotnet vulnerable packages ( #2870 )
...
* Bump directly dotnet vulnerable packages
* Use just single file sdk upgrade for vulnerable dependencies
* Save with UTF8-BOM
* Trim down sdk to only Sdk.csproj upgrade
---------
Co-authored-by: Ferenc Hammerl <fhammerl@github.com >
2023-09-21 09:50:00 +02:00
Ryan van Zeben
440238adc4
Bump node 16 to v16.20.2 ( #2872 )
...
* Bump node 16 to v16.20.2
* Update unofficial build for win-arm to node 16.20.0
They dont have a build for anything newer yet
* linux-arm hash
* linux-arm64 hash update
* linux64 hash update
* osx64 hash update
* osxarm hash update
* win64 hash update
2023-09-20 15:02:05 -04:00