Module: ChronoForge

Defined in:
lib/chrono_forge/workflow.rb,
lib/chrono_forge.rb,
lib/chrono_forge/version.rb,
lib/chrono_forge/executor.rb,
lib/chrono_forge/error_log.rb,
lib/chrono_forge/execution_log.rb,
lib/chrono_forge/executor/context.rb,
lib/chrono_forge/executor/methods.rb,
lib/chrono_forge/executor/methods/wait.rb,
lib/chrono_forge/executor/lock_strategy.rb,
lib/chrono_forge/executor/retry_strategy.rb,
lib/chrono_forge/executor/execution_tracker.rb,
lib/chrono_forge/executor/methods/wait_until.rb,
lib/chrono_forge/executor/methods/continue_if.rb,
lib/chrono_forge/executor/methods/durably_repeat.rb,
lib/chrono_forge/executor/methods/durably_execute.rb,
lib/chrono_forge/executor/methods/workflow_states.rb,
lib/generators/chrono_forge/install/install_generator.rb

Overview

Schema Information

Table name: chrono_forge_execution_logs

id               :integer          not null, primary key
attempts         :integer          default(0), not null
completed_at     :datetime
error_class      :string
error_message    :text
last_executed_at :datetime
metadata         :json
started_at       :datetime
state            :integer          default("pending"), not null
step_name        :string           not null
created_at       :datetime         not null
updated_at       :datetime         not null
workflow_id      :integer          not null

Indexes

idx_on_workflow_id_step_name_11bea8586e               (workflow_id,step_name) UNIQUE
index_chrono_forge_execution_logs_on_workflow_id  (workflow_id)

Foreign Keys

workflow_id  (workflow_id => chrono_forge_workflows.id)

Defined Under Namespace

Modules: Executor Classes: Error, ErrorLog, ExecutionLog, InstallGenerator, Workflow

Constant Summary collapse

Loader =
Zeitwerk::Loader.for_gem.tap do |loader|
  loader.ignore("#{__dir__}/generators")
  loader.setup
end
VERSION =
"0.8.0"

Class Method Summary collapse

Class Method Details

.ApplicationRecordObject



15
# File 'lib/chrono_forge.rb', line 15

def self.ApplicationRecord = defined?(::ApplicationRecord) ? ::ApplicationRecord : ActiveRecord::Base