tasker-engine 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tasker-engine might be problematic. Click here for more details.

Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -9
  3. data/app/controllers/tasker/analytics_controller.rb +2 -2
  4. data/app/controllers/tasker/graphql_controller.rb +3 -3
  5. data/app/controllers/tasker/health_controller.rb +1 -1
  6. data/app/controllers/tasker/metrics_controller.rb +3 -3
  7. data/app/controllers/tasker/task_diagrams_controller.rb +30 -0
  8. data/app/jobs/tasker/metrics_export_job.rb +1 -1
  9. data/app/models/tasker/application_record.rb +5 -5
  10. data/app/models/tasker/diagram/edge.rb +106 -0
  11. data/app/models/tasker/diagram/flowchart.rb +137 -0
  12. data/app/models/tasker/diagram/node.rb +99 -0
  13. data/app/models/tasker/task.rb +11 -1
  14. data/app/models/tasker/task_diagram.rb +332 -0
  15. data/app/models/tasker/workflow_step_edge.rb +4 -5
  16. data/app/views/tasker/task/_diagram.html.erb +32 -0
  17. data/config/routes.rb +3 -3
  18. data/db/init/schema.sql +23 -0
  19. data/docs/APPLICATION_GENERATOR.md +1 -1
  20. data/docs/AUTH.md +51 -12
  21. data/docs/DEVELOPER_GUIDE.md +9 -8
  22. data/docs/EXECUTION_CONFIGURATION.md +1 -1
  23. data/docs/HEALTH.md +3 -3
  24. data/docs/METRICS.md +4 -4
  25. data/docs/OPTIMIZATION_PLAN.md +3 -3
  26. data/docs/OVERVIEW.md +4 -0
  27. data/docs/QUICK_START.md +1 -1
  28. data/docs/REST_API.md +1 -1
  29. data/docs/TASK_DIAGRAM.md +252 -0
  30. data/docs/TELEMETRY.md +5 -5
  31. data/docs/TROUBLESHOOTING.md +3 -3
  32. data/docs/TaskHandlerGenerator.html +55 -55
  33. data/docs/Tasker/Analysis/RuntimeGraphAnalyzer.html +1 -1
  34. data/docs/Tasker/Analysis/TemplateGraphAnalyzer.html +1 -1
  35. data/docs/Tasker/Analysis.html +1 -1
  36. data/docs/Tasker/AnalyticsController.html +1 -1
  37. data/docs/Tasker/AnalyticsService/BottleneckAnalytics.html +1 -1
  38. data/docs/Tasker/AnalyticsService/PerformanceAnalytics.html +1 -1
  39. data/docs/Tasker/AnalyticsService.html +1 -1
  40. data/docs/Tasker/AnnotationType.html +1 -1
  41. data/docs/Tasker/AnnotationTypeSerializer.html +1 -1
  42. data/docs/Tasker/ApplicationController.html +2 -2
  43. data/docs/Tasker/ApplicationJob.html +1 -1
  44. data/docs/Tasker/ApplicationRecord.html +6 -6
  45. data/docs/Tasker/Authentication/AuthenticationError.html +1 -1
  46. data/docs/Tasker/Authentication/ConfigurationError.html +1 -1
  47. data/docs/Tasker/Authentication/Coordinator.html +1 -1
  48. data/docs/Tasker/Authentication/Interface.html +1 -1
  49. data/docs/Tasker/Authentication/InterfaceError.html +1 -1
  50. data/docs/Tasker/Authentication/NoneAuthenticator.html +1 -1
  51. data/docs/Tasker/Authentication.html +1 -1
  52. data/docs/Tasker/Authorization/AuthorizationError.html +1 -1
  53. data/docs/Tasker/Authorization/BaseCoordinator.html +2 -2
  54. data/docs/Tasker/Authorization/ConfigurationError.html +1 -1
  55. data/docs/Tasker/Authorization/ResourceConstants/ACTIONS.html +10 -10
  56. data/docs/Tasker/Authorization/ResourceConstants/RESOURCES.html +13 -8
  57. data/docs/Tasker/Authorization/ResourceConstants.html +1 -1
  58. data/docs/Tasker/Authorization/ResourceRegistry.html +40 -33
  59. data/docs/Tasker/Authorization/UnauthorizedError.html +1 -1
  60. data/docs/Tasker/Authorization.html +2 -2
  61. data/docs/Tasker/CacheCapabilities.html +1 -1
  62. data/docs/Tasker/CacheStrategy.html +1 -1
  63. data/docs/Tasker/Concerns/Authenticatable.html +1 -1
  64. data/docs/Tasker/Concerns/Authorizable/AdminStatusChecker.html +1 -1
  65. data/docs/Tasker/Concerns/Authorizable.html +1 -1
  66. data/docs/Tasker/Concerns/ControllerAuthorizable.html +1 -1
  67. data/docs/Tasker/Concerns/EventPublisher.html +1 -1
  68. data/docs/Tasker/Concerns/IdempotentStateTransitions.html +1 -1
  69. data/docs/Tasker/Concerns/StateMachineBase/ClassMethods.html +1 -1
  70. data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase/ClassMethods.html +1 -1
  71. data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase.html +1 -1
  72. data/docs/Tasker/Concerns/StateMachineBase.html +1 -1
  73. data/docs/Tasker/Concerns/StructuredLogging.html +1 -1
  74. data/docs/Tasker/Concerns.html +1 -1
  75. data/docs/Tasker/Configuration/ConfigurationProxy.html +1 -1
  76. data/docs/Tasker/Configuration/TelemetryConfigurationProxy.html +1 -1
  77. data/docs/Tasker/Configuration.html +1 -1
  78. data/docs/Tasker/ConfigurationError.html +1 -1
  79. data/docs/Tasker/ConfiguredTask.html +2 -2
  80. data/docs/Tasker/Constants/EventDefinitions.html +1 -1
  81. data/docs/Tasker/Constants/ObservabilityEvents/Step.html +1 -1
  82. data/docs/Tasker/Constants/ObservabilityEvents/Task.html +1 -1
  83. data/docs/Tasker/Constants/ObservabilityEvents.html +1 -1
  84. data/docs/Tasker/Constants/RegistryEvents.html +1 -1
  85. data/docs/Tasker/Constants/StepEvents.html +1 -1
  86. data/docs/Tasker/Constants/TaskEvents.html +1 -1
  87. data/docs/Tasker/Constants/TaskExecution/ExecutionStatus.html +1 -1
  88. data/docs/Tasker/Constants/TaskExecution/HealthStatus.html +1 -1
  89. data/docs/Tasker/Constants/TaskExecution/RecommendedAction.html +1 -1
  90. data/docs/Tasker/Constants/TaskExecution.html +1 -1
  91. data/docs/Tasker/Constants/TaskFinalization/ErrorMessages.html +1 -1
  92. data/docs/Tasker/Constants/TaskFinalization/PendingReasons.html +1 -1
  93. data/docs/Tasker/Constants/TaskFinalization/ReenqueueReasons.html +1 -1
  94. data/docs/Tasker/Constants/TaskFinalization.html +1 -1
  95. data/docs/Tasker/Constants/TaskStatuses.html +1 -1
  96. data/docs/Tasker/Constants/TestEvents.html +1 -1
  97. data/docs/Tasker/Constants/WorkflowEvents.html +1 -1
  98. data/docs/Tasker/Constants/WorkflowStepStatuses.html +1 -1
  99. data/docs/Tasker/Constants.html +1 -1
  100. data/docs/Tasker/DependentSystem.html +1 -1
  101. data/docs/Tasker/DependentSystemObjectMap.html +1 -1
  102. data/docs/Tasker/DetectorRegistry.html +1 -1
  103. data/docs/Tasker/Diagram/Edge.html +1 -1
  104. data/docs/Tasker/Diagram/Flowchart.html +1 -1
  105. data/docs/Tasker/Diagram/Node.html +1 -1
  106. data/docs/Tasker/Diagram.html +1 -1
  107. data/docs/Tasker/Engine.html +1 -1
  108. data/docs/Tasker/Error.html +1 -1
  109. data/docs/Tasker/Events/Catalog/CatalogPrinter.html +1 -1
  110. data/docs/Tasker/Events/Catalog/CustomEventRegistrar.html +1 -1
  111. data/docs/Tasker/Events/Catalog/ExamplePayloadGenerator.html +1 -1
  112. data/docs/Tasker/Events/Catalog.html +1 -1
  113. data/docs/Tasker/Events/CustomRegistry.html +1 -1
  114. data/docs/Tasker/Events/DefinitionLoader.html +1 -1
  115. data/docs/Tasker/Events/EventPayloadBuilder/ErrorInfoExtractor.html +1 -1
  116. data/docs/Tasker/Events/EventPayloadBuilder/StepPayloadBuilder.html +1 -1
  117. data/docs/Tasker/Events/EventPayloadBuilder.html +1 -1
  118. data/docs/Tasker/Events/Publisher.html +1 -1
  119. data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer/ErrorTypeClassifier.html +1 -1
  120. data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer.html +1 -1
  121. data/docs/Tasker/Events/Subscribers/BaseSubscriber/MetricTagsExtractor.html +1 -1
  122. data/docs/Tasker/Events/Subscribers/BaseSubscriber.html +1 -1
  123. data/docs/Tasker/Events/Subscribers/MetricsSubscriber.html +2 -2
  124. data/docs/Tasker/Events/Subscribers/TelemetrySubscriber.html +5 -5
  125. data/docs/Tasker/Events/Subscribers.html +1 -1
  126. data/docs/Tasker/Events/SubscriptionLoader.html +1 -1
  127. data/docs/Tasker/Events.html +1 -1
  128. data/docs/Tasker/EventsGenerator.html +2 -2
  129. data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics/AnalyticsMetrics.html +1 -1
  130. data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics.html +1 -1
  131. data/docs/Tasker/Functions/FunctionBasedDependencyLevels.html +1 -1
  132. data/docs/Tasker/Functions/FunctionBasedSlowestSteps/SlowestStep.html +1 -1
  133. data/docs/Tasker/Functions/FunctionBasedSlowestSteps.html +1 -1
  134. data/docs/Tasker/Functions/FunctionBasedSlowestTasks/SlowestTask.html +1 -1
  135. data/docs/Tasker/Functions/FunctionBasedSlowestTasks.html +1 -1
  136. data/docs/Tasker/Functions/FunctionBasedStepReadinessStatus.html +1 -1
  137. data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts/HealthMetrics.html +1 -1
  138. data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts.html +1 -1
  139. data/docs/Tasker/Functions/FunctionBasedTaskExecutionContext.html +1 -1
  140. data/docs/Tasker/Functions/FunctionWrapper.html +1 -1
  141. data/docs/Tasker/Functions.html +1 -1
  142. data/docs/Tasker/Generators/AuthenticatorGenerator/UsageInstructionsFormatter.html +1 -1
  143. data/docs/Tasker/Generators/AuthenticatorGenerator.html +1 -1
  144. data/docs/Tasker/Generators/AuthorizationCoordinatorGenerator.html +1 -1
  145. data/docs/Tasker/Generators/SubscriberGenerator.html +1 -1
  146. data/docs/Tasker/Generators/TaskHandlerGenerator.html +4 -4
  147. data/docs/Tasker/Generators.html +1 -1
  148. data/docs/Tasker/GraphQLTypes/AnnotationType.html +1 -1
  149. data/docs/Tasker/GraphQLTypes/BaseArgument.html +1 -1
  150. data/docs/Tasker/GraphQLTypes/BaseConnection.html +1 -1
  151. data/docs/Tasker/GraphQLTypes/BaseEdge.html +1 -1
  152. data/docs/Tasker/GraphQLTypes/BaseEnum.html +1 -1
  153. data/docs/Tasker/GraphQLTypes/BaseField.html +1 -1
  154. data/docs/Tasker/GraphQLTypes/BaseInputObject.html +1 -1
  155. data/docs/Tasker/GraphQLTypes/BaseInterface.html +1 -1
  156. data/docs/Tasker/GraphQLTypes/BaseObject.html +1 -1
  157. data/docs/Tasker/GraphQLTypes/BaseScalar.html +1 -1
  158. data/docs/Tasker/GraphQLTypes/BaseUnion.html +1 -1
  159. data/docs/Tasker/GraphQLTypes/DependentSystemObjectMapType.html +1 -1
  160. data/docs/Tasker/GraphQLTypes/DependentSystemType.html +1 -1
  161. data/docs/Tasker/GraphQLTypes/MutationType.html +1 -1
  162. data/docs/Tasker/GraphQLTypes/NamedStepType.html +1 -1
  163. data/docs/Tasker/GraphQLTypes/NamedTaskType.html +1 -1
  164. data/docs/Tasker/GraphQLTypes/NamedTasksNamedStepType.html +1 -1
  165. data/docs/Tasker/GraphQLTypes/NodeType.html +1 -1
  166. data/docs/Tasker/GraphQLTypes/QueryType.html +1 -1
  167. data/docs/Tasker/GraphQLTypes/TaskAnnotationType.html +1 -1
  168. data/docs/Tasker/GraphQLTypes/TaskInterface.html +1 -1
  169. data/docs/Tasker/GraphQLTypes/TaskType.html +1 -1
  170. data/docs/Tasker/GraphQLTypes/WorkflowStepType.html +1 -1
  171. data/docs/Tasker/GraphQLTypes.html +1 -1
  172. data/docs/Tasker/GraphqlController.html +1 -1
  173. data/docs/Tasker/HandlerFactory.html +44 -54
  174. data/docs/Tasker/HandlerSerializer.html +1 -1
  175. data/docs/Tasker/HandlersController.html +1 -1
  176. data/docs/Tasker/HashIdentityStrategy.html +1 -1
  177. data/docs/Tasker/Health/ReadinessChecker.html +2 -2
  178. data/docs/Tasker/Health/StatusChecker.html +2 -2
  179. data/docs/Tasker/Health.html +1 -1
  180. data/docs/Tasker/HealthController.html +1 -1
  181. data/docs/Tasker/IdentityStrategy.html +1 -1
  182. data/docs/Tasker/InvalidTaskHandlerConfig.html +1 -1
  183. data/docs/Tasker/Logging/CorrelationIdGenerator.html +2 -2
  184. data/docs/Tasker/Logging.html +1 -1
  185. data/docs/Tasker/MetricsController.html +1 -1
  186. data/docs/Tasker/MetricsExportJob.html +1 -1
  187. data/docs/Tasker/Mutations/BaseMutation.html +1 -1
  188. data/docs/Tasker/Mutations/CancelStep.html +1 -1
  189. data/docs/Tasker/Mutations/CancelTask.html +1 -1
  190. data/docs/Tasker/Mutations/CreateTask.html +1 -1
  191. data/docs/Tasker/Mutations/UpdateStep.html +1 -1
  192. data/docs/Tasker/Mutations/UpdateTask.html +1 -1
  193. data/docs/Tasker/Mutations.html +1 -1
  194. data/docs/Tasker/NamedStep.html +1 -1
  195. data/docs/Tasker/NamedTask.html +1 -1
  196. data/docs/Tasker/NamedTasksNamedStep.html +1 -1
  197. data/docs/Tasker/Orchestration/BackoffCalculator.html +1 -1
  198. data/docs/Tasker/Orchestration/ConnectionBuilder/ConfigValidator.html +1 -1
  199. data/docs/Tasker/Orchestration/ConnectionBuilder.html +2 -2
  200. data/docs/Tasker/Orchestration/ConnectionPoolIntelligence.html +3 -3
  201. data/docs/Tasker/Orchestration/Coordinator.html +1 -1
  202. data/docs/Tasker/Orchestration/FutureStateAnalyzer.html +1 -1
  203. data/docs/Tasker/Orchestration/PluginIntegration.html +1 -1
  204. data/docs/Tasker/Orchestration/ResponseProcessor.html +1 -1
  205. data/docs/Tasker/Orchestration/RetryHeaderParser.html +1 -1
  206. data/docs/Tasker/Orchestration/StepExecutor.html +4 -4
  207. data/docs/Tasker/Orchestration/StepSequenceFactory.html +1 -1
  208. data/docs/Tasker/Orchestration/TaskFinalizer/BlockageChecker.html +1 -1
  209. data/docs/Tasker/Orchestration/TaskFinalizer/ContextManager.html +1 -1
  210. data/docs/Tasker/Orchestration/TaskFinalizer/DelayCalculator.html +2 -2
  211. data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationDecisionMaker.html +1 -1
  212. data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationProcessor.html +1 -1
  213. data/docs/Tasker/Orchestration/TaskFinalizer/ReasonDeterminer.html +1 -1
  214. data/docs/Tasker/Orchestration/TaskFinalizer/ReenqueueManager.html +1 -1
  215. data/docs/Tasker/Orchestration/TaskFinalizer/UnclearStateHandler.html +1 -1
  216. data/docs/Tasker/Orchestration/TaskFinalizer.html +1 -1
  217. data/docs/Tasker/Orchestration/TaskInitializer.html +1 -1
  218. data/docs/Tasker/Orchestration/TaskReenqueuer.html +1 -1
  219. data/docs/Tasker/Orchestration/ViableStepDiscovery.html +1 -1
  220. data/docs/Tasker/Orchestration/WorkflowCoordinator.html +1 -1
  221. data/docs/Tasker/Orchestration.html +1 -1
  222. data/docs/Tasker/PageSort/PageSortParamsBuilder.html +1 -1
  223. data/docs/Tasker/PageSort.html +1 -1
  224. data/docs/Tasker/PermanentError.html +1 -1
  225. data/docs/Tasker/ProceduralError.html +1 -1
  226. data/docs/Tasker/Queries/AllAnnotationTypes.html +1 -1
  227. data/docs/Tasker/Queries/AllTasks.html +1 -1
  228. data/docs/Tasker/Queries/BaseQuery.html +1 -1
  229. data/docs/Tasker/Queries/Helpers.html +1 -1
  230. data/docs/Tasker/Queries/OneStep.html +1 -1
  231. data/docs/Tasker/Queries/OneTask.html +1 -1
  232. data/docs/Tasker/Queries/TasksByAnnotation.html +1 -1
  233. data/docs/Tasker/Queries/TasksByStatus.html +1 -1
  234. data/docs/Tasker/Queries.html +1 -1
  235. data/docs/Tasker/Railtie.html +1 -1
  236. data/docs/Tasker/Registry/BaseRegistry.html +2 -2
  237. data/docs/Tasker/Registry/EventPublisher.html +1 -1
  238. data/docs/Tasker/Registry/InterfaceValidator.html +1 -1
  239. data/docs/Tasker/Registry/RegistrationError.html +1 -1
  240. data/docs/Tasker/Registry/RegistryError.html +1 -1
  241. data/docs/Tasker/Registry/StatisticsCollector.html +1 -1
  242. data/docs/Tasker/Registry/SubscriberRegistry.html +1 -1
  243. data/docs/Tasker/Registry/ValidationError.html +1 -1
  244. data/docs/Tasker/Registry.html +1 -1
  245. data/docs/Tasker/RetryableError.html +1 -1
  246. data/docs/Tasker/StateMachine/Compatibility.html +1 -1
  247. data/docs/Tasker/StateMachine/InvalidStateTransition.html +1 -1
  248. data/docs/Tasker/StateMachine/StepStateMachine.html +1 -1
  249. data/docs/Tasker/StateMachine/TaskStateMachine.html +1 -1
  250. data/docs/Tasker/StateMachine.html +1 -1
  251. data/docs/Tasker/StepDagRelationship.html +1 -1
  252. data/docs/Tasker/StepHandler/Api/Config.html +1 -1
  253. data/docs/Tasker/StepHandler/Api.html +1 -1
  254. data/docs/Tasker/StepHandler/AutomaticEventPublishing.html +1 -1
  255. data/docs/Tasker/StepHandler/Base.html +1 -1
  256. data/docs/Tasker/StepHandler.html +1 -1
  257. data/docs/Tasker/StepReadinessStatus.html +1 -1
  258. data/docs/Tasker/Task.html +210 -113
  259. data/docs/Tasker/TaskAnnotation.html +1 -1
  260. data/docs/Tasker/TaskAnnotationSerializer.html +1 -1
  261. data/docs/Tasker/TaskBuilder/StepNameValidator.html +1 -1
  262. data/docs/Tasker/TaskBuilder/StepTemplateDefiner.html +1 -1
  263. data/docs/Tasker/TaskBuilder.html +1 -1
  264. data/docs/Tasker/TaskDiagram/StepToStepEdgeBuilder.html +1 -1
  265. data/docs/Tasker/TaskDiagram/TaskToRootStepEdgeBuilder.html +1 -1
  266. data/docs/Tasker/TaskDiagram.html +1 -1
  267. data/docs/Tasker/TaskDiagramsController.html +1 -1
  268. data/docs/Tasker/TaskExecutionContext.html +1 -1
  269. data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/ClassBasedEventRegistrar.html +1 -1
  270. data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/YamlEventRegistrar.html +1 -1
  271. data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner.html +1 -1
  272. data/docs/Tasker/TaskHandler/ClassMethods.html +6 -44
  273. data/docs/Tasker/TaskHandler/InstanceMethods.html +1 -1
  274. data/docs/Tasker/TaskHandler/StepGroup.html +1 -1
  275. data/docs/Tasker/TaskHandler.html +1 -1
  276. data/docs/Tasker/TaskNamespace.html +1 -1
  277. data/docs/Tasker/TaskRunnerJob.html +1 -1
  278. data/docs/Tasker/TaskSerializer.html +1 -1
  279. data/docs/Tasker/TaskTransition.html +1 -1
  280. data/docs/Tasker/TaskerRailsSchema/InvalidObjectTypeError.html +1 -1
  281. data/docs/Tasker/TaskerRailsSchema/TypeResolutionError.html +1 -1
  282. data/docs/Tasker/TaskerRailsSchema/UnknownInterfaceError.html +1 -1
  283. data/docs/Tasker/TaskerRailsSchema.html +1 -1
  284. data/docs/Tasker/TasksController.html +1 -1
  285. data/docs/Tasker/Telemetry/EventMapping.html +1 -1
  286. data/docs/Tasker/Telemetry/EventRouter.html +1 -1
  287. data/docs/Tasker/Telemetry/Events/ExportEvents.html +1 -1
  288. data/docs/Tasker/Telemetry/Events.html +1 -1
  289. data/docs/Tasker/Telemetry/ExportCoordinator.html +1 -1
  290. data/docs/Tasker/Telemetry/IntelligentCacheManager.html +2 -2
  291. data/docs/Tasker/Telemetry/LogBackend.html +1 -1
  292. data/docs/Tasker/Telemetry/MetricTypes/Counter.html +2 -2
  293. data/docs/Tasker/Telemetry/MetricTypes/Gauge.html +73 -73
  294. data/docs/Tasker/Telemetry/MetricTypes/Histogram.html +103 -103
  295. data/docs/Tasker/Telemetry/MetricTypes.html +1 -1
  296. data/docs/Tasker/Telemetry/MetricsBackend.html +1 -1
  297. data/docs/Tasker/Telemetry/MetricsExportService.html +1 -1
  298. data/docs/Tasker/Telemetry/PluginRegistry.html +1 -1
  299. data/docs/Tasker/Telemetry/Plugins/BaseExporter.html +1 -1
  300. data/docs/Tasker/Telemetry/Plugins/CsvExporter.html +1 -1
  301. data/docs/Tasker/Telemetry/Plugins/JsonExporter.html +1 -1
  302. data/docs/Tasker/Telemetry/Plugins.html +1 -1
  303. data/docs/Tasker/Telemetry/PrometheusExporter.html +1 -1
  304. data/docs/Tasker/Telemetry/TraceBackend.html +1 -1
  305. data/docs/Tasker/Telemetry.html +1 -1
  306. data/docs/Tasker/Types/AuthConfig.html +1 -1
  307. data/docs/Tasker/Types/BackoffConfig.html +1 -1
  308. data/docs/Tasker/Types/BaseConfig.html +1 -1
  309. data/docs/Tasker/Types/CacheConfig.html +1 -1
  310. data/docs/Tasker/Types/DatabaseConfig.html +1 -1
  311. data/docs/Tasker/Types/DependencyGraph.html +1 -1
  312. data/docs/Tasker/Types/DependencyGraphConfig.html +1 -1
  313. data/docs/Tasker/Types/EngineConfig.html +1 -1
  314. data/docs/Tasker/Types/ExecutionConfig.html +1 -1
  315. data/docs/Tasker/Types/GraphEdge.html +1 -1
  316. data/docs/Tasker/Types/GraphMetadata.html +1 -1
  317. data/docs/Tasker/Types/GraphNode.html +1 -1
  318. data/docs/Tasker/Types/HealthConfig.html +1 -1
  319. data/docs/Tasker/Types/StepSequence.html +1 -1
  320. data/docs/Tasker/Types/StepTemplate.html +1 -1
  321. data/docs/Tasker/Types/TaskRequest.html +1 -1
  322. data/docs/Tasker/Types/TelemetryConfig.html +2 -2
  323. data/docs/Tasker/Types.html +1 -1
  324. data/docs/Tasker/WorkflowStep/StepFinder.html +1 -1
  325. data/docs/Tasker/WorkflowStep.html +1 -1
  326. data/docs/Tasker/WorkflowStepEdge.html +4 -6
  327. data/docs/Tasker/WorkflowStepSerializer.html +1 -1
  328. data/docs/Tasker/WorkflowStepTransition/TransitionDescriptionFormatter.html +1 -1
  329. data/docs/Tasker/WorkflowStepTransition.html +1 -1
  330. data/docs/Tasker/WorkflowStepsController.html +1 -1
  331. data/docs/Tasker.html +5 -21
  332. data/docs/VISION.md +1 -1
  333. data/docs/_index.html +77 -21
  334. data/docs/class_list.html +1 -1
  335. data/docs/file.README.html +14 -10
  336. data/docs/index.html +14 -10
  337. data/docs/method_list.html +1433 -1105
  338. data/docs/top-level-namespace.html +1 -1
  339. data/lib/generators/tasker/authenticator_generator.rb +5 -5
  340. data/lib/generators/tasker/authorization_coordinator_generator.rb +1 -1
  341. data/lib/generators/tasker/events_generator.rb +1 -1
  342. data/lib/generators/tasker/task_handler_generator.rb +4 -4
  343. data/lib/generators/tasker/templates/api_token_authenticator.rb.erb +1 -1
  344. data/lib/generators/tasker/templates/authorization_coordinator.rb.erb +13 -0
  345. data/lib/generators/tasker/templates/authorization_coordinator_spec.rb.erb +7 -1
  346. data/lib/generators/tasker/templates/custom_authenticator.rb.erb +1 -1
  347. data/lib/generators/tasker/templates/devise_authenticator.rb.erb +1 -1
  348. data/lib/generators/tasker/templates/initialize.rb.erb +1 -1
  349. data/lib/generators/tasker/templates/jwt_authenticator.rb.erb +1 -1
  350. data/lib/generators/tasker/templates/omniauth_authenticator.rb.erb +1 -1
  351. data/lib/generators/tasker/templates/opentelemetry_initializer.rb +4 -4
  352. data/lib/generators/tasker/templates/task_config.yaml.erb +25 -25
  353. data/lib/generators/tasker/templates/task_handler.rb.erb +2 -3
  354. data/lib/generators/tasker/templates/task_handler_spec.rb.erb +43 -49
  355. data/lib/tasker/analysis/runtime_graph_analyzer.rb +1 -1
  356. data/lib/tasker/authentication/coordinator.rb +2 -2
  357. data/lib/tasker/authorization/base_coordinator.rb +1 -1
  358. data/lib/tasker/authorization/resource_constants.rb +2 -1
  359. data/lib/tasker/authorization/resource_registry.rb +7 -0
  360. data/lib/tasker/authorization.rb +1 -1
  361. data/lib/tasker/concerns/authenticatable.rb +1 -1
  362. data/lib/tasker/concerns/controller_authorizable.rb +3 -3
  363. data/lib/tasker/concerns/structured_logging.rb +2 -2
  364. data/lib/tasker/events/definition_loader.rb +1 -1
  365. data/lib/tasker/events/subscribers/metrics_subscriber.rb +1 -1
  366. data/lib/tasker/events/subscribers/telemetry_subscriber.rb +5 -5
  367. data/lib/tasker/handler_factory.rb +2 -7
  368. data/lib/tasker/health/readiness_checker.rb +1 -1
  369. data/lib/tasker/health/status_checker.rb +1 -1
  370. data/lib/tasker/logging/correlation_id_generator.rb +1 -1
  371. data/lib/tasker/orchestration/backoff_calculator.rb +1 -1
  372. data/lib/tasker/orchestration/connection_builder.rb +1 -1
  373. data/lib/tasker/orchestration/connection_pool_intelligence.rb +3 -3
  374. data/lib/tasker/orchestration/step_executor.rb +2 -2
  375. data/lib/tasker/orchestration/task_finalizer.rb +1 -1
  376. data/lib/tasker/registry/base_registry.rb +1 -1
  377. data/lib/tasker/task_builder.rb +1 -1
  378. data/lib/tasker/task_handler/class_methods.rb +1 -4
  379. data/lib/tasker/telemetry/intelligent_cache_manager.rb +1 -1
  380. data/lib/tasker/telemetry/metric_types.rb +9 -57
  381. data/lib/tasker/telemetry/metrics_backend.rb +3 -3
  382. data/lib/tasker/telemetry/metrics_export_service.rb +1 -1
  383. data/lib/tasker/telemetry/prometheus_exporter.rb +2 -2
  384. data/lib/tasker/types/telemetry_config.rb +1 -1
  385. data/lib/tasker/version.rb +1 -2
  386. data/lib/tasks/tasker_tasks.rake +4 -85
  387. metadata +11 -7
  388. data/db/functions/get_step_readiness_status_single_and_batch_v02.sql +0 -223
  389. data/db/migrate/20250710110830_step_readiness_sql_functions_v02.rb +0 -39
  390. data/docs/REVERSIONING.md +0 -404
@@ -93,7 +93,9 @@
93
93
 
94
94
  <p>Add Tasker to your Rails app’s <code>Gemfile</code>:</p>
95
95
 
96
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tasker-engine</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~&gt; 0.1.0</span><span class='tstring_end'>&#39;</span></span>
96
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_source'>source</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>https://rubygems.pkg.github.com/tasker-systems</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span>
97
+ <span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tasker-engine</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~&gt; 1.0.0</span><span class='tstring_end'>&#39;</span></span>
98
+ <span class='kw'>end</span>
97
99
  </code></pre>
98
100
 
99
101
  <p>Install and run the migrations:</p>
@@ -114,7 +116,7 @@ bundle exec rails db:migrate
114
116
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_exec'>exec</span> <span class='id identifier rubyid_rails'>rails</span> <span class='label'>tasker:</span><span class='id identifier rubyid_setup'>setup</span>
115
117
  </code></pre>
116
118
 
117
- <h3 id="label-Option+2-3A+Generate+Complete+Application">Option 2: Generate Complete Application</h3>
119
+ <h3 id="label-Option+2-3A+Generate+Complete+Application+-28v2.6.1-29">Option 2: Generate Complete Application (v2.6.1)</h3>
118
120
 
119
121
  <p>Create a production-ready Rails application with Tasker integration in one command:</p>
120
122
 
@@ -183,7 +185,7 @@ curl -fsSL https://raw.githubusercontent.com/tasker-systems/tasker/main/scripts/
183
185
  <pre class="code ruby"><code class="ruby">---
184
186
  name: order_process
185
187
  namespace_name: default
186
- version: 0.1.0
188
+ version: 1.0.0
187
189
  task_handler_class: OrderProcess
188
190
 
189
191
  step_templates:
@@ -229,7 +231,7 @@ step_templates:
229
231
  </span><span class='id identifier rubyid_task_request'>task_request</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Types.html" title="Tasker::Types (module)">Types</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Types/TaskRequest.html" title="Tasker::Types::TaskRequest (class)">TaskRequest</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
230
232
  <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>order_process</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
231
233
  <span class='label'>namespace:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>default</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;default&#39;
232
- </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
234
+ </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
233
235
  </span> <span class='label'>context:</span> <span class='lbrace'>{</span> <span class='label'>order_id:</span> <span class='int'>12345</span> <span class='rbrace'>}</span>
234
236
  <span class='rparen'>)</span>
235
237
 
@@ -237,7 +239,7 @@ step_templates:
237
239
  </span><span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/HandlerFactory.html" title="Tasker::HandlerFactory (class)">HandlerFactory</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span>
238
240
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>order_process</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
239
241
  <span class='label'>namespace_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>default</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;default&#39;
240
- </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
242
+ </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
241
243
  </span><span class='rparen'>)</span>
242
244
  <span class='id identifier rubyid_task'>task</span> <span class='op'>=</span> <span class='id identifier rubyid_handler'>handler</span><span class='period'>.</span><span class='id identifier rubyid_initialize_task!'>initialize_task!</span><span class='lparen'>(</span><span class='id identifier rubyid_task_request'>task_request</span><span class='rparen'>)</span>
243
245
 
@@ -251,7 +253,7 @@ step_templates:
251
253
  <p>Tasker includes enterprise-grade security that works with any Rails authentication system:</p>
252
254
 
253
255
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
254
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
256
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
255
257
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_auth'>auth</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_auth'>auth</span><span class='op'>|</span>
256
258
  <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_authentication_enabled'>authentication_enabled</span> <span class='op'>=</span> <span class='kw'>true</span>
257
259
  <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_authenticator_class'>authenticator_class</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>YourAuthenticator</span><span class='tstring_end'>&#39;</span></span>
@@ -345,11 +347,11 @@ curl -H &quot;Authorization: Bearer YOUR_JWT_TOKEN&quot; \
345
347
  <p>Built-in OpenTelemetry integration provides complete observability:</p>
346
348
 
347
349
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
348
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
350
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
349
351
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_telemetry'>telemetry</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tel'>tel</span><span class='op'>|</span>
350
352
  <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_enabled'>enabled</span> <span class='op'>=</span> <span class='kw'>true</span>
351
353
  <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_name'>service_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>my-app-workflows</span><span class='tstring_end'>&#39;</span></span>
352
- <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_version'>service_version</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span>
354
+ <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_version'>service_version</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span>
353
355
  <span class='kw'>end</span>
354
356
  <span class='kw'>end</span>
355
357
  </code></pre>
@@ -396,7 +398,7 @@ GET /tasker/health/status
396
398
  <p><strong>Optional Authentication &amp; Authorization</strong>:</p>
397
399
 
398
400
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
399
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
401
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
400
402
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_health'>health</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_health'>health</span><span class='op'>|</span>
401
403
  <span class='id identifier rubyid_health'>health</span><span class='period'>.</span><span class='id identifier rubyid_status_requires_authentication'>status_requires_authentication</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='comment'># Secure detailed status
402
404
  </span> <span class='kw'>end</span>
@@ -487,6 +489,8 @@ GET /tasker/health/status
487
489
  </li><li>
488
490
  <p><strong>Overview[docs/OVERVIEW.md]</strong> - Architecture and configuration</p>
489
491
  </li><li>
492
+ <p><strong>Diagrams[docs/TASK_DIAGRAM.md]</strong> - Visual workflow representation</p>
493
+ </li><li>
490
494
  <p><strong>Troubleshooting[docs/TROUBLESHOOTING.md]</strong> - Common issues and solutions</p>
491
495
  </li></ul>
492
496
 
@@ -527,7 +531,7 @@ bundle exec rubocop
527
531
  </div></div>
528
532
 
529
533
  <div id="footer">
530
- Generated on Sun Jul 13 16:58:45 2025 by
534
+ Generated on Tue Jul 1 16:47:34 2025 by
531
535
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
532
536
  0.9.37 (ruby-3.2.4).
533
537
  </div>
data/docs/index.html CHANGED
@@ -93,7 +93,9 @@
93
93
 
94
94
  <p>Add Tasker to your Rails app’s <code>Gemfile</code>:</p>
95
95
 
96
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tasker-engine</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~&gt; 0.1.0</span><span class='tstring_end'>&#39;</span></span>
96
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_source'>source</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>https://rubygems.pkg.github.com/tasker-systems</span><span class='tstring_end'>&#39;</span></span> <span class='kw'>do</span>
97
+ <span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>tasker-engine</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>~&gt; 1.0.0</span><span class='tstring_end'>&#39;</span></span>
98
+ <span class='kw'>end</span>
97
99
  </code></pre>
98
100
 
99
101
  <p>Install and run the migrations:</p>
@@ -114,7 +116,7 @@ bundle exec rails db:migrate
114
116
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_bundle'>bundle</span> <span class='id identifier rubyid_exec'>exec</span> <span class='id identifier rubyid_rails'>rails</span> <span class='label'>tasker:</span><span class='id identifier rubyid_setup'>setup</span>
115
117
  </code></pre>
116
118
 
117
- <h3 id="label-Option+2-3A+Generate+Complete+Application">Option 2: Generate Complete Application</h3>
119
+ <h3 id="label-Option+2-3A+Generate+Complete+Application+-28v2.6.1-29">Option 2: Generate Complete Application (v2.6.1)</h3>
118
120
 
119
121
  <p>Create a production-ready Rails application with Tasker integration in one command:</p>
120
122
 
@@ -183,7 +185,7 @@ curl -fsSL https://raw.githubusercontent.com/tasker-systems/tasker/main/scripts/
183
185
  <pre class="code ruby"><code class="ruby">---
184
186
  name: order_process
185
187
  namespace_name: default
186
- version: 0.1.0
188
+ version: 1.0.0
187
189
  task_handler_class: OrderProcess
188
190
 
189
191
  step_templates:
@@ -229,7 +231,7 @@ step_templates:
229
231
  </span><span class='id identifier rubyid_task_request'>task_request</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Types.html" title="Tasker::Types (module)">Types</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Types/TaskRequest.html" title="Tasker::Types::TaskRequest (class)">TaskRequest</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
230
232
  <span class='label'>name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>order_process</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
231
233
  <span class='label'>namespace:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>default</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;default&#39;
232
- </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
234
+ </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
233
235
  </span> <span class='label'>context:</span> <span class='lbrace'>{</span> <span class='label'>order_id:</span> <span class='int'>12345</span> <span class='rbrace'>}</span>
234
236
  <span class='rparen'>)</span>
235
237
 
@@ -237,7 +239,7 @@ step_templates:
237
239
  </span><span class='id identifier rubyid_handler'>handler</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/HandlerFactory.html" title="Tasker::HandlerFactory (class)">HandlerFactory</a></span></span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span>
238
240
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>order_process</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
239
241
  <span class='label'>namespace_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>default</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='comment'># Optional - defaults to &#39;default&#39;
240
- </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
242
+ </span> <span class='label'>version:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span> <span class='comment'># Optional - defaults to &#39;0.1.0&#39;
241
243
  </span><span class='rparen'>)</span>
242
244
  <span class='id identifier rubyid_task'>task</span> <span class='op'>=</span> <span class='id identifier rubyid_handler'>handler</span><span class='period'>.</span><span class='id identifier rubyid_initialize_task!'>initialize_task!</span><span class='lparen'>(</span><span class='id identifier rubyid_task_request'>task_request</span><span class='rparen'>)</span>
243
245
 
@@ -251,7 +253,7 @@ step_templates:
251
253
  <p>Tasker includes enterprise-grade security that works with any Rails authentication system:</p>
252
254
 
253
255
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
254
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
256
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
255
257
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_auth'>auth</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_auth'>auth</span><span class='op'>|</span>
256
258
  <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_authentication_enabled'>authentication_enabled</span> <span class='op'>=</span> <span class='kw'>true</span>
257
259
  <span class='id identifier rubyid_auth'>auth</span><span class='period'>.</span><span class='id identifier rubyid_authenticator_class'>authenticator_class</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>YourAuthenticator</span><span class='tstring_end'>&#39;</span></span>
@@ -345,11 +347,11 @@ curl -H &quot;Authorization: Bearer YOUR_JWT_TOKEN&quot; \
345
347
  <p>Built-in OpenTelemetry integration provides complete observability:</p>
346
348
 
347
349
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
348
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
350
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
349
351
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_telemetry'>telemetry</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_tel'>tel</span><span class='op'>|</span>
350
352
  <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_enabled'>enabled</span> <span class='op'>=</span> <span class='kw'>true</span>
351
353
  <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_name'>service_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>my-app-workflows</span><span class='tstring_end'>&#39;</span></span>
352
- <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_version'>service_version</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>&#39;</span></span>
354
+ <span class='id identifier rubyid_tel'>tel</span><span class='period'>.</span><span class='id identifier rubyid_service_version'>service_version</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.0</span><span class='tstring_end'>&#39;</span></span>
353
355
  <span class='kw'>end</span>
354
356
  <span class='kw'>end</span>
355
357
  </code></pre>
@@ -396,7 +398,7 @@ GET /tasker/health/status
396
398
  <p><strong>Optional Authentication &amp; Authorization</strong>:</p>
397
399
 
398
400
  <pre class="code ruby"><code class="ruby"><span class='comment'># config/initializers/tasker.rb
399
- </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Tasker/Configuration.html" title="Tasker::Configuration (class)">Configuration</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'>configuration</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
401
+ </span><span class='const'><span class='object_link'><a href="Tasker.html" title="Tasker (module)">Tasker</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configuration'><span class='object_link'><a href="Tasker.html#configuration-class_method" title="Tasker.configuration (method)">configuration</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
400
402
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_health'>health</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_health'>health</span><span class='op'>|</span>
401
403
  <span class='id identifier rubyid_health'>health</span><span class='period'>.</span><span class='id identifier rubyid_status_requires_authentication'>status_requires_authentication</span> <span class='op'>=</span> <span class='kw'>true</span> <span class='comment'># Secure detailed status
402
404
  </span> <span class='kw'>end</span>
@@ -487,6 +489,8 @@ GET /tasker/health/status
487
489
  </li><li>
488
490
  <p><strong>Overview[docs/OVERVIEW.md]</strong> - Architecture and configuration</p>
489
491
  </li><li>
492
+ <p><strong>Diagrams[docs/TASK_DIAGRAM.md]</strong> - Visual workflow representation</p>
493
+ </li><li>
490
494
  <p><strong>Troubleshooting[docs/TROUBLESHOOTING.md]</strong> - Common issues and solutions</p>
491
495
  </li></ul>
492
496
 
@@ -527,7 +531,7 @@ bundle exec rubocop
527
531
  </div></div>
528
532
 
529
533
  <div id="footer">
530
- Generated on Sun Jul 13 16:58:45 2025 by
534
+ Generated on Tue Jul 1 16:47:34 2025 by
531
535
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
532
536
  0.9.37 (ruby-3.2.4).
533
537
  </div>