dependabot[bot]
e76de55cda
Bump @vercel/ncc in /src/Misc/expressionFunc/hashFiles ( #2754 )
...
Bumps [@vercel/ncc](https://github.com/vercel/ncc ) from 0.36.0 to 0.36.1.
- [Release notes](https://github.com/vercel/ncc/releases )
- [Commits](https://github.com/vercel/ncc/compare/0.36.0...0.36.1 )
---
updated-dependencies:
- dependency-name: "@vercel/ncc"
dependency-type: direct:development
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-10 09:39:21 -04:00
Tatyana Kostromskaya
9eb4b96713
Remove node12 ( #2717 )
...
* .
* fix hashes
* clean up node12 deprecation warning
* Remove node12 from the BuildInVersions list
2023-08-10 15:16:30 +02:00
Thomas Boop
719348e0bf
Rename dependabot.yml to .github/dependabot.yml ( #2744 )
2023-08-10 13:07:58 +00:00
Stefan Ruvceski
9fe5aa2a9a
Bump dotnet sdk to latest version ( #2733 )
...
* Bump dotnet sdk to latest version.
* version fix
* .
* .
* .
* .
* .
* .
* .
* .
2023-08-10 08:58:47 -04:00
Ryan van Zeben
765a5c3efc
Add in dependabot security scanning/updates ( #2743 )
2023-08-10 14:54:21 +02:00
Tatyana Kostromskaya
e752edf7b5
Update node16 to latest version ( #2736 )
...
* Update node16 to latest
* add available version for win-arm64
* fix externals hash
2023-08-09 12:50:43 +02:00
Stefan Ruvceski
e350f35217
Runner stale bot ( #2729 )
...
* runner stale bot test
* Update stale-bot.yml
2023-08-08 10:44:56 -04: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
Rob Herley
f6e9809844
Expose results service endpoint as environment variable ( #2726 )
...
* Add results service url endpoint to environment
* linter: fix file encoding
2023-07-31 22:18:14 -04:00
Tingluo Huang
5b2e4049bc
Return early on invalid_client OAuth exception. ( #2721 )
2023-07-27 21:30:12 -04:00
Ferenc Hammerl
7cb61925b0
Pass timeout in executioncontext instead of stepsrunner ( #2714 )
...
* Pass timeout in executioncontext instead of stepsrunner
* Fix linting
2023-07-25 14:12:00 +02:00
Dee Kryvenko
a61d3f37dc
Enable linux/arm64 docker build and publish ( #2601 )
...
* Enable linux/arm64 docker build and publish
* Fix Dockerfile for multi-arch
* Fix Dockerfile - missing args
* Fix Dockerfile - Docker likes x86_64
* Remove unused `RUNNER_ARCH`
---------
Signed-off-by: Dee Kryvenko <dm.kryvenko@gmail.com >
2023-07-24 08:59:38 -04:00
JoannaaKL
e30b9d6d12
Update runnerversion ( #2711 )
...
* Update runnerversion
* Update releaseNote.md
2023-07-24 13:00:47 +02:00
JoannaaKL
496904c0b7
Fix feature flag location ( #2703 )
2023-07-19 12:19:42 +02:00
Tingluo Huang
b91ad56f92
Check connectivity for endpoints requested by service. ( #2691 )
2023-07-17 08:36:20 -04:00
Ferenc Hammerl
f25c9dfba3
Fixes if:cancelled() composite steps not running and normal composite steps not interrupting when the job is cancelled. ( #2638 )
...
* Set composite step's action_status when job is cancelled
Also make composite step inherit timeout from parent
* Fix eof line
2023-07-10 13:32:30 +02:00
Tatyana Kostromskaya
7d432fb24c
Prepare release 2.306.0 ( #2682 )
2023-07-07 13:41:46 +02:00
Tatyana Kostromskaya
e8ee6f7b1b
Add warning to notify about forcing node16 ( #2678 )
...
* add warning
* fix tests
* aggregate to one warning
* fix linter
* fix comm
2023-07-07 11:35:54 +02:00
Cameron Booth
d4bbbb8419
Only add StepResult for Tasks, not the Job itself ( #2620 )
2023-06-30 04:17:46 -07:00
John Wesley Walker III
4ffd081aea
Fixed a bug where a misplaced = character could bypass heredoc-style processing. ( #2627 )
...
* Fixed a bug where a misplaced `=` character could bypass heredoc-style processing.
Fixes https://github.com/github/c2c-actions/issues/6910
GitHub Docs for context: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
* Consolidate near-identical FileCommand-related unit test classes. (#2672 )
2023-06-29 12:52:05 +02:00
Nikola Jokic
c05e6748c3
Extend github context with host-workspace ( #2517 )
...
* hash files translation works with host context translated
* Change file encoding to utf8 for PipelineTemplateConstants.cs
* infer the feature flag on hash files based on the existence of the context
* encoded utf8 with bom
* rename host-workspace to host-work-directory and feature flag the new context var
* Added comment to explain ignore host work directory resolution
Co-authored-by: fhammerl <fhammerl@github.com >
* trigger pipeline
* Move to the github host-workspace context instead of the runner host-work-directory
* remove unused imports
---------
Co-authored-by: fhammerl <fhammerl@github.com >
2023-06-29 12:12:23 +02:00
Nikola Jokic
a2b7856c9c
Fix error message reported on non-local action setup ( #2668 )
...
* Fix error message reported on non-local action setup
* Remove tostring left from string builder
2023-06-29 11:33:46 +02:00
Ferenc Hammerl
5f1c6f4708
Add 'http://' to http(s)_proxy if there is no protocol ( #2663 )
...
* Add 'http://' to http(s)_proxy if there is no protocol
Before this commit, these URIs used to be ignored (nullproxy).
The new behaviour aligns with go style http(s)_proxy
* Update src/Runner.Sdk/RunnerWebProxy.cs
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com >
* Assert that original protocol is preserved
* Use startsWith for testing protocol
* Only modify proxy if useful
---------
Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com >
2023-06-20 15:53:44 +02:00
Nikola Jokic
8415f13bab
removed throw and else on container action handler ( #1873 )
...
* removed throw and else on container action handler
* repaired merge resolution error
2023-06-16 21:53:52 -04:00
Yashwanth Anantharaju
471e3ae2d9
Reduce token service and unnecessary calls - send token to redirects ( #2660 )
...
* handle redirects with token
* scope to broker
* lint
2023-06-16 13:23:13 +00: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
JoannaaKL
282ba4cfc8
Just dont log these errors ( #2656 )
...
* Dont log template errors
2023-06-13 21:10:53 -04:00
Yashwanth Anantharaju
b737a5ac5c
remove job completion ( #2659 )
2023-06-13 20:50:36 +00:00
Tingluo Huang
20721bc950
Prepare runner release 2.305.0. ( #2657 )
...
* Prepare runner release 2.305.0.
* Update releaseNote.md
Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com >
---------
Co-authored-by: John Sudol <24583161+johnsudol@users.noreply.github.com >
2023-06-13 12:57:37 -04:00
Bassem Dghaidi
fde86b0666
Switch from Debian to Ubuntu 22.04 ( #2651 )
2023-06-13 10:12:22 -04:00
JoannaaKL
efffbaeabc
Add utf8 with bom ( #2641 )
...
* Change default file encoding
2023-06-02 21:47:59 +02:00
Nikola Jokic
3a1376f90e
Fix uses: docker://image:tag steps when container hook is used ( #2626 )
...
* Fix `uses: docker://image:tag` steps when container hook is used
* Update src/Runner.Worker/ActionManager.cs
---------
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2023-06-02 11:01:59 +00:00
JoannaaKL
50b3edff3c
Revert "Dont log error twice in ExecutionContext on template error ( #2634 )"
...
This reverts commit 48cbee08f9 .
2023-06-01 06:46:10 +00:00
Nikola Jokic
58f7a379a1
Filter out empty arguments in container hooks ( #2633 )
2023-05-31 16:58:48 +02:00
Luke Tomlinson
e13627df81
Move Using V2 Flow log to Trace ( #2635 )
2023-05-31 10:40:34 -04:00
JoannaaKL
48cbee08f9
Dont log error twice in ExecutionContext on template error ( #2634 )
2023-05-31 16:33:36 +02:00
Philip Harrison
21b49c542c
Set runner environment in context and env ( #2518 )
...
* Set runner environment in runner context and env
Extract runner_environment from the global context and expose in the
`github.runner` context and env as `RUNNER_ENVIRONMENT`.
Signed-off-by: Philip Harrison <philip@mailharrison.com >
* encoding.
---------
Signed-off-by: Philip Harrison <philip@mailharrison.com >
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-05-26 13:08:41 -04:00
Bassem Dghaidi
8db8bbe13a
Update container-hooks to 0.3.2 ( #2618 )
2023-05-23 09:35:30 -04:00
Vallie Joseph
49b04976f4
Adding Consistency to 'Failed To Resolve Action Download Info' Infrastructure Error Flagging ( #2488 )
...
* adding extra catch for download failure in composite actions
* Adding infra error
* Adding error handling centralizing
* updating try catch bubbling
* cleaning up commits
* cleaning up commits
* cleaning up commits
* updating bubbler
* cleaning up test files
* Fixing linting errors
* updating exception bubble
* reverting composite
* updating catch to not exclude other exceptions
* removing uneeded import
* Update src/Runner.Worker/ActionRunner.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Update src/Runner.Worker/ActionManager.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Update src/Runner.Worker/ActionManager.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Update src/Runner.Worker/ActionManager.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Update src/Runner.Worker/ActionManager.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* moving download out of for loop; reverting exception wrap
* Update src/Runner.Worker/ActionManager.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Adding blank lines back
* Adding blank lines back
* removing uneeded catch for download fail
* adding var back for consistency
* formatting clean
---------
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-05-11 14:57:24 -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
John Wesley Walker III
f8a28c3c4e
[1742] Ensure multiple composite annoations are correctly written. ( #2311 )
...
* [1742] Ensure multiple composite annoations are correctly written.
This implementation uses a collector pattern to allow embedded ExecutionContexts to stash Issue objects for later processing by a non-embedded ancestor ExecutionContext.
Also:
- Provide explicit constructor implementations for ExecutionContext
- Leverage explicit constructors to solidify immutability of several ExecutionContext class members.
- Fixed erroneous call to ExecutionContext.Complete in CompositeActionHandler.cs
- Use a consistent timestamp for FinishTime in ExecutionContext::Complete
* Ensure collected issues are processed only by a non-embedded ExecutionContext.
This was already implicit. Now, just making it explicit.
* Provide a clear mechanism that allows callers to opt-in/opt-out of ExecutionContext::AddIssue's logging behavior.
* Addressed deserialization inconsistencies in TimelineRecord.cs
* Added TimelineRecord unit tests.
* Refined unit tests related to TimelineRecord::Variables case-insensitivity
* Add a unit test that verifies ExecutionContextLogOptions::LogMessageOverride has the desired effect.
* Responded to PR feedback.
* Don't allow embedded ExecutionContexts to add Issues to a TimelineRecord
2023-05-10 16:24:02 +02:00
Tingluo Huang
1bc14f0607
Trace WebSocket exception into verbose level to reduce noise in diag log. ( #2591 )
2023-05-08 18:54:34 -04:00
John Hernley
22d1938ac4
Resolve Actions Directly From Launch for Run Service Jobs ( #2529 )
...
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-05-03 16:04:21 -04:00
John Wesley Walker III
229b9b8ecc
Remove Temporary Serialization Shim ( #2549 )
2023-05-03 15:29:19 +02: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
Yang Cao
8d74a9ead6
Fix null guard bug ( #2576 )
2023-04-28 20:56:10 +00:00
Per Lundberg
77b8586a03
contribute.md: Fix link to style guidelines ( #2560 )
2023-04-27 16:19:56 -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
Tingluo Huang
58f3ff55aa
Prepare 2.304.0 runner release. ( #2569 )
2023-04-26 15:48:13 -04:00