simple-module-background-tasks 0.0.45__tar.gz → 0.0.47__tar.gz

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.
Files changed (218) hide show
  1. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/PKG-INFO +5 -5
  2. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/tenant_celery.py +1 -1
  3. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/package.json +2 -2
  4. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/pyproject.toml +5 -5
  5. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_config_guards.py +3 -1
  6. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/logs/sink/test_background_tasks_log_sink_loop.py +15 -4
  7. simple_module_background_tasks-0.0.45/background_tasks/celery_app.py +0 -13
  8. simple_module_background_tasks-0.0.45/background_tasks/config_guards.py +0 -17
  9. simple_module_background_tasks-0.0.45/background_tasks/outbox_transport.py +0 -15
  10. simple_module_background_tasks-0.0.45/background_tasks/outbox_worker.py +0 -15
  11. simple_module_background_tasks-0.0.45/background_tasks/runner.py +0 -13
  12. simple_module_background_tasks-0.0.45/background_tasks/settings.py +0 -15
  13. simple_module_background_tasks-0.0.45/background_tasks/sync_db.py +0 -15
  14. simple_module_background_tasks-0.0.45/background_tasks/task_routing.py +0 -17
  15. simple_module_background_tasks-0.0.45/background_tasks/tenant_context.py +0 -17
  16. simple_module_background_tasks-0.0.45/background_tasks/worker_settings.py +0 -15
  17. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/.gitignore +0 -0
  18. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/LICENSE +0 -0
  19. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/README.md +0 -0
  20. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/__init__.py +0 -0
  21. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/contracts/__init__.py +0 -0
  22. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/contracts/events.py +0 -0
  23. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/contracts/logs.py +0 -0
  24. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/contracts/outbox.py +0 -0
  25. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/contracts/schemas.py +0 -0
  26. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/__init__.py +0 -0
  27. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/_lifecycle.py +0 -0
  28. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/config_guards.py +0 -0
  29. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/constants.py +0 -0
  30. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/db_settings.py +0 -0
  31. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/health.py +0 -0
  32. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/invalidation.py +0 -0
  33. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/services.py +0 -0
  34. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/settings.py +0 -0
  35. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/settings_celery.py +0 -0
  36. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/settings_env_checks.py +0 -0
  37. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/settings_logs.py +0 -0
  38. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/sync_db.py +0 -0
  39. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/core/tracking.py +0 -0
  40. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/__init__.py +0 -0
  41. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/after_commit.py +0 -0
  42. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/filters.py +0 -0
  43. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/retry_service.py +0 -0
  44. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/service.py +0 -0
  45. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/executions/tenant_context.py +0 -0
  46. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/locales/de.json +0 -0
  47. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/locales/en.json +0 -0
  48. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/logs/__init__.py +0 -0
  49. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/logs/purge.py +0 -0
  50. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/logs/service.py +0 -0
  51. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/logs/sink.py +0 -0
  52. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/models.py +0 -0
  53. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/module.py +0 -0
  54. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/__init__.py +0 -0
  55. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/claim.py +0 -0
  56. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/clock.py +0 -0
  57. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/dispatch.py +0 -0
  58. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/guard.py +0 -0
  59. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/loop.py +0 -0
  60. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/service.py +0 -0
  61. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/support.py +0 -0
  62. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/sweep.py +0 -0
  63. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/transport.py +0 -0
  64. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/outbox/worker.py +0 -0
  65. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/Detail.tsx +0 -0
  66. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/Index.tsx +0 -0
  67. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/Logs.tsx +0 -0
  68. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/Outbox.tsx +0 -0
  69. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/Workers.tsx +0 -0
  70. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/api.generated.ts +0 -0
  71. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/pages/api.ts +0 -0
  72. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/py.typed +0 -0
  73. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/tasks.py +0 -0
  74. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/DetailFacts.tsx +0 -0
  75. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/ExecutionRow.tsx +0 -0
  76. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/ExecutionsTable.tsx +0 -0
  77. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/LogLevelSelect.tsx +0 -0
  78. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/LogTable.tsx +0 -0
  79. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/LogsPanel.tsx +0 -0
  80. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/OutboxTable.tsx +0 -0
  81. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/PayloadCards.tsx +0 -0
  82. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/ProgressCard.tsx +0 -0
  83. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/RetryAllDialog.tsx +0 -0
  84. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/RetryConfirmDialog.tsx +0 -0
  85. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/RoutesTable.tsx +0 -0
  86. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/StatusPill.tsx +0 -0
  87. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/StatusStrip.tsx +0 -0
  88. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/TaskFilters.tsx +0 -0
  89. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/TasksEmpty.tsx +0 -0
  90. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/TracebackCard.tsx +0 -0
  91. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/WorkerCard.tsx +0 -0
  92. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/WorkerEmptyStates.tsx +0 -0
  93. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/components/WorkerHealthBanner.tsx +0 -0
  94. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/utils/constants.ts +0 -0
  95. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/utils/logs.ts +0 -0
  96. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/utils/outbox.ts +0 -0
  97. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/utils/retry.ts +0 -0
  98. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/ui/utils/worker-health.ts +0 -0
  99. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/__init__.py +0 -0
  100. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/deps.py +0 -0
  101. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/__init__.py +0 -0
  102. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/api_admin.py +0 -0
  103. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/api_status.py +0 -0
  104. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/logs_api.py +0 -0
  105. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/logs_views.py +0 -0
  106. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/outbox_api.py +0 -0
  107. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/outbox_views.py +0 -0
  108. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/web/endpoints/views.py +0 -0
  109. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/__init__.py +0 -0
  110. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/_signal_bus.py +0 -0
  111. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/_signal_support.py +0 -0
  112. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/celery_app.py +0 -0
  113. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/fleet_state.py +0 -0
  114. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/inspector.py +0 -0
  115. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/log_context.py +0 -0
  116. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/runner.py +0 -0
  117. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/settings.py +0 -0
  118. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/signals.py +0 -0
  119. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/task_heartbeat.py +0 -0
  120. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/task_resource.py +0 -0
  121. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/background_tasks/worker/task_routing.py +0 -0
  122. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/conftest.py +0 -0
  123. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/health/test_background_tasks_redis_health.py +0 -0
  124. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/invalidation/test_background_tasks_invalidation.py +0 -0
  125. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/invalidation/test_background_tasks_invalidation_degraded.py +0 -0
  126. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/invalidation/test_background_tasks_invalidation_redis.py +0 -0
  127. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/invalidation/test_background_tasks_invalidation_warmup.py +0 -0
  128. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_beat_schedule.py +0 -0
  129. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_db_timeouts.py +0 -0
  130. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_redis_url.py +0 -0
  131. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_settings.py +0 -0
  132. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_settings_env.py +0 -0
  133. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/settings/test_background_tasks_startup_log_masking.py +0 -0
  134. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/sync_db/test_background_tasks_sync_db.py +0 -0
  135. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/core/sync_db/test_background_tasks_sync_db_fork.py +0 -0
  136. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/retry/test_background_tasks_retry_failed_bulk.py +0 -0
  137. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/retry/test_background_tasks_retry_failed_guards.py +0 -0
  138. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/retry/test_background_tasks_retry_sweep_ordering.py +0 -0
  139. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_after_commit.py +0 -0
  140. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_eager_bindings.py +0 -0
  141. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_index_has_executions.py +0 -0
  142. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_list_item_payload.py +0 -0
  143. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_newest_first_status.py +0 -0
  144. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_order_index.py +0 -0
  145. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_publish_validation.py +0 -0
  146. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_read_projection.py +0 -0
  147. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_retention_retries.py +0 -0
  148. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_savepoint_publish.py +0 -0
  149. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_service.py +0 -0
  150. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/executions/service/test_background_tasks_tz_columns.py +0 -0
  151. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/logs/purge/test_background_tasks_log_purge.py +0 -0
  152. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/logs/sink/test_background_tasks_log_context.py +0 -0
  153. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/logs/sink/test_background_tasks_log_sink.py +0 -0
  154. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/logs/sink/test_background_tasks_log_sink_nul.py +0 -0
  155. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/admin/test_background_tasks_outbox_admin.py +0 -0
  156. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/admin/test_background_tasks_outbox_tenancy.py +0 -0
  157. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_delivery_context.py +0 -0
  158. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_inprocess_sweep.py +0 -0
  159. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_concurrency.py +0 -0
  160. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_delivery.py +0 -0
  161. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_eager_platform.py +0 -0
  162. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_eager_serialization.py +0 -0
  163. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_fence_guard.py +0 -0
  164. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_guard_savepoint.py +0 -0
  165. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_publish_scope.py +0 -0
  166. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_retry_policy.py +0 -0
  167. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_swallowed_cancel.py +0 -0
  168. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_worker_chain.py +0 -0
  169. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/delivery/test_background_tasks_outbox_worker_task.py +0 -0
  170. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/loop/test_background_tasks_outbox_loop_interrupt.py +0 -0
  171. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/outbox/loop/test_background_tasks_outbox_thread_loops.py +0 -0
  172. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_admin_api.py +0 -0
  173. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_detail_props.py +0 -0
  174. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_index_filters.py +0 -0
  175. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_log_api.py +0 -0
  176. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_page_clamp.py +0 -0
  177. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_pagination_bounds.py +0 -0
  178. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_task_status_api.py +0 -0
  179. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/web/api/test_background_tasks_users_ordering.py +0 -0
  180. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/inspector/test_background_tasks_index_worker_presence.py +0 -0
  181. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/inspector/test_background_tasks_worker_inspector.py +0 -0
  182. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/inspector/test_background_tasks_workers_endpoints.py +0 -0
  183. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/inspector/test_background_tasks_workers_uptime.py +0 -0
  184. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/runner/test_background_tasks_routes_override_api.py +0 -0
  185. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/runner/test_background_tasks_runner_settings.py +0 -0
  186. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/runner/test_background_tasks_task_routing.py +0 -0
  187. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/runner/test_background_tasks_worker_settings.py +0 -0
  188. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_argument_json.py +0 -0
  189. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_execution_bindings.py +0 -0
  190. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_heartbeat.py +0 -0
  191. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_quiet_sweep_unrecorded.py +0 -0
  192. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_resource_status.py +0 -0
  193. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_resource_transport.py +0 -0
  194. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_result_json.py +0 -0
  195. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_signal_tenant_stamp.py +0 -0
  196. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_signals.py +0 -0
  197. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_sweep_stuck.py +0 -0
  198. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_task_progress.py +0 -0
  199. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_task_progress_audit.py +0 -0
  200. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_tracking_modes.py +0 -0
  201. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_worker_audit.py +0 -0
  202. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/signals/test_background_tasks_worker_audit_bookkeeping.py +0 -0
  203. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/tenancy/test_background_tasks_custom_bases.py +0 -0
  204. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/tenancy/test_background_tasks_execution_tenancy.py +0 -0
  205. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/tenancy/test_background_tasks_tenant_context.py +0 -0
  206. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/tenancy/test_background_tasks_worker_tenancy.py +0 -0
  207. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests/worker/tenancy/test_background_tasks_worker_tenancy_context.py +0 -0
  208. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_DetailPage.test.tsx +0 -0
  209. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_IndexPage.test.tsx +0 -0
  210. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_LogsTab.test.tsx +0 -0
  211. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_OutboxPage.test.tsx +0 -0
  212. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_WorkerHealthBanner.test.tsx +0 -0
  213. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/background_tasks_WorkersPage.test.tsx +0 -0
  214. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/outbox.test.ts +0 -0
  215. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/retry.test.ts +0 -0
  216. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/stub-fetch.ts +0 -0
  217. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tests-js/task-formatters.test.ts +0 -0
  218. {simple_module_background_tasks-0.0.45 → simple_module_background_tasks-0.0.47}/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: simple_module_background_tasks
3
- Version: 0.0.45
3
+ Version: 0.0.47
4
4
  Summary: Celery + Redis task queue with admin UI for monitoring and retrying failed/stuck tasks
5
5
  Project-URL: Homepage, https://github.com/antosubash/simple_module_python
6
6
  Project-URL: Repository, https://github.com/antosubash/simple_module_python
@@ -23,10 +23,10 @@ Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.12
24
24
  Requires-Dist: celery[redis]<6,>=5.4
25
25
  Requires-Dist: redis<9,>=5
26
- Requires-Dist: simple-module-core==0.0.45
27
- Requires-Dist: simple-module-db==0.0.45
28
- Requires-Dist: simple-module-hosting==0.0.45
29
- Requires-Dist: simple-module-settings==0.0.45
26
+ Requires-Dist: simple-module-core==0.0.47
27
+ Requires-Dist: simple-module-db==0.0.47
28
+ Requires-Dist: simple-module-hosting==0.0.47
29
+ Requires-Dist: simple-module-settings==0.0.47
30
30
  Description-Content-Type: text/markdown
31
31
 
32
32
  # simple_module_background_tasks
@@ -52,7 +52,7 @@ class TenantCelery(Celery):
52
52
  kwargs.setdefault("task_cls", TenantTask)
53
53
  super().__init__(*args, **kwargs)
54
54
 
55
- def _task_from_fun( # ty: ignore[invalid-method-override]
55
+ def _task_from_fun( # ty: ignore[incompatible-method-override]
56
56
  self,
57
57
  fun: Any,
58
58
  name: Any = None,
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@simple-module-py/background-tasks",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "private": true,
5
5
  "description": "Frontend assets for the BackgroundTasks module",
6
6
  "peerDependencies": {
7
- "@inertiajs/react": "^3.9.1",
7
+ "@inertiajs/react": "^3.11.0",
8
8
  "@simple-module-py/ui": "*",
9
9
  "react": "^19.0.0",
10
10
  "react-dom": "^19.3.1"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "simple_module_background_tasks"
3
- version = "0.0.45"
3
+ version = "0.0.47"
4
4
  description = "Celery + Redis task queue with admin UI for monitoring and retrying failed/stuck tasks"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -21,10 +21,10 @@ classifiers = [
21
21
  "Typing :: Typed",
22
22
  ]
23
23
  dependencies = [
24
- "simple_module_core==0.0.45",
25
- "simple_module_db==0.0.45",
26
- "simple_module_hosting==0.0.45",
27
- "simple_module_settings==0.0.45",
24
+ "simple_module_core==0.0.47",
25
+ "simple_module_db==0.0.47",
26
+ "simple_module_hosting==0.0.47",
27
+ "simple_module_settings==0.0.47",
28
28
  "celery[redis]>=5.4,<6",
29
29
  "redis>=5,<9",
30
30
  ]
@@ -64,7 +64,9 @@ def test_env_overrides_bad_json_or_shape_is_ignored(monkeypatch, caplog) -> None
64
64
  def test_celery_overrides_is_not_a_db_backed_setting(monkeypatch) -> None:
65
65
  assert "celery_overrides" not in BackgroundTasksSettings.model_fields
66
66
  # A stored/hydrated value is ignored, not applied.
67
- s = BackgroundTasksSettings(celery_overrides={"task_serializer": "pickle"}) # pyright: ignore
67
+ s = BackgroundTasksSettings( # ty: ignore[pydantic-discarded-extra-argument]
68
+ celery_overrides={"task_serializer": "pickle"}
69
+ )
68
70
  assert not hasattr(s, "celery_overrides")
69
71
  monkeypatch.setattr(celery_app, "_discover_task_packages", list)
70
72
  c = celery_app.build_celery(BackgroundTasksSettings(task_always_eager=True))
@@ -33,9 +33,19 @@ def _root_at_debug() -> Iterator[None]:
33
33
  db_logger.setLevel(db_before)
34
34
 
35
35
 
36
- def _count() -> int:
36
+ def _count(logger: str | None = None) -> int:
37
+ stmt = select(func.count()).select_from(RetainedLog)
38
+ if logger is not None:
39
+ stmt = stmt.where(RetainedLog.logger == logger)
37
40
  with sync_db.get_sync_session_factory()() as session:
38
- return session.execute(select(func.count()).select_from(RetainedLog)).scalar_one()
41
+ return session.execute(stmt).scalar_one()
42
+
43
+
44
+ def _wait_for_app_lines(expected: int, timeout: float = 15.0) -> None:
45
+ deadline = time.monotonic() + timeout
46
+ while _count(APP_LOGGER.name) < expected:
47
+ assert time.monotonic() < deadline, "the sink never stored the app lines"
48
+ time.sleep(0.05) # intentional-sleep: polls the writer thread's flush
39
49
 
40
50
 
41
51
  def test_sink_writes_are_not_retained_again():
@@ -43,9 +53,10 @@ def test_sink_writes_are_not_retained_again():
43
53
  assert handler is not None
44
54
  for i in range(5):
45
55
  APP_LOGGER.info("line %d", i)
46
- time.sleep(1.5) # intentional-sleep: absence of feedback growth can only be observed over time
56
+ # The writer flushes on its own clock; a slow runner needs more than one interval.
57
+ _wait_for_app_lines(5)
47
58
  first = _count()
48
- time.sleep(1.5) # intentional-sleep: second observation window
59
+ time.sleep(1.5) # intentional-sleep: absence of feedback growth can only be observed over time
49
60
  assert _count() == first
50
61
  log_sink.uninstall_log_sink()
51
62
  with sync_db.get_sync_session_factory()() as session:
@@ -1,13 +0,0 @@
1
- """Moved to :mod:`background_tasks.worker.celery_app`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.celery_app", remove_in="0.0.46", use="background_tasks.worker.celery_app"
12
- )
13
- sys.modules[__name__] = importlib.import_module("background_tasks.worker.celery_app")
@@ -1,17 +0,0 @@
1
- """Moved to :mod:`background_tasks.core.config_guards`;
2
- this alias goes in 0.0.46 (module layout).
3
- """
4
-
5
- from __future__ import annotations
6
-
7
- import importlib
8
- import sys
9
-
10
- from simple_module_core.deprecation import deprecated_module
11
-
12
- deprecated_module(
13
- "background_tasks.config_guards",
14
- remove_in="0.0.46",
15
- use="background_tasks.core.config_guards",
16
- )
17
- sys.modules[__name__] = importlib.import_module("background_tasks.core.config_guards")
@@ -1,15 +0,0 @@
1
- """Moved to :mod:`background_tasks.outbox.transport`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.outbox_transport",
12
- remove_in="0.0.46",
13
- use="background_tasks.outbox.transport",
14
- )
15
- sys.modules[__name__] = importlib.import_module("background_tasks.outbox.transport")
@@ -1,15 +0,0 @@
1
- """Moved to :mod:`background_tasks.outbox.worker`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.outbox_worker",
12
- remove_in="0.0.46",
13
- use="background_tasks.outbox.worker",
14
- )
15
- sys.modules[__name__] = importlib.import_module("background_tasks.outbox.worker")
@@ -1,13 +0,0 @@
1
- """Moved to :mod:`background_tasks.worker.runner`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.runner", remove_in="0.0.46", use="background_tasks.worker.runner"
12
- )
13
- sys.modules[__name__] = importlib.import_module("background_tasks.worker.runner")
@@ -1,15 +0,0 @@
1
- """Moved to :mod:`background_tasks.core.settings`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.settings",
12
- remove_in="0.0.46",
13
- use="background_tasks.core.settings",
14
- )
15
- sys.modules[__name__] = importlib.import_module("background_tasks.core.settings")
@@ -1,15 +0,0 @@
1
- """Moved to :mod:`background_tasks.core.sync_db`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.sync_db",
12
- remove_in="0.0.46",
13
- use="background_tasks.core.sync_db",
14
- )
15
- sys.modules[__name__] = importlib.import_module("background_tasks.core.sync_db")
@@ -1,17 +0,0 @@
1
- """Moved to :mod:`background_tasks.worker.task_routing`;
2
- this alias goes in 0.0.46 (module layout).
3
- """
4
-
5
- from __future__ import annotations
6
-
7
- import importlib
8
- import sys
9
-
10
- from simple_module_core.deprecation import deprecated_module
11
-
12
- deprecated_module(
13
- "background_tasks.task_routing",
14
- remove_in="0.0.46",
15
- use="background_tasks.worker.task_routing",
16
- )
17
- sys.modules[__name__] = importlib.import_module("background_tasks.worker.task_routing")
@@ -1,17 +0,0 @@
1
- """Moved to :mod:`background_tasks.executions.tenant_context`;
2
- this alias goes in 0.0.46 (module layout).
3
- """
4
-
5
- from __future__ import annotations
6
-
7
- import importlib
8
- import sys
9
-
10
- from simple_module_core.deprecation import deprecated_module
11
-
12
- deprecated_module(
13
- "background_tasks.tenant_context",
14
- remove_in="0.0.46",
15
- use="background_tasks.executions.tenant_context",
16
- )
17
- sys.modules[__name__] = importlib.import_module("background_tasks.executions.tenant_context")
@@ -1,15 +0,0 @@
1
- """Moved to :mod:`background_tasks.worker.settings`; this alias goes in 0.0.46 (module layout)."""
2
-
3
- from __future__ import annotations
4
-
5
- import importlib
6
- import sys
7
-
8
- from simple_module_core.deprecation import deprecated_module
9
-
10
- deprecated_module(
11
- "background_tasks.worker_settings",
12
- remove_in="0.0.46",
13
- use="background_tasks.worker.settings",
14
- )
15
- sys.modules[__name__] = importlib.import_module("background_tasks.worker.settings")