hypershell 2.9.0a1__tar.gz → 2.9.0a2__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 (211) hide show
  1. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/PKG-INFO +2 -2
  2. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/database.rst +19 -0
  3. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/database_alt.rst +10 -0
  4. hypershell-2.9.0a2/docs/_include/initdb_desc.rst +9 -0
  5. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_info_help.rst +2 -1
  6. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_search_help.rst +13 -2
  7. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_search_usage.rst +1 -1
  8. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_wait_help.rst +1 -1
  9. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/alternatives.rst +1 -1
  10. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/data.rst +8 -0
  11. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/index.rst +0 -1
  12. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/conf.py +28 -1
  13. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/index.rst +0 -16
  14. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/logging.rst +17 -0
  15. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/pyproject.toml +2 -1
  16. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/bash_completion.d/hs +8 -4
  17. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/man/man1/hs.1 +31 -8
  18. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/man/man1/hsx.1 +31 -8
  19. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/man/man1/hyper-shell.1 +31 -8
  20. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/zsh/site-functions/_hs +6 -5
  21. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/exceptions.py +6 -1
  22. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/logging.py +325 -51
  23. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/queue.py +16 -10
  24. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/data/__init__.py +26 -13
  25. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/data/model.py +89 -19
  26. hypershell-2.9.0a2/src/hypershell/data/upgrade.py +432 -0
  27. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/server.py +4 -1
  28. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/task.py +253 -36
  29. hypershell-2.9.0a2/tests/__init__.py +172 -0
  30. hypershell-2.9.0a2/tests/fixtures/README.md +52 -0
  31. hypershell-2.9.0a2/tests/fixtures/hypershell-2.8.3.db +0 -0
  32. hypershell-2.9.0a2/tests/fixtures/make-2.8.3-db.sh +89 -0
  33. hypershell-2.9.0a2/tests/fixtures/make-legacy-postgres.sh +108 -0
  34. hypershell-2.9.0a2/tests/test_card_info.py +70 -0
  35. hypershell-2.9.0a2/tests/test_card_integration.py +74 -0
  36. hypershell-2.9.0a2/tests/test_card_render.py +216 -0
  37. hypershell-2.9.0a2/tests/test_completions.py +89 -0
  38. hypershell-2.9.0a2/tests/test_data/test_upgrade.py +348 -0
  39. hypershell-2.9.0a2/tests/test_initdb.py +106 -0
  40. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_list.py +44 -0
  41. hypershell-2.9.0a2/tests/test_logging.py +520 -0
  42. hypershell-2.9.0a2/tests/test_retry_gate.py +301 -0
  43. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_source.py +12 -11
  44. hypershell-2.9.0a2/tests/test_status_label.py +75 -0
  45. hypershell-2.9.0a2/tests/test_upgrade_cli.py +425 -0
  46. hypershell-2.9.0a2/tests/test_upgrade_postgres.py +479 -0
  47. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/uv.lock +107 -64
  48. hypershell-2.9.0a1/docs/_include/initdb_desc.rst +0 -8
  49. hypershell-2.9.0a1/docs/blog/20230329_2_2_0_release.rst +0 -85
  50. hypershell-2.9.0a1/docs/blog/20230413_2_3_0_release.rst +0 -83
  51. hypershell-2.9.0a1/docs/blog/20230602_2_4_0_release.rst +0 -284
  52. hypershell-2.9.0a1/docs/blog/20240518_2_5_0_release.rst +0 -285
  53. hypershell-2.9.0a1/docs/blog/20240706_2_5_2_release.rst +0 -80
  54. hypershell-2.9.0a1/docs/blog/20241115_2_6_0_release.rst +0 -162
  55. hypershell-2.9.0a1/docs/blog/20241115_announce_logo.rst +0 -15
  56. hypershell-2.9.0a1/docs/blog/20241231_2_6_1_release.rst +0 -58
  57. hypershell-2.9.0a1/docs/blog/20250215_2_6_5_release.rst +0 -54
  58. hypershell-2.9.0a1/docs/blog/20250405_2_6_6_release.rst +0 -58
  59. hypershell-2.9.0a1/docs/blog/20250504_2_7_0_release.rst +0 -228
  60. hypershell-2.9.0a1/docs/blog/20260705_2_8_0_release.rst +0 -855
  61. hypershell-2.9.0a1/docs/blog/index.rst +0 -188
  62. hypershell-2.9.0a1/docs/roadmap.rst +0 -53
  63. hypershell-2.9.0a1/docs/tutorial/advanced.rst +0 -6
  64. hypershell-2.9.0a1/docs/tutorial/basic.rst +0 -8
  65. hypershell-2.9.0a1/docs/tutorial/distributed.rst +0 -6
  66. hypershell-2.9.0a1/docs/tutorial/hybrid.rst +0 -6
  67. hypershell-2.9.0a1/tests/__init__.py +0 -84
  68. hypershell-2.9.0a1/tests/test_initdb.py +0 -82
  69. hypershell-2.9.0a1/tests/test_logging.py +0 -119
  70. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/.gitignore +0 -0
  71. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/CODE_OF_CONDUCT.md +0 -0
  72. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/LICENSE +0 -0
  73. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/README.rst +0 -0
  74. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/Makefile +0 -0
  75. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/citation.rst +0 -0
  76. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/client_desc.rst +0 -0
  77. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/client_help.rst +0 -0
  78. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/client_usage.rst +0 -0
  79. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/cluster_desc.rst +0 -0
  80. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/cluster_help.rst +0 -0
  81. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/cluster_usage.rst +0 -0
  82. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_desc.rst +0 -0
  83. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_edit_desc.rst +0 -0
  84. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_edit_help.rst +0 -0
  85. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_edit_usage.rst +0 -0
  86. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_get_desc.rst +0 -0
  87. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_get_help.rst +0 -0
  88. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_get_usage.rst +0 -0
  89. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_help.rst +0 -0
  90. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_intro.rst +0 -0
  91. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_intro_alt.rst +0 -0
  92. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_param_ref.rst +0 -0
  93. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_pythonpath.rst +0 -0
  94. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_set_desc.rst +0 -0
  95. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_set_help.rst +0 -0
  96. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_set_usage.rst +0 -0
  97. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_site_vars.rst +0 -0
  98. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_task_env.rst +0 -0
  99. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_task_env_alt.rst +0 -0
  100. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_usage.rst +0 -0
  101. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_which_desc.rst +0 -0
  102. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_which_help.rst +0 -0
  103. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/config_which_usage.rst +0 -0
  104. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/desc.rst +0 -0
  105. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/exit_status.rst +0 -0
  106. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/initdb_help.rst +0 -0
  107. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/initdb_usage.rst +0 -0
  108. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/license.rst +0 -0
  109. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/security_alt.rst +0 -0
  110. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/server_desc.rst +0 -0
  111. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/server_help.rst +0 -0
  112. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/server_usage.rst +0 -0
  113. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/signals.rst +0 -0
  114. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/submit_desc.rst +0 -0
  115. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/submit_help.rst +0 -0
  116. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/submit_usage.rst +0 -0
  117. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_groups_alt.rst +0 -0
  118. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_info_desc.rst +0 -0
  119. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_info_usage.rst +0 -0
  120. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_run_desc.rst +0 -0
  121. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_run_help.rst +0 -0
  122. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_run_usage.rst +0 -0
  123. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_search_desc.rst +0 -0
  124. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_submit_desc.rst +0 -0
  125. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_submit_help.rst +0 -0
  126. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_submit_usage.rst +0 -0
  127. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_update_desc.rst +0 -0
  128. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_update_help.rst +0 -0
  129. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_update_usage.rst +0 -0
  130. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_wait_desc.rst +0 -0
  131. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/task_wait_usage.rst +0 -0
  132. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/templates.rst +0 -0
  133. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/templates_alt.rst +0 -0
  134. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_include/tls_cli_options.rst +0 -0
  135. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_static/custom.css +0 -0
  136. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_static/logo-dark-mode.png +0 -0
  137. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/_static/logo-light-mode.png +0 -0
  138. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/client.rst +0 -0
  139. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/cluster.rst +0 -0
  140. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/index.rst +0 -0
  141. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/server.rst +0 -0
  142. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/api/submit.rst +0 -0
  143. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/client.rst +0 -0
  144. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/cluster.rst +0 -0
  145. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/config.rst +0 -0
  146. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/config_edit.rst +0 -0
  147. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/config_get.rst +0 -0
  148. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/config_set.rst +0 -0
  149. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/config_which.rst +0 -0
  150. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/initdb.rst +0 -0
  151. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/server.rst +0 -0
  152. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/submit.rst +0 -0
  153. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_info.rst +0 -0
  154. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_run.rst +0 -0
  155. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_search.rst +0 -0
  156. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_submit.rst +0 -0
  157. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_update.rst +0 -0
  158. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/cli/task_wait.rst +0 -0
  159. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/config.rst +0 -0
  160. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/database.rst +0 -0
  161. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/getting_started.rst +0 -0
  162. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/install.rst +0 -0
  163. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/manual.rst +0 -0
  164. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/security.rst +0 -0
  165. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/docs/templates.rst +0 -0
  166. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/share/bash_completion.d/hsx +0 -0
  167. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/__init__.py +0 -0
  168. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/client.py +0 -0
  169. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/cluster/__init__.py +0 -0
  170. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/cluster/local.py +0 -0
  171. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/cluster/remote.py +0 -0
  172. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/cluster/ssh.py +0 -0
  173. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/config.py +0 -0
  174. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/__init__.py +0 -0
  175. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/config.py +0 -0
  176. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/fsm.py +0 -0
  177. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/heartbeat.py +0 -0
  178. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/platform.py +0 -0
  179. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/pretty_print.py +0 -0
  180. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/remote.py +0 -0
  181. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/resource.py +0 -0
  182. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/signal.py +0 -0
  183. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/sys.py +0 -0
  184. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/tag.py +0 -0
  185. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/template.py +0 -0
  186. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/thread.py +0 -0
  187. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/tls.py +0 -0
  188. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/types.py +0 -0
  189. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/core/uuid.py +0 -0
  190. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/data/core.py +0 -0
  191. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/src/hypershell/submit.py +0 -0
  192. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/conftest.py +0 -0
  193. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_autoscale.py +0 -0
  194. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_cancel.py +0 -0
  195. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_client.py +0 -0
  196. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_cluster.py +0 -0
  197. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_data/__init__.py +0 -0
  198. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_data/test_core.py +0 -0
  199. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_data/test_model.py +0 -0
  200. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_factory_fsm.py +0 -0
  201. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_groups.py +0 -0
  202. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_main.py +0 -0
  203. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_meta_status.py +0 -0
  204. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_queue_tls.py +0 -0
  205. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_restart.py +0 -0
  206. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_server.py +0 -0
  207. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_signal.py +0 -0
  208. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_submit.py +0 -0
  209. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_submit_json.py +0 -0
  210. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_template.py +0 -0
  211. {hypershell-2.9.0a1 → hypershell-2.9.0a2}/tests/test_update.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: hypershell
3
- Version: 2.9.0a1
3
+ Version: 2.9.0a2
4
4
  Summary: A cross-platform, high-throughput computing utility for processing shell commands over a distributed, asynchronous queue.
5
5
  Project-URL: Homepage, https://hypershell.org
6
6
  Project-URL: Documentation, https://hypershell.readthedocs.io
@@ -106,4 +106,23 @@ SQLite is automatically initialized upon opening the connection but
106
106
  Postgres must be explicitly initialized via ``hs initdb`` or at launch with
107
107
  the ``--initdb`` command-line option.
108
108
 
109
+ An existing database created by an earlier release is upgraded in place on first use,
110
+ for both SQLite and Postgres; there is no separate migration step. The upgrade only adds what
111
+ is missing (tables, columns, and indexes) and never drops or rewrites existing tasks. The one
112
+ removal is on Postgres, where the ``UNIQUE`` constraints on the retry-chain columns
113
+ (``previous_id`` and ``next_id``) are dropped. The upgrade holds an exclusive lock on the
114
+ tables while it adds columns and builds indexes, which can take minutes on a large database.
115
+ Processes started meanwhile wait for it, logging a line every 30 seconds, and then carry on.
116
+ If the lock is still held after 15 minutes (e.g., by a session left idle in a transaction), the
117
+ upgrade gives up with an error that names what it waited on and leaves the schema unchanged;
118
+ find and stop that session, then try again.
119
+
120
+ SQLite cannot drop a table constraint without rebuilding the table, so a SQLite database
121
+ created by an earlier release (2.8, or the 2.9.0a1 pre-release) keeps those ``UNIQUE``
122
+ constraints. This has no effect on behaviour in normal operation. It only matters in the rare cases where a failed task could be retried twice: two
123
+ servers running against one database (which is not supported), a server killed between
124
+ scheduling a retry and marking the original task as retried, or a task's ``retried`` flag reset
125
+ after the fact. In those cases an older SQLite database rejects the second retry with an error,
126
+ where a newer one records it.
127
+
109
128
  See also the :ref:`command-line interface <cli_initdb>` for ``hs initdb``.
@@ -8,6 +8,16 @@ This can be entirely through environment variables or within files.
8
8
  SQLite is automatically initialized upon opening the connection but
9
9
  Postgres must be explicitly initialized via ``hs initdb`` or at launch with
10
10
  the ``--initdb`` command-line option.
11
+ An existing database created by an earlier release is upgraded in place on first use,
12
+ for both SQLite and Postgres. The upgrade only adds missing tables, columns, and indexes and never
13
+ rewrites existing tasks; on Postgres it also drops the ``UNIQUE`` constraints on the retry-chain
14
+ columns. It holds an exclusive lock while it runs (minutes, on a large database), and processes
15
+ started meanwhile wait for it. A SQLite database created by an
16
+ earlier release (2.8, or the 2.9.0a1 pre-release) keeps those constraints, with no effect on
17
+ behaviour in normal operation. Only in the rare cases where a failed task could be retried
18
+ twice (two servers on one database, which is not supported; a server killed while scheduling a
19
+ retry; a task's ``retried`` flag reset after the fact) does it reject the second retry with an
20
+ error, where a newer database records it.
11
21
 
12
22
  SQLite only needs the local file path.
13
23
 
@@ -0,0 +1,9 @@
1
+ Initialize database.
2
+
3
+ For SQLite this happens automatically.
4
+ An existing database from an earlier release is upgraded in place on first use.
5
+ See also ``--initdb`` for the ``hs cluster`` command.
6
+
7
+ The available special actions are mutually exclusive.
8
+ The ``--rotate`` operation migrates completed tasks into the next database partition,
9
+ recording that partition's index in each moved task's ``part`` column.
@@ -8,7 +8,8 @@ Options
8
8
  ^^^^^^^
9
9
 
10
10
  ``-f``, ``--format`` *FORMAT*
11
- Format task info ([normal], json, yaml).
11
+ Format task info ([normal], card, json, yaml). The ``card`` format renders the task as a
12
+ richly-formatted, bordered panel with a color-coded status badge (see ``task search``).
12
13
 
13
14
  ``--json``
14
15
  Format metadata output as JSON.
@@ -31,6 +31,15 @@ Options
31
31
  ``-g``, ``--group`` *GROUP*
32
32
  Filter results to a single task group.
33
33
 
34
+ ``--part`` *N*
35
+ Filter results to a single database partition.
36
+
37
+ After ``hs initdb --rotate``, completed tasks are moved into numbered partition files and
38
+ stamped with that partition's index in their ``part`` column. ``--part`` *N* restricts the
39
+ listing to a single partition (``--part 0`` is the main database). The filter is a plain
40
+ column comparison and works on any backend, though only the SQLite provider populates
41
+ ``part`` via rotation.
42
+
34
43
  ``-s``, ``--order-by`` *FIELD* ``[--desc]``
35
44
  Order results by field. Optionally, in descending order.
36
45
 
@@ -63,11 +72,13 @@ Options
63
72
  (see ``--cancelled``).
64
73
 
65
74
  ``-f``, ``--format`` *FORMAT*
66
- Specify output format (either ``normal``, ``plain``, ``table``, ``csv``, ``json``).
75
+ Specify output format (either ``normal``, ``card``, ``plain``, ``table``, ``csv``, ``json``).
67
76
 
68
77
  Default is ``normal`` for whole-task output. If any *FIELD* names are given, output is
69
78
  formatted in simple ``plain`` text; use ``csv`` for compliant output. The pretty-printed
70
- ``table`` formatting is good for presentation on wide screens.
79
+ ``table`` formatting is good for presentation on wide screens. The ``card`` format renders
80
+ each task as a richly-formatted, bordered panel that adapts to the terminal width and shows a
81
+ color-coded status badge; like ``normal`` it needs the whole task (not a subset of *FIELD* s).
71
82
 
72
83
  See ``--csv``, ``--json``, and ``--delimiter``.
73
84
 
@@ -1,5 +1,5 @@
1
1
  ``hs`` ``list`` ``[-h]``
2
- ``[FIELD [FIELD ...]]`` ``[-w COND [COND ...]]`` ``[-t TAG [TAG...]]`` ``[-g GROUP]``
2
+ ``[FIELD [FIELD ...]]`` ``[-w COND [COND ...]]`` ``[-t TAG [TAG...]]`` ``[-g GROUP]`` ``[--part N]``
3
3
  ``[--order-by FIELD [--desc]]`` ``[--count | --limit NUM]``
4
4
  ``[-f FORMAT | --json | --csv]`` ``[-d CHAR]`` ``[-i]``
5
5
  ``[--failed | --succeeded | --completed | --remaining]`` ``[--retries]``
@@ -16,7 +16,7 @@ Options
16
16
  See ``task info`` command.
17
17
 
18
18
  ``-f``, ``--format`` *FORMAT*
19
- Format task info ([normal], json, yaml).
19
+ Format task info ([normal], card, json, yaml).
20
20
 
21
21
  ``--json``
22
22
  Format metadata output as JSON.
@@ -515,7 +515,7 @@ This is where *HyperShell* has a natural role beyond the flat regime. Because Ne
515
515
  executor layer is pluggable, *HyperShell* is well-positioned to serve as a **high-throughput
516
516
  executor backend** beneath Nextflow — absorbing the many small tasks that should never become
517
517
  individual Slurm jobs — while Nextflow handles the DAG, containers, and resume logic it does
518
- best. (A ``hypershell-nextflow`` integration is on the :ref:`roadmap <roadmap>`.)
518
+ best.
519
519
 
520
520
  -------------------
521
521
 
@@ -10,6 +10,10 @@
10
10
 
11
11
  Access to low-level database objects and methods.
12
12
 
13
+ The command-line programs check the database before they touch it. Python API callers
14
+ (e.g., :func:`hypershell.server.serve_from`) bypass that check, so run :func:`ensuredb` first;
15
+ it initializes the database or upgrades an existing one in place.
16
+
13
17
  -------------------
14
18
 
15
19
  Functions
@@ -29,6 +33,10 @@ Functions
29
33
 
30
34
  |
31
35
 
36
+ .. autofunction:: upgradedb
37
+
38
+ |
39
+
32
40
  .. autofunction:: truncatedb
33
41
 
34
42
  .. warning::
@@ -6,7 +6,6 @@ Command-line Interface
6
6
  Most people will use *HyperShell* as a command-line utility.
7
7
  Everything shown here is available on Linux and macOS as a *manual page*.
8
8
  See our :ref:`Python API <library>` for use as a library.
9
- See our :ref:`tutorials <tutorial_basic>` (COMING SOON) for use-case specific demonstrations.
10
9
 
11
10
  The ``hsx`` program is short-hand for ``hs cluster``.
12
11
 
@@ -39,9 +39,36 @@ extensions = [
39
39
  'sphinx_sitemap',
40
40
  'sphinx_inline_tabs',
41
41
  'sphinx_copybutton',
42
- 'sphinxcontrib.details.directive'
42
+ 'sphinxcontrib.details.directive',
43
+ 'sphinx_reredirects',
43
44
  ]
44
45
 
46
+ # The Tutorial, blog, and roadmap pages moved to the hypershell.org site. sphinx-reredirects emits a
47
+ # meta-refresh stub at each old path so previously-published ReadTheDocs URLs redirect there instead
48
+ # of 404ing. Keys must be explicit (non-wildcard): the source docs are deleted, and a wildcard would
49
+ # match only pages that still exist. The durable native RTD dashboard redirects are documented in
50
+ # spec/docs-trim-migrated-sections/redirect-runbook.md.
51
+ redirects = {
52
+ 'tutorial/basic': 'https://www.hypershell.org/tutorials/basic',
53
+ 'tutorial/distributed': 'https://www.hypershell.org/tutorials/distributed',
54
+ 'tutorial/hybrid': 'https://www.hypershell.org/tutorials/hybrid',
55
+ 'tutorial/advanced': 'https://www.hypershell.org/tutorials/advanced',
56
+ 'blog/index': 'https://www.hypershell.org/blog',
57
+ 'blog/20230329_2_2_0_release': 'https://www.hypershell.org/blog/hypershell-2-2-0',
58
+ 'blog/20230413_2_3_0_release': 'https://www.hypershell.org/blog/hypershell-2-3-0',
59
+ 'blog/20230602_2_4_0_release': 'https://www.hypershell.org/blog/hypershell-2-4-0',
60
+ 'blog/20240518_2_5_0_release': 'https://www.hypershell.org/blog/hypershell-2-5-0',
61
+ 'blog/20240706_2_5_2_release': 'https://www.hypershell.org/blog/hypershell-2-5-2',
62
+ 'blog/20241115_2_6_0_release': 'https://www.hypershell.org/blog/hypershell-2-6-0',
63
+ 'blog/20241115_announce_logo': 'https://www.hypershell.org/blog/new-logo-and-discord',
64
+ 'blog/20241231_2_6_1_release': 'https://www.hypershell.org/blog/hypershell-2-6-1',
65
+ 'blog/20250215_2_6_5_release': 'https://www.hypershell.org/blog/hypershell-2-6-5',
66
+ 'blog/20250405_2_6_6_release': 'https://www.hypershell.org/blog/hypershell-2-6-6',
67
+ 'blog/20250504_2_7_0_release': 'https://www.hypershell.org/blog/hypershell-2-7-0',
68
+ 'blog/20260705_2_8_0_release': 'https://www.hypershell.org/blog/hypershell-2-8-0',
69
+ 'roadmap': 'https://www.hypershell.org/about',
70
+ }
71
+
45
72
  # Add any paths that contain templates here, relative to this directory.
46
73
  templates_path = ['_templates']
47
74
  source_suffix = '.rst'
@@ -201,19 +201,3 @@ If this software has helped facilitate your research please consider citing us.
201
201
  logging
202
202
  database
203
203
  templates
204
-
205
- .. toctree::
206
- :hidden:
207
- :caption: Tutorial
208
-
209
- tutorial/basic
210
- tutorial/distributed
211
- tutorial/hybrid
212
- tutorial/advanced
213
-
214
- .. toctree::
215
- :hidden:
216
- :caption: Project
217
-
218
- blog/index
219
- roadmap
@@ -289,6 +289,23 @@ If you set an explicit ``path`` it is honored verbatim, with one exception: for
289
289
  ``client`` role — which is launched en masse across a cluster — the hostname is appended so
290
290
  the mass-launched clients still never share a file.
291
291
 
292
+ Each active slot is guarded by an adjacent ``<file>.lock`` *sidecar*. The sidecar carries the
293
+ owning process's identity — its process id, start time, short hostname, and run instance —
294
+ written while the advisory lock is held, so any later process can tell whether a *live* process
295
+ still holds the slot. Sidecars are ephemeral: a process removes its own on a clean exit, and the
296
+ next process to win the canonical slot sweeps any left behind by a crash — removing only the
297
+ ``.lock`` file, **never** any ``.log`` data. A lock file lingering without a live owner is
298
+ therefore harmless and self-healing, not a sign that anything is wrong. (The non-distributed
299
+ ``main`` role is never host-scoped and never pruned.)
300
+
301
+ The numbered ``<role>-<host>-2.log``, ``-3``, … files produced by *genuinely concurrent*
302
+ same-host processes are legitimate per-rank output and are **never** deleted, truncated, or
303
+ merged — one client per rank (e.g. under ``srun`` with one client per GPU) is expected, not a
304
+ fault. Relatedly, revisiting a host at a *lower* concurrency than a previous run can leave an
305
+ earlier rank's rotated or compressed files (e.g. ``client-<host>-3.20260101.log.gz``) with no
306
+ active writer; these dangling rotated leaves are legitimate and are left untouched — remove them
307
+ yourself if you no longer need them.
308
+
292
309
  |
293
310
 
294
311
  Parameters
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hypershell"
3
- version = "2.9.0a1"
3
+ version = "2.9.0a2"
4
4
  description = "A cross-platform, high-throughput computing utility for processing shell commands over a distributed, asynchronous queue."
5
5
  readme = "README.rst"
6
6
  license = "Apache-2.0"
@@ -84,6 +84,7 @@ docs = [
84
84
  "sphinxcontrib-details-directive>=0.1.0",
85
85
  "sphinx-toolbox>=3.5.0",
86
86
  "sphinx-inline-tabs>=2023.4.21",
87
+ "sphinx-reredirects>=0.1.3",
87
88
  "enum-tools[sphinx]>=0.12.0",
88
89
  "furo>=2025.12.19",
89
90
  "setuptools<81",
@@ -294,7 +294,7 @@ function _hs_task_info() {
294
294
 
295
295
  case "${previous}" in
296
296
  -f | --format)
297
- COMPREPLY=($(compgen -W "normal json yaml" -- "${current}"))
297
+ COMPREPLY=($(compgen -W "normal card json yaml" -- "${current}"))
298
298
  return
299
299
  ;;
300
300
  -x | --extract)
@@ -324,7 +324,7 @@ function _hs_task_wait() {
324
324
  return
325
325
  ;;
326
326
  -f | --format)
327
- COMPREPLY=($(compgen -W "normal json yaml" -- "${current}"))
327
+ COMPREPLY=($(compgen -W "normal card json yaml" -- "${current}"))
328
328
  return
329
329
  ;;
330
330
  esac
@@ -374,7 +374,7 @@ function _hs_task_search() {
374
374
  local current="${COMP_WORDS[COMP_CWORD]}"
375
375
  local previous="${COMP_WORDS[COMP_CWORD - 1]}"
376
376
 
377
- local all_opts="-h --help --all -w --where -t --with-tag -g --group -s --order-by --desc
377
+ local all_opts="-h --help --all -w --where -t --with-tag -g --group --part -s --order-by --desc
378
378
  -F --failed -C --completed -S --succeeded -R --remaining -X --cancelled --retries --signal
379
379
  -f --format --csv --json -d --delimiter -l --limit -c --count
380
380
  -i --ignore-partitions --fields --tag-keys --tag-values"
@@ -410,8 +410,12 @@ function _hs_task_search() {
410
410
  COMPREPLY=($(compgen -W "0 1 2 3" -- "${current}"))
411
411
  return
412
412
  ;;
413
+ --part)
414
+ COMPREPLY=($(compgen -W "0 1 2 3" -- "${current}"))
415
+ return
416
+ ;;
413
417
  -f | --format)
414
- COMPREPLY=($(compgen -W "normal plain table csv json" -- "${current}"))
418
+ COMPREPLY=($(compgen -W "normal card plain table csv json" -- "${current}"))
415
419
  return
416
420
  ;;
417
421
  -d | --delimiter)
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
28
  .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
29
  .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30
30
  ..
31
- .TH "HS" "1" "Jul 23, 2026" "2.9.0a1" "hypershell"
31
+ .TH "HS" "1" "Nov 02, 2026" "2.9.0a2" "hypershell"
32
32
  .SH NAME
33
33
  hs \- Process shell commands over a distributed, asynchronous queue
34
34
  .SH SYNOPSIS
@@ -1174,11 +1174,12 @@ See the \fIsecurity\fP section for peer verification modes.
1174
1174
  Initialize database.
1175
1175
  .sp
1176
1176
  For SQLite this happens automatically.
1177
+ An existing database from an earlier release is upgraded in place on first use.
1177
1178
  See also \fB\-\-initdb\fP for the \fBhs cluster\fP command.
1178
1179
  .sp
1179
1180
  The available special actions are mutually exclusive.
1180
- The \fB\-\-rotate\fP operation migrates completed tasks to the next database partition,
1181
- and applies a special purpose \fBpart:N\fP tag to the new partition and remaining tasks.
1181
+ The \fB\-\-rotate\fP operation migrates completed tasks into the next database partition,
1182
+ recording that partition\(aqs index in each moved task\(aqs \fBpart\fP column.
1182
1183
  .SS Actions
1183
1184
  .INDENT 0.0
1184
1185
  .TP
@@ -1225,7 +1226,8 @@ Unique task UUID.
1225
1226
  .INDENT 0.0
1226
1227
  .TP
1227
1228
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1228
- Format task info ([normal], json, yaml).
1229
+ Format task info ([normal], card, json, yaml). The \fBcard\fP format renders the task as a
1230
+ richly\-formatted, bordered panel with a color\-coded status badge (see \fBtask search\fP).
1229
1231
  .TP
1230
1232
  .B \fB\-\-json\fP
1231
1233
  Format metadata output as JSON.
@@ -1286,7 +1288,7 @@ Print task info after completion.
1286
1288
  See \fBtask info\fP command.
1287
1289
  .TP
1288
1290
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1289
- Format task info ([normal], json, yaml).
1291
+ Format task info ([normal], card, json, yaml).
1290
1292
  .TP
1291
1293
  .B \fB\-\-json\fP
1292
1294
  Format metadata output as JSON.
@@ -1338,7 +1340,7 @@ will return any task with that \fIkey\fP defined regardless of \fIvalue\fP (incl
1338
1340
  .INDENT 0.0
1339
1341
  .TP
1340
1342
  .B \fBhs\fP \fBlist\fP \fB[\-h]\fP
1341
- \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP
1343
+ \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP \fB[\-\-part N]\fP
1342
1344
  \fB[\-\-order\-by FIELD [\-\-desc]]\fP \fB[\-\-count | \-\-limit NUM]\fP
1343
1345
  \fB[\-f FORMAT | \-\-json | \-\-csv]\fP \fB[\-d CHAR]\fP \fB[\-i]\fP
1344
1346
  \fB[\-\-failed | \-\-succeeded | \-\-completed | \-\-remaining]\fP \fB[\-\-retries]\fP
@@ -1401,6 +1403,15 @@ Specifying a full \fIkey\fP:\fIvalue\fP pair will match on both.
1401
1403
  .B \fB\-g\fP, \fB\-\-group\fP \fIGROUP\fP
1402
1404
  Filter results to a single task group.
1403
1405
  .TP
1406
+ .B \fB\-\-part\fP \fIN\fP
1407
+ Filter results to a single database partition.
1408
+ .sp
1409
+ After \fBhs initdb \-\-rotate\fP, completed tasks are moved into numbered partition files and
1410
+ stamped with that partition\(aqs index in their \fBpart\fP column. \fB\-\-part\fP \fIN\fP restricts the
1411
+ listing to a single partition (\fB\-\-part 0\fP is the main database). The filter is a plain
1412
+ column comparison and works on any backend, though only the SQLite provider populates
1413
+ \fBpart\fP via rotation.
1414
+ .TP
1404
1415
  .B \fB\-s\fP, \fB\-\-order\-by\fP \fIFIELD\fP \fB[\-\-desc]\fP
1405
1416
  Order results by field. Optionally, in descending order.
1406
1417
  .TP
@@ -1433,11 +1444,13 @@ A task terminated by \fBHUP\fP lands on \-1 and is therefore treated as cancelle
1433
1444
  (see \fB\-\-cancelled\fP).
1434
1445
  .TP
1435
1446
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1436
- Specify output format (either \fBnormal\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1447
+ Specify output format (either \fBnormal\fP, \fBcard\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1437
1448
  .sp
1438
1449
  Default is \fBnormal\fP for whole\-task output. If any \fIFIELD\fP names are given, output is
1439
1450
  formatted in simple \fBplain\fP text; use \fBcsv\fP for compliant output. The pretty\-printed
1440
- \fBtable\fP formatting is good for presentation on wide screens.
1451
+ \fBtable\fP formatting is good for presentation on wide screens. The \fBcard\fP format renders
1452
+ each task as a richly\-formatted, bordered panel that adapts to the terminal width and shows a
1453
+ color\-coded status badge; like \fBnormal\fP it needs the whole task (not a subset of \fIFIELD\fP s).
1441
1454
  .sp
1442
1455
  See \fB\-\-csv\fP, \fB\-\-json\fP, and \fB\-\-delimiter\fP\&.
1443
1456
  .TP
@@ -2627,6 +2640,16 @@ This can be entirely through environment variables or within files.
2627
2640
  SQLite is automatically initialized upon opening the connection but
2628
2641
  Postgres must be explicitly initialized via \fBhs initdb\fP or at launch with
2629
2642
  the \fB\-\-initdb\fP command\-line option.
2643
+ An existing database created by an earlier release is upgraded in place on first use,
2644
+ for both SQLite and Postgres. The upgrade only adds missing tables, columns, and indexes and never
2645
+ rewrites existing tasks; on Postgres it also drops the \fBUNIQUE\fP constraints on the retry\-chain
2646
+ columns. It holds an exclusive lock while it runs (minutes, on a large database), and processes
2647
+ started meanwhile wait for it. A SQLite database created by an
2648
+ earlier release (2.8, or the 2.9.0a1 pre\-release) keeps those constraints, with no effect on
2649
+ behaviour in normal operation. Only in the rare cases where a failed task could be retried
2650
+ twice (two servers on one database, which is not supported; a server killed while scheduling a
2651
+ retry; a task\(aqs \fBretried\fP flag reset after the fact) does it reject the second retry with an
2652
+ error, where a newer database records it.
2630
2653
  .sp
2631
2654
  SQLite only needs the local file path.
2632
2655
  .INDENT 0.0
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
28
  .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
29
  .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30
30
  ..
31
- .TH "HS" "1" "Jul 23, 2026" "2.9.0a1" "hypershell"
31
+ .TH "HS" "1" "Nov 02, 2026" "2.9.0a2" "hypershell"
32
32
  .SH NAME
33
33
  hs \- Process shell commands over a distributed, asynchronous queue
34
34
  .SH SYNOPSIS
@@ -1174,11 +1174,12 @@ See the \fIsecurity\fP section for peer verification modes.
1174
1174
  Initialize database.
1175
1175
  .sp
1176
1176
  For SQLite this happens automatically.
1177
+ An existing database from an earlier release is upgraded in place on first use.
1177
1178
  See also \fB\-\-initdb\fP for the \fBhs cluster\fP command.
1178
1179
  .sp
1179
1180
  The available special actions are mutually exclusive.
1180
- The \fB\-\-rotate\fP operation migrates completed tasks to the next database partition,
1181
- and applies a special purpose \fBpart:N\fP tag to the new partition and remaining tasks.
1181
+ The \fB\-\-rotate\fP operation migrates completed tasks into the next database partition,
1182
+ recording that partition\(aqs index in each moved task\(aqs \fBpart\fP column.
1182
1183
  .SS Actions
1183
1184
  .INDENT 0.0
1184
1185
  .TP
@@ -1225,7 +1226,8 @@ Unique task UUID.
1225
1226
  .INDENT 0.0
1226
1227
  .TP
1227
1228
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1228
- Format task info ([normal], json, yaml).
1229
+ Format task info ([normal], card, json, yaml). The \fBcard\fP format renders the task as a
1230
+ richly\-formatted, bordered panel with a color\-coded status badge (see \fBtask search\fP).
1229
1231
  .TP
1230
1232
  .B \fB\-\-json\fP
1231
1233
  Format metadata output as JSON.
@@ -1286,7 +1288,7 @@ Print task info after completion.
1286
1288
  See \fBtask info\fP command.
1287
1289
  .TP
1288
1290
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1289
- Format task info ([normal], json, yaml).
1291
+ Format task info ([normal], card, json, yaml).
1290
1292
  .TP
1291
1293
  .B \fB\-\-json\fP
1292
1294
  Format metadata output as JSON.
@@ -1338,7 +1340,7 @@ will return any task with that \fIkey\fP defined regardless of \fIvalue\fP (incl
1338
1340
  .INDENT 0.0
1339
1341
  .TP
1340
1342
  .B \fBhs\fP \fBlist\fP \fB[\-h]\fP
1341
- \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP
1343
+ \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP \fB[\-\-part N]\fP
1342
1344
  \fB[\-\-order\-by FIELD [\-\-desc]]\fP \fB[\-\-count | \-\-limit NUM]\fP
1343
1345
  \fB[\-f FORMAT | \-\-json | \-\-csv]\fP \fB[\-d CHAR]\fP \fB[\-i]\fP
1344
1346
  \fB[\-\-failed | \-\-succeeded | \-\-completed | \-\-remaining]\fP \fB[\-\-retries]\fP
@@ -1401,6 +1403,15 @@ Specifying a full \fIkey\fP:\fIvalue\fP pair will match on both.
1401
1403
  .B \fB\-g\fP, \fB\-\-group\fP \fIGROUP\fP
1402
1404
  Filter results to a single task group.
1403
1405
  .TP
1406
+ .B \fB\-\-part\fP \fIN\fP
1407
+ Filter results to a single database partition.
1408
+ .sp
1409
+ After \fBhs initdb \-\-rotate\fP, completed tasks are moved into numbered partition files and
1410
+ stamped with that partition\(aqs index in their \fBpart\fP column. \fB\-\-part\fP \fIN\fP restricts the
1411
+ listing to a single partition (\fB\-\-part 0\fP is the main database). The filter is a plain
1412
+ column comparison and works on any backend, though only the SQLite provider populates
1413
+ \fBpart\fP via rotation.
1414
+ .TP
1404
1415
  .B \fB\-s\fP, \fB\-\-order\-by\fP \fIFIELD\fP \fB[\-\-desc]\fP
1405
1416
  Order results by field. Optionally, in descending order.
1406
1417
  .TP
@@ -1433,11 +1444,13 @@ A task terminated by \fBHUP\fP lands on \-1 and is therefore treated as cancelle
1433
1444
  (see \fB\-\-cancelled\fP).
1434
1445
  .TP
1435
1446
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1436
- Specify output format (either \fBnormal\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1447
+ Specify output format (either \fBnormal\fP, \fBcard\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1437
1448
  .sp
1438
1449
  Default is \fBnormal\fP for whole\-task output. If any \fIFIELD\fP names are given, output is
1439
1450
  formatted in simple \fBplain\fP text; use \fBcsv\fP for compliant output. The pretty\-printed
1440
- \fBtable\fP formatting is good for presentation on wide screens.
1451
+ \fBtable\fP formatting is good for presentation on wide screens. The \fBcard\fP format renders
1452
+ each task as a richly\-formatted, bordered panel that adapts to the terminal width and shows a
1453
+ color\-coded status badge; like \fBnormal\fP it needs the whole task (not a subset of \fIFIELD\fP s).
1441
1454
  .sp
1442
1455
  See \fB\-\-csv\fP, \fB\-\-json\fP, and \fB\-\-delimiter\fP\&.
1443
1456
  .TP
@@ -2627,6 +2640,16 @@ This can be entirely through environment variables or within files.
2627
2640
  SQLite is automatically initialized upon opening the connection but
2628
2641
  Postgres must be explicitly initialized via \fBhs initdb\fP or at launch with
2629
2642
  the \fB\-\-initdb\fP command\-line option.
2643
+ An existing database created by an earlier release is upgraded in place on first use,
2644
+ for both SQLite and Postgres. The upgrade only adds missing tables, columns, and indexes and never
2645
+ rewrites existing tasks; on Postgres it also drops the \fBUNIQUE\fP constraints on the retry\-chain
2646
+ columns. It holds an exclusive lock while it runs (minutes, on a large database), and processes
2647
+ started meanwhile wait for it. A SQLite database created by an
2648
+ earlier release (2.8, or the 2.9.0a1 pre\-release) keeps those constraints, with no effect on
2649
+ behaviour in normal operation. Only in the rare cases where a failed task could be retried
2650
+ twice (two servers on one database, which is not supported; a server killed while scheduling a
2651
+ retry; a task\(aqs \fBretried\fP flag reset after the fact) does it reject the second retry with an
2652
+ error, where a newer database records it.
2630
2653
  .sp
2631
2654
  SQLite only needs the local file path.
2632
2655
  .INDENT 0.0
@@ -28,7 +28,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
28
  .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29
29
  .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30
30
  ..
31
- .TH "HYPER-SHELL" "1" "Jul 23, 2026" "2.9.0a1" "hypershell"
31
+ .TH "HYPER-SHELL" "1" "Nov 02, 2026" "2.9.0a2" "hypershell"
32
32
  .SH NAME
33
33
  hyper-shell \- Process shell commands over a distributed, asynchronous queue
34
34
  .SH SYNOPSIS
@@ -1174,11 +1174,12 @@ See the \fIsecurity\fP section for peer verification modes.
1174
1174
  Initialize database.
1175
1175
  .sp
1176
1176
  For SQLite this happens automatically.
1177
+ An existing database from an earlier release is upgraded in place on first use.
1177
1178
  See also \fB\-\-initdb\fP for the \fBhs cluster\fP command.
1178
1179
  .sp
1179
1180
  The available special actions are mutually exclusive.
1180
- The \fB\-\-rotate\fP operation migrates completed tasks to the next database partition,
1181
- and applies a special purpose \fBpart:N\fP tag to the new partition and remaining tasks.
1181
+ The \fB\-\-rotate\fP operation migrates completed tasks into the next database partition,
1182
+ recording that partition\(aqs index in each moved task\(aqs \fBpart\fP column.
1182
1183
  .SS Actions
1183
1184
  .INDENT 0.0
1184
1185
  .TP
@@ -1225,7 +1226,8 @@ Unique task UUID.
1225
1226
  .INDENT 0.0
1226
1227
  .TP
1227
1228
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1228
- Format task info ([normal], json, yaml).
1229
+ Format task info ([normal], card, json, yaml). The \fBcard\fP format renders the task as a
1230
+ richly\-formatted, bordered panel with a color\-coded status badge (see \fBtask search\fP).
1229
1231
  .TP
1230
1232
  .B \fB\-\-json\fP
1231
1233
  Format metadata output as JSON.
@@ -1286,7 +1288,7 @@ Print task info after completion.
1286
1288
  See \fBtask info\fP command.
1287
1289
  .TP
1288
1290
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1289
- Format task info ([normal], json, yaml).
1291
+ Format task info ([normal], card, json, yaml).
1290
1292
  .TP
1291
1293
  .B \fB\-\-json\fP
1292
1294
  Format metadata output as JSON.
@@ -1338,7 +1340,7 @@ will return any task with that \fIkey\fP defined regardless of \fIvalue\fP (incl
1338
1340
  .INDENT 0.0
1339
1341
  .TP
1340
1342
  .B \fBhs\fP \fBlist\fP \fB[\-h]\fP
1341
- \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP
1343
+ \fB[FIELD [FIELD ...]]\fP \fB[\-w COND [COND ...]]\fP \fB[\-t TAG [TAG...]]\fP \fB[\-g GROUP]\fP \fB[\-\-part N]\fP
1342
1344
  \fB[\-\-order\-by FIELD [\-\-desc]]\fP \fB[\-\-count | \-\-limit NUM]\fP
1343
1345
  \fB[\-f FORMAT | \-\-json | \-\-csv]\fP \fB[\-d CHAR]\fP \fB[\-i]\fP
1344
1346
  \fB[\-\-failed | \-\-succeeded | \-\-completed | \-\-remaining]\fP \fB[\-\-retries]\fP
@@ -1401,6 +1403,15 @@ Specifying a full \fIkey\fP:\fIvalue\fP pair will match on both.
1401
1403
  .B \fB\-g\fP, \fB\-\-group\fP \fIGROUP\fP
1402
1404
  Filter results to a single task group.
1403
1405
  .TP
1406
+ .B \fB\-\-part\fP \fIN\fP
1407
+ Filter results to a single database partition.
1408
+ .sp
1409
+ After \fBhs initdb \-\-rotate\fP, completed tasks are moved into numbered partition files and
1410
+ stamped with that partition\(aqs index in their \fBpart\fP column. \fB\-\-part\fP \fIN\fP restricts the
1411
+ listing to a single partition (\fB\-\-part 0\fP is the main database). The filter is a plain
1412
+ column comparison and works on any backend, though only the SQLite provider populates
1413
+ \fBpart\fP via rotation.
1414
+ .TP
1404
1415
  .B \fB\-s\fP, \fB\-\-order\-by\fP \fIFIELD\fP \fB[\-\-desc]\fP
1405
1416
  Order results by field. Optionally, in descending order.
1406
1417
  .TP
@@ -1433,11 +1444,13 @@ A task terminated by \fBHUP\fP lands on \-1 and is therefore treated as cancelle
1433
1444
  (see \fB\-\-cancelled\fP).
1434
1445
  .TP
1435
1446
  .B \fB\-f\fP, \fB\-\-format\fP \fIFORMAT\fP
1436
- Specify output format (either \fBnormal\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1447
+ Specify output format (either \fBnormal\fP, \fBcard\fP, \fBplain\fP, \fBtable\fP, \fBcsv\fP, \fBjson\fP).
1437
1448
  .sp
1438
1449
  Default is \fBnormal\fP for whole\-task output. If any \fIFIELD\fP names are given, output is
1439
1450
  formatted in simple \fBplain\fP text; use \fBcsv\fP for compliant output. The pretty\-printed
1440
- \fBtable\fP formatting is good for presentation on wide screens.
1451
+ \fBtable\fP formatting is good for presentation on wide screens. The \fBcard\fP format renders
1452
+ each task as a richly\-formatted, bordered panel that adapts to the terminal width and shows a
1453
+ color\-coded status badge; like \fBnormal\fP it needs the whole task (not a subset of \fIFIELD\fP s).
1441
1454
  .sp
1442
1455
  See \fB\-\-csv\fP, \fB\-\-json\fP, and \fB\-\-delimiter\fP\&.
1443
1456
  .TP
@@ -2627,6 +2640,16 @@ This can be entirely through environment variables or within files.
2627
2640
  SQLite is automatically initialized upon opening the connection but
2628
2641
  Postgres must be explicitly initialized via \fBhs initdb\fP or at launch with
2629
2642
  the \fB\-\-initdb\fP command\-line option.
2643
+ An existing database created by an earlier release is upgraded in place on first use,
2644
+ for both SQLite and Postgres. The upgrade only adds missing tables, columns, and indexes and never
2645
+ rewrites existing tasks; on Postgres it also drops the \fBUNIQUE\fP constraints on the retry\-chain
2646
+ columns. It holds an exclusive lock while it runs (minutes, on a large database), and processes
2647
+ started meanwhile wait for it. A SQLite database created by an
2648
+ earlier release (2.8, or the 2.9.0a1 pre\-release) keeps those constraints, with no effect on
2649
+ behaviour in normal operation. Only in the rare cases where a failed task could be retried
2650
+ twice (two servers on one database, which is not supported; a server killed while scheduling a
2651
+ retry; a task\(aqs \fBretried\fP flag reset after the fact) does it reject the second retry with an
2652
+ error, where a newer database records it.
2630
2653
  .sp
2631
2654
  SQLite only needs the local file path.
2632
2655
  .INDENT 0.0