Luke Tomlinson
3449d5fa52
Broker fixes for token refreshes and AccessDeniedException ( #3161 )
2024-02-21 16:43:01 -05:00
Yashwanth Anantharaju
b19b9462d8
handle broker run service exception handling ( #3163 )
...
* handle run service exception handling
* force fail always
* format
* format
2024-02-21 17:04:13 +00:00
Luke Tomlinson
651ea42e00
Handle ForceTokenRefresh message ( #3133 )
...
* Handle ForceTokenRefresh message
* move to constants
* format
2024-02-07 11:24:40 -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
f1f18f67e1
Remove runner trimmed packages. ( #3074 )
2024-01-10 12:32:17 -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
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
Rob Bos
85fdc9b6b4
Fix typo ( #2695 )
2023-10-23 16:51:04 +00:00
Luke Tomlinson
c851794f04
send os and arch as query params ( #2913 )
2023-10-09 15:14:00 -04: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
Jun Sugimoto
b4a7bb0969
Retries to lock Services database on Windows ( #2880 )
2023-10-09 04:20:04 +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
5b2bc388ca
GetAgents from all runner groups durning config. ( #2865 )
...
* GetAgents from all runner groups
* Update ConfigurationManagerL0.cs
2023-09-20 11:05:44 -04:00
Tingluo Huang
d2f0a46865
Throw NonRetryableException on GetNextMessage from broker as needed. ( #2828 )
2023-09-05 17:21:54 -04:00
Luke Tomlinson
0e9e9f1e8d
Support replacing runners in v2 flow ( #2791 )
...
* Support replacing runners in v2 flow
* Use correct endpoint for listing runners
* fix test
* really fix test
* lint
2023-08-31 09:55:05 -04:00
dependabot[bot]
be65955a9d
Bump Newtonsoft.Json from 13.0.1 to 13.0.3 in /src ( #2797 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 13.0.1 to 13.0.3.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.3 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 13:10:40 -04:00
Tingluo Huang
4f40f29cff
Trace x-github-request-id when download action tarball. ( #2755 )
2023-08-15 19:00:54 -04:00
Nikola Jokic
6680a3b142
Switch from InnerException to ErrorCode on disableupdate check ( #2718 )
2023-08-10 16:27:42 +02:00
Tingluo Huang
8fa970a1e6
Change RunnerId/AgentId from int32 to uint64 ( #2661 )
...
* RunnerId int -> ulong
2023-08-04 16:22:52 -04:00
Tingluo Huang
8eefd849c1
Update HTTPEventSourceListener to trace the right events. ( #2727 )
2023-08-02 08:39:56 -04:00
Tingluo Huang
5b2e4049bc
Return early on invalid_client OAuth exception. ( #2721 )
2023-07-27 21:30:12 -04:00
Dylan Geraci
1096b975e4
Send environment url to Run Service ( #2650 )
...
* add EnvironmentUrl to CompleteJobRequest
* Send environment url to Run Service
* Fix whitespace
* Fix test
* Fix more whitespace
* Apply suggestions from code review
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Apply suggestion from code review
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
---------
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-06-16 04:13:08 +00:00
Yashwanth Anantharaju
b737a5ac5c
remove job completion ( #2659 )
2023-06-13 20:50:36 +00:00
JoannaaKL
efffbaeabc
Add utf8 with bom ( #2641 )
...
* Change default file encoding
2023-06-02 21:47:59 +02:00
Luke Tomlinson
e13627df81
Move Using V2 Flow log to Trace ( #2635 )
2023-05-31 10:40:34 -04:00
Gabriel
eeb0cf6f1e
Add --no-default-labels config option to self-hosted runners ( #2443 )
...
* Add --no-default-labels option
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
* Add tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
* .
---------
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-05-11 12:37:56 -04:00
Yashwanth Anantharaju
896152d78e
send annotations to run-service ( #2574 )
...
* send annotations to run-service
* skip message deletion
* actually don't skip deletion
* enum as numbers
* fix enum
* linting
* remove unncessary file
* feedback
2023-05-01 08:33:03 -04:00
Yashwanth Anantharaju
c8c47d4f27
handle conflict errors from run service ( #2570 )
...
* handle conflict errors from run service
* nit: formatting
* fix formatting
2023-04-27 13:59:12 -04:00
Luke Tomlinson
9f778b814d
Register Runners against V2 servers ( #2505 )
...
* Parse runners and send publicKey
* wip
* Fix conflicts
* Cleanup
* Cleanup
* fix test
* fix test
* Add trace for broker message listener
* Feedback
* refactor
* remove dead code
* Remove old comment
2023-03-28 15:45:00 -04:00
Luke Tomlinson
92258f9ea1
Listen directly to Broker for messages ( #2500 )
2023-03-24 14:00:34 -04:00
Matisse Hack
0e7ca9aedb
Fix JIT configurations on Windows ( #2497 )
...
* Fix JIT configurations on Windows
* Update src/Runner.Listener/Runner.cs
2023-03-21 15:04:50 -04:00
Tatyana Kostromskaya
bb7b1e8259
Update runner to handle Dotcom/runner-admin based registration flow ( #2487 )
2023-03-21 16:05:32 +01:00
Nikola Jokic
fd96246580
Exit on deprication error ( #2299 )
...
* terminate the runner on deprication message
* added TaskAgentVersion exception to catch deprication
* AccessDenied exception with inner exception InvalidTaskAgent
* Access denied exception in program and in message listener
* Fixed copy
* remove trace message from message listener
2023-03-07 14:09:10 +01:00
Yashwanth Anantharaju
e8975514fd
call run service renewjob ( #2461 )
...
* call run service renewjob
* format
* formatting
* make it private and expose internals
* lint
* fix exception class
* lint
* fix test as well
2023-02-27 16:50:28 +00:00
John Sudol
d6f8633efc
new option to remove local config files ( #2367 )
2023-01-18 11:28:43 -05:00
Tingluo Huang
0dd7a113f1
Log GitHub RequestId for better traceability. ( #2332 )
2022-12-19 19:46:29 +00:00
Ava Stancu
369a4eccad
Made worker logs available to stdout ( #2307 )
...
* Made worker logs available to stdout
* Log Worker Standard out line by line
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2022-12-08 16:23:52 -05:00
Tatyana Kostromskaya
1632e4a343
Support runner upgrade messages ( #2231 )
...
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2022-11-21 16:17:47 +01:00
Cory Miller
b18bda773f
Add generateServiceConfig option for configure command ( #2226 )
...
For runners that are already configured but need to add systemd services after the fact, a new command option is added to generate the file only. Once generated, ./svc.sh install and other commands will be available.
This also adds support for falling back to the tenant name in the Actions URL in cases when the GitHub URL is not provided, such as for our hosted larger runners.
2022-10-26 08:48:23 -04:00
Cory Miller
b87b4aac5c
Fix IDE0090 ( #2211 )
2022-10-18 10:54:08 -04:00
Yashwanth Anantharaju
252f4de577
changes to support specific run service URL ( #2158 )
...
* changes to support run service url
* feedback
2022-10-06 10:28:32 -04:00
Robin Neatherway
b6a46f2114
Correct grammar in archive extraction error message ( #2184 )
2022-10-06 08:20:30 -04:00
Thomas Boop
ae2f4a6f27
POC: Windows arm64 runner build ( #2022 )
...
Prerelease for windows-arm64 runner build
2022-09-26 09:20:43 -04:00
JoannaaKL
3a1c89715c
Remove unused imports ( #2126 )
2022-09-15 15:55:45 +02:00