Skip to content

RR-24: Clarify stopped-service recovery action - #41

Merged
VladimirBrejcha merged 1 commit into
mainfrom
codex/stopped-service-cta-alpha5
Sep 1, 2026
Merged

RR-24: Clarify stopped-service recovery action#41
VladimirBrejcha merged 1 commit into
mainfrom
codex/stopped-service-cta-alpha5

Conversation

@VladimirBrejcha

Copy link
Copy Markdown
Contributor

Summary

  • show Start service when a configured host has stopped brokerd
  • preserve Finish setup for verified runtime-restart recovery
  • preserve Complete first-time setup when host configuration is genuinely missing
  • keep the existing guided setup operation as the only recovery mechanism

Failure-discipline notes

RR-24 appeared from the interaction of valid existing configuration, transient service unavailability, and generic setup wording. The change centralizes the state-to-label mapping without adding another service-control path. Regression coverage separates configured service-down with and without a cached snapshot from incompatible-runtime restart and missing-host first-time setup.

Verification

  • npm run test:app:focus -- SimulatorBrokerAppTests/BrokerDashboardStoreTests — 92 tests passed
  • npm run agent:verify -- --profile implementation — full routed suite passed, including 172 app tests
  • npm run agent:verify -- --profile spec-only — passed, including 51 public-front-door tests
  • repository public-surface verification — passed
  • current-source credential/private-path scan and staged semantic diff review — passed

Installed-app evidence

The exact-candidate stopped/recovered screenshot cycle is deferred because the Studio currently has an active operator lease. No controller, service, pin, lease, or install state was touched. The installed-app cycle will be run only after occupancy reaches zero, before the next release candidate is accepted.

Residual risk

The CTA still routes through the existing idempotent guided setup flow rather than a new direct-start mechanism. That preserves recovery safety but means the label describes the intended outcome, not a newly independent service API.

@VladimirBrejcha VladimirBrejcha added the autopilot:on Enable Autopilot processing for this PR label Sep 1, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 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-01T07:12:28.071932Z c018967 Manual request
ℹ️ 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.

Why:
- A configured host with brokerd stopped instructed people to start the service while its action misleadingly said Finish setup.

Changed:
- Centralize guided setup action labels by startup state.
- Show Start service for configured stopped-service recovery while preserving restart-required and first-time setup wording.
- Cover no-snapshot, read-only snapshot, incompatible-runtime, and missing-host boundaries and update the guided setup contract.

Verification:
- npm run test:app:focus -- SimulatorBrokerAppTests/BrokerDashboardStoreTests (92 tests).
- npm run agent:verify -- --profile implementation (full app 172 tests plus routed suites).
- npm run agent:verify -- --profile spec-only (51 public-front-door tests plus contract checks).
- Current-source public-release scan and staged semantic diff review.

Affected:
- macOS dashboard and setup recovery copy only; guided setup and service-control semantics are unchanged.

Refs:
- RR-24

Session:
- task-sessions/stopped-service-cta-alpha5.oTJqYc
@VladimirBrejcha
VladimirBrejcha force-pushed the codex/stopped-service-cta-alpha5 branch from 1678a11 to c018967 Compare September 1, 2026 07:09
@VladimirBrejcha

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: c0189679b6

ℹ️ 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".

@fiveonecode-autopilot

Copy link
Copy Markdown

Reviewed top-level PR feedback and left the current code unchanged.

These items were posted as PR review bodies or conversation comments rather than unresolved review threads, so this acknowledgement is recorded on the PR timeline.

@VladimirBrejcha
VladimirBrejcha merged commit 3cfb7af into main Sep 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autopilot:on Enable Autopilot processing for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant