Skip to content

Preserve active watches across worker updates - #7

Merged
eimexdev merged 5 commits into
masterfrom
feat/worker-updates
Sep 12, 2026
Merged

eimexdev merged 5 commits into
masterfrom
feat/worker-updates

Conversation

@eimexdev

@eimexdev eimexdev commented Sep 12, 2026

Copy link
Copy Markdown
Owner

New MCP sessions resume saved watches and hand the shared worker to a newer installed runtime after its current operation finishes. Persisted baselines, pending changes, and delivery IDs survive the handoff. Older sessions reuse the newer runtime, including after idle. Failed candidate startup leaves the current worker running and reports its PID and version alongside the update error. MCP connections retry missing workers every 30 seconds without background registry polling.

Process tests cover accepted and ambiguous in-flight deliveries, concurrent upgrade requests, failed startup, retained queued state, downgrade prevention, and recovery on MCP connection. Worker ownership and version are committed atomically. Release numbering advances future nightlies beyond a promoted stable version.

Validation: Linux suite and packed installation checks pass; all 54 tests passed on Gideon. CI checks Linux, macOS, Windows, and installation from the published tarball layout.

Compatibility scope: this establishes the first supported worker handoff protocol. Migration from the initial unused npm releases is intentionally excluded. The review finding requesting that migration was declined on that basis.

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 762536ec-b630-4ed2-b569-d9fc95f02da3


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 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-12T04:07:52.175743Z 9d7c524 New commits
🔒 Security Review Completed 2026-09-12T03:58:09.070892Z 2d9d9d2 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: 2d9d9d21c9

ℹ️ 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 src/worker.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: 71c0c268a0

ℹ️ 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 src/worker.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: 9d7c524b37

ℹ️ 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 tests/updates.test.ts
@eimexdev
eimexdev merged commit 58deb1d into master Sep 12, 2026
7 checks passed
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