Skip to content

fix(boot): isolate connector startup failures#1488

Merged
corylanou merged 2 commits into
mainfrom
detent/detent-digitaldrywood_detent_1483-07b78d9a0d9b
Jul 22, 2026
Merged

fix(boot): isolate connector startup failures#1488
corylanou merged 2 commits into
mainfrom
detent/detent-digitaldrywood_detent_1483-07b78d9a0d9b

Conversation

@corylanou

Copy link
Copy Markdown
Contributor

Summary

  • keep Detent serving while connector creation or provisioning failures degrade only the affected project
  • retry transient connector startup failures in-process with bounded exponential backoff, jitter, cancellation, and shutdown joining
  • expose per-project connector state, last error, retry deadline, and terminal policy through snapshots and /health

Fixes #1483

UI Surface Contract

  • N/A; this PR adds project health data without changing dashboard layout, density, or responsive visibility.
  • This PR does not add persistent top-of-screen messaging.
  • N/A; there are no visual changes to primary operator screens.

Test Plan

  • make check
  • focused race tests for project retry, reconciliation, supervised boot, snapshot, and health behavior
  • regression tests for transient provisioning/factory failures, bounded jittered backoff, unaffected projects, permanent failures, and runtime survival

@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: 740dfd9048

ℹ️ 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 internal/project/manager.go Outdated
@corylanou
corylanou merged commit 7f79768 into main Jul 22, 2026
11 checks passed
@corylanou
corylanou deleted the detent/detent-digitaldrywood_detent_1483-07b78d9a0d9b branch July 22, 2026 15:29
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.

bug(boot): transient project connector provisioning failure crash-loops supervised Detent

1 participant