Skip to content

Add operational lifecycle signals - #58

Merged
knifecake merged 2 commits into
mainfrom
feature/operational-signals
Sep 6, 2026
Merged

knifecake merged 2 commits into
mainfrom
feature/operational-signals

Conversation

@knifecake

Copy link
Copy Markdown
Owner

Summary

  • add public ProcessLifecycle and QueueLifecycle sender types
  • emit process start, stop, and restart signals with stable operational payloads
  • emit queue pause and resume signals, including whether state actually changed
  • keep internal runtime and model objects out of the public signal contract
  • prevent forked children from falsely emitting supervisor shutdown events
  • document the signals and add regression coverage, including a real-fork probe

Test plan

  • make lint
  • full PostgreSQL suite: 171 tests passed
  • focused observability signal suite: 5 tests passed
  • Sphinx documentation build

Closes #23

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T21:04:27.166516Z bba33ae PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bba33aeac7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread steady_queue/processes/supervisor.py
@knifecake
knifecake merged commit 1565d16 into main Sep 6, 2026
3 checks passed
@knifecake
knifecake deleted the feature/operational-signals branch September 6, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add signals for worker lifecycle

1 participant