Module: ChronoForge
- Defined in:
- lib/chrono_forge/workflow.rb,
lib/chrono_forge.rb,
lib/chrono_forge/cleanup.rb,
lib/chrono_forge/version.rb,
lib/chrono_forge/executor.rb,
lib/chrono_forge/error_log.rb,
lib/chrono_forge/definition.rb,
lib/chrono_forge/cleanup_job.rb,
lib/chrono_forge/branch_probe.rb,
lib/chrono_forge/configuration.rb,
lib/chrono_forge/execution_log.rb,
lib/chrono_forge/branch_merge_job.rb,
lib/chrono_forge/executor/context.rb,
lib/chrono_forge/executor/methods.rb,
lib/chrono_forge/definition_analyzer.rb,
lib/chrono_forge/executor/methods/wait.rb,
lib/chrono_forge/executor/retry_policy.rb,
lib/chrono_forge/executor/lock_strategy.rb,
lib/chrono_forge/executor/methods/branch.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/generators/chrono_forge/migration_actions.rb,
lib/chrono_forge/executor/composite_retry_policy.rb,
lib/chrono_forge/executor/methods/durably_repeat.rb,
lib/chrono_forge/executor/methods/merge_branches.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,
lib/generators/chrono_forge/upgrade/upgrade_generator.rb,
sig/chrono_forge.rbs
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: BranchProbe, Executor, Generators Classes: BranchMergeJob, Cleanup, CleanupJob, Configuration, Definition, DefinitionAnalyzer, Error, ErrorLog, ExecutionLog, InstallGenerator, UpgradeGenerator, Workflow
Constant Summary collapse
- Loader =
Zeitwerk::Loader.for_gem.tap do |loader| loader.ignore("#{__dir__}/generators") loader.setup end
- VERSION =
"0.11.0"
Class Method Summary collapse
- .ApplicationRecord ⇒ Object
-
.config ⇒ Object
Engine configuration (see ChronoForge::Configuration).
- .configure {|config| ... } ⇒ Object
- .reset_configuration! ⇒ Object
Class Method Details
.ApplicationRecord ⇒ Object
15 |
# File 'lib/chrono_forge.rb', line 15 def self.ApplicationRecord = defined?(::ApplicationRecord) ? ::ApplicationRecord : ActiveRecord::Base |
.config ⇒ Object
Engine configuration (see ChronoForge::Configuration). ChronoForge.configure { |c| c.branch_merge_queue = :chrono_forge_pollers }
19 |
# File 'lib/chrono_forge.rb', line 19 def self.config = @config ||= Configuration.new |
.configure {|config| ... } ⇒ Object
21 |
# File 'lib/chrono_forge.rb', line 21 def self.configure = yield(config) |
.reset_configuration! ⇒ Object
23 |
# File 'lib/chrono_forge.rb', line 23 def self.reset_configuration! = @config = Configuration.new |