From 8dba29d34d47e81ce2ef3355f0cdd08624d4c8c7 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Mon, 29 Jan 2024 15:31:23 +0100 Subject: [PATCH 01/11] Setup basics for the mailer --- app/mailers/solid_errors/error_mailer.rb | 15 +++++++++++++++ app/models/solid_errors/occurrence.rb | 6 ++++++ lib/solid_errors.rb | 7 +++++++ 3 files changed, 28 insertions(+) create mode 100644 app/mailers/solid_errors/error_mailer.rb diff --git a/app/mailers/solid_errors/error_mailer.rb b/app/mailers/solid_errors/error_mailer.rb new file mode 100644 index 0000000..cd9b9ae --- /dev/null +++ b/app/mailers/solid_errors/error_mailer.rb @@ -0,0 +1,15 @@ +module SolidErrors + # adapted from: https://github.com/codergeek121/email_error_reporter/blob/main/lib/email_error_reporter/error_mailer.rb + class ErrorMailer < ActionMailer::Base + def error_occurred(occurrence) + @occurrence = occurrence + @error = occurrence.error + + mail( + subject: "#{@error.emoji} #{@error.exception_class}", + from: SolidErrors.from, + to: SolidErrors.to + ) + end + end +end diff --git a/app/models/solid_errors/occurrence.rb b/app/models/solid_errors/occurrence.rb index 89bc63c..45e8843 100644 --- a/app/models/solid_errors/occurrence.rb +++ b/app/models/solid_errors/occurrence.rb @@ -2,6 +2,8 @@ module SolidErrors class Occurrence < Record belongs_to :error, class_name: "SolidErrors::Error" + after_create_commit :send_email, if: -> { SolidErrors.send_emails? } + # The parsed exception backtrace. Lines in this backtrace that are from installed gems # have the base path for gem installs replaced by "[GEM_ROOT]", while those in the project # have "[PROJECT_ROOT]". @@ -17,5 +19,9 @@ def parsed_backtrace def parse_backtrace(backtrace) Backtrace.parse(backtrace) end + + def send_email + ErrorMailer.error_occurred(self).deliver_later + end end end diff --git a/lib/solid_errors.rb b/lib/solid_errors.rb index 453305b..24a78d6 100644 --- a/lib/solid_errors.rb +++ b/lib/solid_errors.rb @@ -22,5 +22,12 @@ def username def password @password ||= ENV["SOLIDERRORS_PASSWORD"] || @@password end + + def send_emails? + true + end + + def from = "solid_errors@noreply.com" + def to = "stephen.margheim@gmail.com" end end From 3cd978d1c4f9f2333acfb40c4ffc03762ad286e8 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Mon, 29 Jan 2024 15:32:39 +0100 Subject: [PATCH 02/11] Move the styles into a partial --- app/views/layouts/solid_errors/_style.html | 1082 ++++++++++++++++ .../layouts/solid_errors/application.html.erb | 1083 +---------------- 2 files changed, 1083 insertions(+), 1082 deletions(-) create mode 100644 app/views/layouts/solid_errors/_style.html diff --git a/app/views/layouts/solid_errors/_style.html b/app/views/layouts/solid_errors/_style.html new file mode 100644 index 0000000..d18790a --- /dev/null +++ b/app/views/layouts/solid_errors/_style.html @@ -0,0 +1,1082 @@ + diff --git a/app/views/layouts/solid_errors/application.html.erb b/app/views/layouts/solid_errors/application.html.erb index 3e1f5d3..50946d7 100644 --- a/app/views/layouts/solid_errors/application.html.erb +++ b/app/views/layouts/solid_errors/application.html.erb @@ -5,1088 +5,7 @@ <%= csrf_meta_tags %> <%= csp_meta_tag %> - + <%= render "layouts/solid_errors/style" %>
From 0ae2c6168d714c8128d7b74a700106bbcfc87430 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Mon, 29 Jan 2024 15:33:00 +0100 Subject: [PATCH 03/11] Rename the error partial to row for index --- app/views/solid_errors/errors/_error.html.erb | 125 ++++++++++++++---- app/views/solid_errors/errors/_row.html.erb | 31 +++++ app/views/solid_errors/errors/index.html.erb | 2 +- 3 files changed, 130 insertions(+), 28 deletions(-) create mode 100644 app/views/solid_errors/errors/_row.html.erb diff --git a/app/views/solid_errors/errors/_error.html.erb b/app/views/solid_errors/errors/_error.html.erb index d5911ed..d4e7572 100644 --- a/app/views/solid_errors/errors/_error.html.erb +++ b/app/views/solid_errors/errors/_error.html.erb @@ -1,31 +1,102 @@ - - -
+<%# locals: (error:, show_actions: true) -%> + +<%= tag.section id: dom_id(error), class: "space-y-6" do %> +
+ <%= tag.h1 class: "font-bold flex items-center text-2xl gap-2" do %> <%= error.emoji %> - <%= link_to error_path(error), class: "text-blue-400 underline inline-flex items-baseline gap-1" do %> - <%= error.exception_class %> - <% end %> + <%= error.exception_class %> from <%= error.source %> -
-
<%= error.message %>
- - - <%= error.occurrences.size %> - - - <% last_seen_at = error.occurrences.maximum(:created_at) %> - - <%= time_tag last_seen_at, time_ago_in_words(last_seen_at, scope: 'datetime.distance_in_words.short') %> - - - - <%= button_to error_path(error), method: :patch, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-transparent text-blue-500 border-blue-500 hover:ring-blue-200 hover:ring-8", params: { error: { resolved_at: Time.now } } do %> - - - - - Resolve, Error #<%= error.id %> <% end %> - - + + + #<%= error.id %> + +
+ +
<%= error.message %>
+ +
+
+
+ <%= SolidErrors::Error.human_attribute_name(:first_seen) %> +
+
+ <% first_seen_at = error.occurrences.minimum(:created_at) %> + + + <%= time_tag first_seen_at, "#{time_ago_in_words(first_seen_at)} ago" %> + +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:last_seen) %> +
+
+ <% last_seen_at = error.occurrences.maximum(:created_at) %> + + + <%= time_tag last_seen_at, "#{time_ago_in_words(last_seen_at)} ago" %> + +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:occurrences) %> +
+
+ <%= error.occurrences.size %> +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:exception_class) %> +
+
+ <%= error.exception_class %> +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:severity) %> +
+
+ <%= error.emoji %> + + <%= error.severity %> + +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:source) %> +
+
+ <%= error.source %> +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:project_root) %> +
+
+ <%= SolidErrors::BacktraceLine::RAILS_ROOT %> +
+
+
+
+ <%= SolidErrors::Error.human_attribute_name(:gem_root) %> +
+
+
    + <% Gem.path.each do |path| %> +
  • <%= path %>
  • + <% end %> +
+
+
+
+ + <%= render "solid_errors/errors/actions", error: error if show_actions %> +<% end %> diff --git a/app/views/solid_errors/errors/_row.html.erb b/app/views/solid_errors/errors/_row.html.erb new file mode 100644 index 0000000..d5911ed --- /dev/null +++ b/app/views/solid_errors/errors/_row.html.erb @@ -0,0 +1,31 @@ + + +
+ <%= error.emoji %> + <%= link_to error_path(error), class: "text-blue-400 underline inline-flex items-baseline gap-1" do %> + <%= error.exception_class %> + <% end %> + from + <%= error.source %> +
+
<%= error.message %>
+ + + <%= error.occurrences.size %> + + + <% last_seen_at = error.occurrences.maximum(:created_at) %> + + <%= time_tag last_seen_at, time_ago_in_words(last_seen_at, scope: 'datetime.distance_in_words.short') %> + + + + <%= button_to error_path(error), method: :patch, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-transparent text-blue-500 border-blue-500 hover:ring-blue-200 hover:ring-8", params: { error: { resolved_at: Time.now } } do %> + + + + + Resolve, Error #<%= error.id %> + <% end %> + + diff --git a/app/views/solid_errors/errors/index.html.erb b/app/views/solid_errors/errors/index.html.erb index d2fd614..7218aab 100644 --- a/app/views/solid_errors/errors/index.html.erb +++ b/app/views/solid_errors/errors/index.html.erb @@ -11,6 +11,6 @@ - <%= render partial: "solid_errors/errors/error", collection: @errors %> + <%= render partial: "solid_errors/errors/row", collection: @errors %> From 7da6ed1ccdac6661f3d16e5f92e1340387ab7084 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Mon, 29 Jan 2024 15:33:31 +0100 Subject: [PATCH 04/11] Move show section into error partial --- app/views/solid_errors/errors/show.html.erb | 103 +------------------- 1 file changed, 3 insertions(+), 100 deletions(-) diff --git a/app/views/solid_errors/errors/show.html.erb b/app/views/solid_errors/errors/show.html.erb index 89ff9b4..5bb0e2e 100644 --- a/app/views/solid_errors/errors/show.html.erb +++ b/app/views/solid_errors/errors/show.html.erb @@ -1,103 +1,6 @@ -<%= tag.section id: dom_id(@error), class: "space-y-6" do %> -
- <%= tag.h1 class: "font-bold flex items-center text-2xl gap-2" do %> - <%= @error.emoji %> - <%= @error.exception_class %> - from - <%= @error.source %> - <% end %> - - - #<%= @error.id %> - -
- -
<%= @error.message %>
- -
-
-
- <%= SolidErrors::Error.human_attribute_name(:first_seen) %> -
-
- <% first_seen_at = @error.occurrences.minimum(:created_at) %> - - - <%= time_tag first_seen_at, "#{time_ago_in_words(first_seen_at)} ago" %> - -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:last_seen) %> -
-
- <% last_seen_at = @error.occurrences.maximum(:created_at) %> - - - <%= time_tag last_seen_at, "#{time_ago_in_words(last_seen_at)} ago" %> - -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:occurrences) %> -
-
- <%= @error.occurrences.size %> -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:exception_class) %> -
-
- <%= @error.exception_class %> -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:severity) %> -
-
- <%= @error.emoji %> - - <%= @error.severity %> - -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:source) %> -
-
- <%= @error.source %> -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:project_root) %> -
-
- <%= SolidErrors::BacktraceLine::RAILS_ROOT %> -
-
-
-
- <%= SolidErrors::Error.human_attribute_name(:gem_root) %> -
-
-
    - <% Gem.path.each do |path| %> -
  • <%= path %>
  • - <% end %> -
-
-
-
- - <%= render "solid_errors/errors/actions", error: @error %> -<% end %> +<%= render "solid_errors/errors/error", + error: @error, + show_actions: true %>

From ede0f37266f80b3b8d2de4e467b55ee2d0897fdb Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Mon, 29 Jan 2024 15:33:48 +0100 Subject: [PATCH 05/11] Add html view for mailer --- .../error_mailer/error_occurred.html.erb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/views/solid_errors/error_mailer/error_occurred.html.erb diff --git a/app/views/solid_errors/error_mailer/error_occurred.html.erb b/app/views/solid_errors/error_mailer/error_occurred.html.erb new file mode 100644 index 0000000..43eef7f --- /dev/null +++ b/app/views/solid_errors/error_mailer/error_occurred.html.erb @@ -0,0 +1,18 @@ + + + Solid Errors | <%= @error.emoji %> <%= @error.exception_class %> + <%= render "layouts/solid_errors/style" %> + + + <%= render "solid_errors/errors/error", + error: @error, + show_actions: false %> + +
+
+ + <%= render "solid_errors/occurrences/collection", + occurrences: [@occurrence], + titled: true %> + + From 72e2c560f6fc680db9084a4aa1359d8f881c83df Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Wed, 31 Jan 2024 16:19:47 +0100 Subject: [PATCH 06/11] Update email template --- app/views/solid_errors/error_mailer/error_occurred.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/solid_errors/error_mailer/error_occurred.html.erb b/app/views/solid_errors/error_mailer/error_occurred.html.erb index 43eef7f..d3e2195 100644 --- a/app/views/solid_errors/error_mailer/error_occurred.html.erb +++ b/app/views/solid_errors/error_mailer/error_occurred.html.erb @@ -11,8 +11,7 @@

- <%= render "solid_errors/occurrences/collection", - occurrences: [@occurrence], - titled: true %> + <%= render "solid_errors/occurrences/occurrence", + occurrence: @occurrence %> From 3dcf6c5bba6371a0e31906cd88bd0a015f8628db Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Tue, 6 Feb 2024 10:23:43 +0100 Subject: [PATCH 07/11] Add ActionMailer to test dummy app --- test/dummy/app/mailers/application_mailer.rb | 2 ++ test/dummy/config/application.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 test/dummy/app/mailers/application_mailer.rb diff --git a/test/dummy/app/mailers/application_mailer.rb b/test/dummy/app/mailers/application_mailer.rb new file mode 100644 index 0000000..ead50cd --- /dev/null +++ b/test/dummy/app/mailers/application_mailer.rb @@ -0,0 +1,2 @@ +class ApplicationMailer < ActionMailer::Base +end diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb index bce93d1..92f585f 100644 --- a/test/dummy/config/application.rb +++ b/test/dummy/config/application.rb @@ -7,7 +7,7 @@ require "active_record/railtie" # require "active_storage/engine" require "action_controller/railtie" -# require "action_mailer/railtie" +require "action_mailer/railtie" # require "action_mailbox/engine" # require "action_text/engine" require "action_view/railtie" From 578b1a6de15933b11b39f31e996869357d9ed452 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Tue, 6 Feb 2024 10:24:57 +0100 Subject: [PATCH 08/11] Ignore test dummy app log files --- .gitignore | 1 + test/dummy/log/test.log | 2016 --------------------------------------- 2 files changed, 1 insertion(+), 2016 deletions(-) delete mode 100644 test/dummy/log/test.log diff --git a/.gitignore b/.gitignore index 7cf346d..927a7dc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /spec/reports/ /tmp/ .DS_Store +test/dummy/log/*.log diff --git a/test/dummy/log/test.log b/test/dummy/log/test.log deleted file mode 100644 index d09152d..0000000 --- a/test/dummy/log/test.log +++ /dev/null @@ -1,2016 +0,0 @@ -  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction -Started GET "/" for 127.0.0.1 at 2023-12-11 18:57:33 +0100 - -ActionController::RoutingError (No route matches [GET] "/"): - - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Started GET "/" for 127.0.0.1 at 2023-12-11 18:57:53 +0100 - -ActionController::RoutingError (No route matches [GET] "/"): - - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction -Started GET "/" for 127.0.0.1 at 2023-12-11 18:58:06 +0100 - -ActionController::RoutingError (No route matches [GET] "/"): - - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction -Started GET "/" for 127.0.0.1 at 2023-12-11 19:00:06 +0100 - -ActionController::RoutingError (No route matches [GET] "/"): - - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------- -RakeTaskFileTaskTest: test_task -------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------- -RakeTaskFileTaskTest: test_task -------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------- -RakeTaskFileTaskTest: test_task -------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------- -RakeTaskFileTaskTest: test_task -------------------------------- - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------- -RakeTaskFileTaskTest: test_task -------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------ -RakeTaskFileTaskTest: test_env_task ------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------ -RakeTaskFileTaskTest: test_env_task ------------------------------------ - TRANSACTION (0.2ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------ -RakeTaskFileTaskTest: test_env_task ------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.2ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.3ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------ -RakeTaskFileTaskTest: test_replicate_task_with_no_arguments ------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_env_task_when_configured_outputs_env_variables -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments_without_separator --------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------ -RakeTaskFileTaskTest: test_env_task_when_nothing_configured_warns ------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------------- -RakeTaskFileTaskTest: test_replicate_task_with_arguments --------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------- -TestCommands: test_foo ----------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------- -TestCommands: test_replicate_with_argument ------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------- -TestCommands: test_replicate_with_argument ------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction -  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.1ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - TRANSACTION (0.0ms) begin transaction --------------------------------------------------- -TestCommands: test_replicate_with_boolean_argument --------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------- -TestCommands: test_replicate_with_no_arguments ----------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_config_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------- -TestCommands: test_replicate_with_string_argument -------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_no_arguments ----------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments -------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_configured_outputs_env_variables ------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ----------------------------------------------------------------- -TestLitestreamTasks: test_env_task_when_nothing_configured_warns ----------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction -------------------------------------------------------------------------- -TestLitestreamTasks: test_replicate_task_with_arguments_without_separator -------------------------------------------------------------------------- - TRANSACTION (0.0ms) rollback transaction - TRANSACTION (0.0ms) begin transaction ------------------------------------------------------------------------------ -LitestreamGeneratorTest: test_should_generate_a_Litestream_configuration_file ------------------------------------------------------------------------------ - TRANSACTION (0.0ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC From 85db5d21ab949c3f09361475d98125b6007e7b84 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Tue, 6 Feb 2024 10:25:12 +0100 Subject: [PATCH 09/11] Fix StandardRB issues --- .standard.yml | 2 +- app/models/solid_errors/backtrace_line.rb | 2 +- lib/solid_errors.rb | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.standard.yml b/.standard.yml index 3a0787a..e9efa16 100644 --- a/.standard.yml +++ b/.standard.yml @@ -1,3 +1,3 @@ # For available configuration options, see: # https://github.com/testdouble/standard -ruby_version: 2.6 +ruby_version: 3.0 diff --git a/app/models/solid_errors/backtrace_line.rb b/app/models/solid_errors/backtrace_line.rb index 133d0b9..8ac75c5 100644 --- a/app/models/solid_errors/backtrace_line.rb +++ b/app/models/solid_errors/backtrace_line.rb @@ -2,7 +2,7 @@ module SolidErrors # adapted from: https://github.com/honeybadger-io/honeybadger-ruby/blob/master/lib/honeybadger/backtrace.rb class BacktraceLine # Backtrace line regexp (optionally allowing leading X: for windows support). - INPUT_FORMAT = %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in `([^']+)')?$}.freeze + INPUT_FORMAT = %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in `([^']+)')?$} STRING_EMPTY = "".freeze GEM_ROOT = "[GEM_ROOT]".freeze PROJECT_ROOT = "[PROJECT_ROOT]".freeze diff --git a/lib/solid_errors.rb b/lib/solid_errors.rb index 12b53a0..5e57bdb 100644 --- a/lib/solid_errors.rb +++ b/lib/solid_errors.rb @@ -28,6 +28,7 @@ def send_emails? end def from = "solid_errors@noreply.com" + def to = "stephen.margheim@gmail.com" end end From 1ce1cca861420a5f727dc3c1584889dec9f5829c Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Wed, 7 Feb 2024 13:26:01 +0100 Subject: [PATCH 10/11] Rename configuration options, make settable, and ensure we only send emails when configured --- app/mailers/solid_errors/error_mailer.rb | 4 ++-- app/models/solid_errors/occurrence.rb | 2 +- lib/solid_errors.rb | 13 ++++++++++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/mailers/solid_errors/error_mailer.rb b/app/mailers/solid_errors/error_mailer.rb index cd9b9ae..dc27747 100644 --- a/app/mailers/solid_errors/error_mailer.rb +++ b/app/mailers/solid_errors/error_mailer.rb @@ -7,8 +7,8 @@ def error_occurred(occurrence) mail( subject: "#{@error.emoji} #{@error.exception_class}", - from: SolidErrors.from, - to: SolidErrors.to + from: SolidErrors.email_from, + to: SolidErrors.email_to ) end end diff --git a/app/models/solid_errors/occurrence.rb b/app/models/solid_errors/occurrence.rb index 45e8843..2c815b5 100644 --- a/app/models/solid_errors/occurrence.rb +++ b/app/models/solid_errors/occurrence.rb @@ -2,7 +2,7 @@ module SolidErrors class Occurrence < Record belongs_to :error, class_name: "SolidErrors::Error" - after_create_commit :send_email, if: -> { SolidErrors.send_emails? } + after_create_commit :send_email, if: -> { SolidErrors.send_emails? && SolidErrors.email_to.present? } # The parsed exception backtrace. Lines in this backtrace that are from installed gems # have the base path for gem installs replaced by "[GEM_ROOT]", while those in the project diff --git a/lib/solid_errors.rb b/lib/solid_errors.rb index 5e57bdb..de5cb60 100644 --- a/lib/solid_errors.rb +++ b/lib/solid_errors.rb @@ -9,6 +9,9 @@ module SolidErrors mattr_accessor :connects_to mattr_writer :username mattr_writer :password + mattr_writer :send_emails + mattr_writer :email_from + mattr_writer :email_to class << self # use method instead of attr_accessor to ensure @@ -24,11 +27,15 @@ def password end def send_emails? - true + @send_emails ||= ENV["SOLIDERRORS_SEND_EMAILS"] || @@send_emails || true end - def from = "solid_errors@noreply.com" + def email_from + @email_from ||= ENV["SOLIDERRORS_EMAIL_FROM"] || @@email_from || "solid_errors@noreply.com" + end - def to = "stephen.margheim@gmail.com" + def email_to + @email_to ||= ENV["SOLIDERRORS_EMAIL_TO"] || @@email_to + end end end From 9efcb12b59c07d7d1330f7c07728c4c4a4016672 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Wed, 7 Feb 2024 13:34:22 +0100 Subject: [PATCH 11/11] Add to README --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8601b4..c036a84 100644 --- a/README.md +++ b/README.md @@ -66,11 +66,14 @@ There are intentionally few features; you can view and resolve errors. That’s ### Configuration -You can configure Solid Errors via the Rails configuration object, under the `solid_errors` key. Currently, only 3 configuration options are available: +You can configure Solid Errors via the Rails configuration object, under the `solid_errors` key. Currently, 6 configuration options are available: * `connects_to` - The database configuration to use for the Solid Errors database. See [Database Configuration](#database-configuration) for more information. * `username` - The username to use for HTTP authentication. See [Authentication](#authentication) for more information. * `password` - The password to use for HTTP authentication. See [Authentication](#authentication) for more information. +* `sends_email` - Whether or not to send emails when an error occurs. See [Email notifications](#email-notifications) for more information. +* `email_from` - The email address to send a notification from. See [Email notifications](#email-notifications) for more information. +* `email_to` - The email address(es) to send a notification to. See [Email notifications](#email-notifications) for more information. #### Database Configuration @@ -117,6 +120,29 @@ authenticate :user, -> (user) { user.admin? } do end ``` +#### Email notifications + +Solid Errors _can_ send email notifications whenever an error occurs, if your application has ActionMailer already properly setup to send emails. However, in order to activate this feature you must define the email address(es) to send the notifications to. Optionally, you can also define the email address to send the notifications from (useful if your email provider only allows emails to be sent from a predefined list of addresses) or simply turn off this feature altogether. + +There are two ways to configure email notifications. First, you can use environment variables: + +```ruby +ENV["SOLIDERRORS_SEND_EMAILS"] = true # defaults to true +ENV["SOLIDERRORS_EMAIL_FROM"] = "errors@myapp.com" # defaults to "solid_errors@noreply.com" +ENV["SOLIDERRORS_EMAIL_TO"] = "devs@myapp.com" # no default, must be set +``` + +Second, you can set the values via the configuration object: + +```ruby +# Set authentication credentials for Solid Errors +config.solid_errors.send_emails = true +config.solid_errors.email_from = "errors@myapp.com" +config.solid_errors.email_to = "devs@myapp.com" +``` + +If you have set `send_emails` to `true` and have set an `email_to` address, Solid Errors will send an email notification whenever an error occurs. If you have not set `send_emails` to `true` or have not set an `email_to` address, Solid Errors will not send any email notifications. + ### Examples There are only two screens in the dashboard.