Skip to content

refactor(process-compose): isolate supervisor policies - #6084

Merged
jgoux merged 40 commits into
developfrom
agent/process-compose-supervisor-cleanup
Aug 6, 2026
Merged

refactor(process-compose): isolate supervisor policies#6084
jgoux merged 40 commits into
developfrom
agent/process-compose-supervisor-cleanup

Conversation

@jgoux

@jgoux jgoux commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Generalize detached orphan cleanup to validated, shell-free command and path actions.
  • Make lifecycle transition classification event-exhaustive and move ordered restart closure traversal into a pure module.
  • Remove confirmed dead error and log-buffer surface while documenting the supervisor entry and one-shot polling contracts.

Why

The process supervisor should remain domain-neutral and keep policy decisions independently testable without changing the lifecycle semantics established by the preceding work.

Depends on #6080 and transitively on #6078.

@jgoux
jgoux marked this pull request as ready for review August 5, 2026 13:58
@jgoux
jgoux requested a review from a team as a code owner August 5, 2026 13:58

@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: 442698f79a

ℹ️ 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 packages/process-compose/src/supervisor-runtime.ts Outdated

@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: a59663669e

ℹ️ 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 packages/process-compose/src/supervisor-runtime.ts Outdated

@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: 6017cc321d

ℹ️ 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 packages/process-compose/src/supervisor-runtime.ts Outdated

@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: 2c825a0eaf

ℹ️ 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 packages/process-compose/src/supervisor-runtime.ts Outdated
Base automatically changed from agent/process-compose-lifecycle-correctness to develop August 6, 2026 13:57
jgoux added 2 commits August 6, 2026 16:19
…-model

# Conflicts:
#	packages/stack/src/ServiceActivation.ts
#	packages/stack/src/StackBuilder.ts
#	packages/stack/src/StackLifecycleCoordinator.ts
…gent/process-compose-supervisor-cleanup

# Conflicts:
#	packages/process-compose/docs/architecture.md
#	packages/process-compose/src/Orchestrator.ts
#	packages/process-compose/src/ServiceTransition.ts
#	packages/stack/src/ServiceActivation.ts
#	packages/stack/src/StackBuilder.ts
#	packages/stack/src/StackLifecycleCoordinator.ts
@jgoux
jgoux enabled auto-merge August 6, 2026 14:29
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@4358f44733aa9c11e97db9129243da60f5c9d355

Preview package for commit 4358f44.

@jgoux
jgoux added this pull request to the merge queue Aug 6, 2026
Merged via the queue into develop with commit 5eaa06d Aug 6, 2026
14 checks passed
@jgoux
jgoux deleted the agent/process-compose-supervisor-cleanup branch August 6, 2026 14:45
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.

2 participants