Skip to content

feat(relay): monitor health windows and serialize readiness writes - #2490

Merged
kunickiaj merged 1 commit into
mainfrom
feat/relay-health-monitor
Nov 3, 2026
Merged

kunickiaj merged 1 commit into
mainfrom
feat/relay-health-monitor

Conversation

@kunickiaj

@kunickiaj kunickiaj commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Description

Combine authenticated probes and real-client observations into relay health windows. Pause or trip readiness after failures, require healthy windows before recovery, and serialize publication so an unhealthy observation during an in-flight write reaches durable state. Stop reports whether the final pause was published.

An overflow-tripped minute is excluded from the five healthy windows required for recovery.

Type of Change

  • 🚀 Feature (new functionality)

Testing

  • Relevant checks pass locally: root typechecks, Biome, and 32 monitor tests.
  • Added/updated tests for changes

Tests include both deterministic publication-race regressions, cancellation, stop confirmation, and health-window transitions.

Checklist

  • Code follows project style
  • Self-review completed
  • No new warnings introduced

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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-11-03T22:46:19.221533Z c802175 New commits
ℹ️ 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: 4507a6969f

ℹ️ 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/core/src/relay-health.ts Resolved
@kunickiaj
kunickiaj force-pushed the feat/relay-health-probes-storage branch from 494833f to 12a7a0a Compare November 3, 2026 22:25
@kunickiaj
kunickiaj force-pushed the feat/relay-health-monitor branch from 4507a69 to 190dd3b Compare November 3, 2026 22:25

kunickiaj commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner Author

Merge activity

  • Nov 3, 10:37 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Nov 3, 10:45 PM UTC: Graphite rebased this pull request as part of a merge.
  • Nov 3, 10:49 PM UTC: @kunickiaj merged this pull request with Graphite.

@kunickiaj
kunickiaj changed the base branch from feat/relay-health-probes-storage to graphite-base/2490 November 3, 2026 22:38
@kunickiaj
kunickiaj changed the base branch from graphite-base/2490 to main November 3, 2026 22:43
@kunickiaj
kunickiaj force-pushed the feat/relay-health-monitor branch from 190dd3b to c802175 Compare November 3, 2026 22:44

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

ℹ️ 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/core/src/relay-health.ts Resolved
@kunickiaj
kunickiaj merged commit 4fb08e4 into main Nov 3, 2026
18 checks passed
@kunickiaj
kunickiaj deleted the feat/relay-health-monitor branch November 3, 2026 22:49
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