From da9700c4b35d8fc16b2ffc0d5ce6a4830ac28534 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sun, 17 Dec 2023 02:54:33 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A5=20Remove=20vestigial=20temp=20?= =?UTF-8?q?directory=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/turbo_tests/runner.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb index dce9a6d..171203d 100644 --- a/lib/turbo_tests/runner.rb +++ b/lib/turbo_tests/runner.rb @@ -105,8 +105,6 @@ def run **@parallel_options, ) - setup_tmp_dir - subprocess_opts = { record_runtime: @record_runtime, } @@ -153,15 +151,6 @@ def handle_interrupt end end - def setup_tmp_dir - begin - FileUtils.rm_r("tmp/test-pipes") - rescue Errno::ENOENT - end - - FileUtils.mkdir_p("tmp/test-pipes/") - end - def start_regular_subprocess(tests, process_id, **opts) start_subprocess( {"TEST_ENV_NUMBER" => process_id.to_s}, From 81d05180377d0cc1bcf5532b830244775becf045 Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Tue, 4 Feb 2025 21:24:14 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=9A=A8=20Update=20lint=20lock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .rubocop_gradual.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.rubocop_gradual.lock b/.rubocop_gradual.lock index 4b2c047..cd33de9 100644 --- a/.rubocop_gradual.lock +++ b/.rubocop_gradual.lock @@ -25,14 +25,14 @@ "lib/turbo_tests/reporter.rb:1386902608": [ [7, 5, 400, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2092085575] ], - "lib/turbo_tests/runner.rb:2125673792": [ + "lib/turbo_tests/runner.rb:3577354185": [ [13, 5, 271, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 21989008], [20, 5, 1311, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 1925027850], - [241, 11, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], - [260, 47, 6, "Style/GlobalStdStream: Use `$stderr` instead of `STDERR`.", 3356712163], - [262, 21, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], - [271, 7, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], - [331, 9, 6, "Style/GlobalStdStream: Use `$stdout` instead of `STDOUT`.", 3356722952] + [230, 11, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], + [249, 47, 6, "Style/GlobalStdStream: Use `$stderr` instead of `STDERR`.", 3356712163], + [251, 21, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], + [260, 7, 10, "ThreadSafety/NewThread: Avoid starting new threads.", 3411682361], + [320, 9, 6, "Style/GlobalStdStream: Use `$stdout` instead of `STDOUT`.", 3356722952] ], "spec/cli_spec.rb:3990998076": [ [1, 1, 30, "RSpec/SpecFilePathFormat: Spec path should end with `turbo_tests/cli*_spec.rb`.", 965721356],