Skip to content

refactor(stack): centralize service activation policy - #6042

Open
jgoux wants to merge 4 commits into
lazy-stack/01-artifactsfrom
lazy-stack/02-lifecycle
Open

refactor(stack): centralize service activation policy#6042
jgoux wants to merge 4 commits into
lazy-stack/01-artifactsfrom
lazy-stack/02-lifecycle

Conversation

@jgoux

@jgoux jgoux commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Stack layer 2 of 7, based on #6041.

Defines one activation policy for every stack service and moves companion ownership into the stack lifecycle:

  • distinguishes direct, HTTP-proxied, WebSocket-proxied, and companion services
  • starts imgproxy with Storage and Vector with Analytics
  • keeps service activation dependency-aware for explicit lifecycle calls
  • covers the full service matrix without introducing Fleet behavior

@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 5cb141b to 39d03a3 Compare August 4, 2026 07:43
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from b0dfc78 to 0355a4d Compare August 4, 2026 07:43
@jgoux
jgoux marked this pull request as ready for review August 4, 2026 07:49
@jgoux
jgoux requested a review from a team as a code owner August 4, 2026 07:49

@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: 0355a4dff9

ℹ️ 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/stack/src/ServiceActivation.ts
Comment thread packages/stack/src/StackLifecycleCoordinator.ts
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 39d03a3 to 3bdb698 Compare August 4, 2026 08:04
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 0355a4d to 23de12e Compare August 4, 2026 08:04
Comment thread packages/stack/src/ServiceActivation.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 23de12e to 6174ffd Compare August 4, 2026 08:48

@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: 6174ffd46a

ℹ️ 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/Orchestrator.ts Outdated
Comment thread packages/process-compose/src/Orchestrator.ts Outdated
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 3bdb698 to a8cc0a1 Compare August 4, 2026 09:32
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 6174ffd to b3ef005 Compare August 4, 2026 09:32

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

ℹ️ 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/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from a8cc0a1 to 8c25625 Compare August 4, 2026 09:41
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from b3ef005 to 423ce02 Compare August 4, 2026 09:41

@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: 423ce0250e

ℹ️ 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/Orchestrator.ts Outdated
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 8c25625 to 462a1fb Compare August 4, 2026 10:20
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 423ce02 to f0fc42d Compare August 4, 2026 10:20
Comment thread packages/stack/src/StackLifecycleCoordinator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from f0fc42d to eab5a5f Compare August 4, 2026 10:37

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

ℹ️ 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/Orchestrator.ts
Comment thread packages/process-compose/src/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from eab5a5f to 7c34456 Compare August 4, 2026 11:07
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 462a1fb to beda5f5 Compare August 4, 2026 11:07

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

ℹ️ 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/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 7c34456 to 4d03b81 Compare August 4, 2026 11:25

@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: 4d03b81201

ℹ️ 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/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 4d03b81 to b360ce2 Compare August 4, 2026 11:34
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from beda5f5 to 4fba440 Compare August 4, 2026 11:34

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

ℹ️ 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/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from b360ce2 to 8d89478 Compare August 4, 2026 11:45

@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: 8d8947831f

ℹ️ 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/Orchestrator.ts Outdated
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 4fba440 to a66d82d Compare August 4, 2026 12:02
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 8d89478 to 12a7ac8 Compare August 4, 2026 12:02

@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: 12a7ac847c

ℹ️ 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/stack/src/StackLifecycleCoordinator.ts
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 12a7ac8 to 9c77220 Compare August 4, 2026 12:12

@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: 9c772207f3

ℹ️ 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/Orchestrator.ts Outdated
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 9c77220 to 7e44bb5 Compare August 4, 2026 12:48

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

ℹ️ 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/Orchestrator.ts

@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: 589b65c489

ℹ️ 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/Orchestrator.ts
@jgoux
jgoux force-pushed the lazy-stack/01-artifacts branch from 23ccff4 to f2a6ae5 Compare August 4, 2026 14:06
@jgoux
jgoux force-pushed the lazy-stack/02-lifecycle branch from 589b65c to 5838abe Compare August 4, 2026 14:06
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.

1 participant