Skip to content

docs(issues): revise outbox rollout and v1 delivery proposal - #569

Merged
imshashank merged 8 commits into
mainfrom
docs/issue-outbox-current
Nov 16, 2026
Merged

imshashank merged 8 commits into
mainfrom
docs/issue-outbox-current

Conversation

@imshashank

@imshashank imshashank commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Continues #539 as a 70-line internal design proposal in .github/proposals/issue-outbox.md. It states the delivery contract and staged rollout for an Issue realtime outbox. This PR adds no application code, migration, scheduler, configuration, feature activation or deployment.

The proposal requires an independent default-off producer gate covering Human and Agent writes, sequential consumer/storage/producer releases, unchanged v1 global since semantics, a proven recovery path for each supported client surface, current authorization checks, bounded delivery lifetime/retries/backlog, response-safe draining and an explicit rollback floor. It preserves the earlier #512/#523/#524/#525 history. Request idempotency remains separate under #407.

The Actor reader, compatibility, consent and controlled-write stages are already on main. Merging this proposal neither blocks those releases nor authorizes outbox implementation or activation. Producers for a surface stay disabled until its recovery guarantees are reviewed and verified.

Validation

Published head: 8887782ab7d7e6f9f980bd8aede89f07607ea238.
Includes merged dependency main 06b7b32919e5383ec84b8a9b73f76f022cdbc975.
Tree: 323814170a4ade9de2f0b63254b7a7acc10dee34.

Current-main integration was clean and preserves the one-file documentation scope. Frozen install, commit policy checks, pre-push lint and every workspace typecheck pass. The public documentation build passes at this head. Clean full bun run verify passes at this exact head: 6,979 tests, zero failures and no skips. Fresh exact-head CI passes all six jobs: lint/types, schema, build, unit/integration and both browser suites. CodeQL and link checks also pass. No review threads remain open.

The preceding stable-main proposal candidate and the merged dependency batch each passed full verification with 6,979 tests and zero failures. Those runs support publishing this clean integration but do not replace its fresh checks. The failure-test matrix in the proposal is planned implementation work, not executed outbox validation.

Refs #539, #512, #215, #407, #562, #564, #565, #566.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Noveum/orbit
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 06b7b32
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f5ac9670-8993-4b9a-ae01-f7676d0b266e
Commits

Reviewing files that changed from the base of the PR and between 06b7b32 and 8887782.

Files selected for processing: 1

  • .github/proposals/issue-outbox.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions github-actions Bot added documentation Docs, the README, or anything that explains Orbit ci Workflows, tooling and repo automation labels Nov 4, 2026

@imshashank imshashank left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the full 70-line proposal and its current-main refresh. The proposal bytes are unchanged from the reviewed revision, and the published tree exactly matches the local artifact. It stays outside public product docs and adds no runtime, migration, scheduler or activation. Human and Agent producer gates, unchanged v1 global-since semantics, current authorization, bounded retries/retention, response-safe draining, explicit recovery prerequisites and sequential rollback floors are stated clearly. Comment/byte policies, the docs build and pre-push workspace lint/types pass. No remaining manual documentation blocker. Implementation tests and activation remain future work, and fresh CI/ready-state review still gate merging this proposal.

yxr-2025 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Hi! Thanks for clarifying the v1 direction. I’ve been checking the recovery behavior before continuing the outbox implementation.

In a local test, an event below a connection’s subscription watermark was filtered while the connection remained open, so reconnect recovery was not triggered. I also found that an older client version only performs a since-based sync on reconnect. It may therefore still miss that event after a forced reconnect. I don’t know whether that version is still in use.

I tested a potential gap between a client starting its reconnect refresh and the server completing subscription authorization. The test reproduced a missed event using simulated timing; it was not a full database integration test.

Could you clarify what range of older clients v1 needs to support, and what recovery guarantees are expected when an event is delayed below the subscription watermark or exhausts its delivery retries? For surfaces where safe recovery can’t be established under the existing v1 contract, would you prefer keeping the corresponding producers disabled until a recovery mechanism is available?

Thanks!

imshashank commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Manual review of remote head 6f97b18: no documentation source blocker in the 70-line internal proposal. It preserves v1 filtering, keeps Human and Agent producers off until recovery is proven, and authorizes no runtime, migration or activation.

For the older-client recovery question, a reconnect is not sufficient evidence when the old bundle still requests only since. Keep each affected producer disabled until the supported-client matrix and a concrete recovery path are verified. This is an implementation prerequisite already stated by the proposal.

A local integration with stable main 5e5778fa merged cleanly with no conflicts. Its complete difference from main is still this one 70-line proposal. That integrated tree, 6227726d0f732c1de30e51340763254d6c3a3f4f, passed all bun run verify checks with 6,979 tests, zero failures, plus the public docs build. It is uncommitted and unpushed; the remote PR remains draft.

Refresh onto the final dependency-integrated main, update the stale validation head in the description, and run exact-head CI before merging. The historical Sprint E2E failure matches the earlier main baseline and does not establish a Markdown regression. This review approves only the proposal's documented scope, not its future implementation or activation.

@imshashank
imshashank marked this pull request as ready for review November 16, 2026 09:09
@imshashank
imshashank requested a review from pulkitxm as a code owner November 16, 2026 09:09

@imshashank imshashank left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manually reviewed the final one-file, 70-line proposal against current main 06b7b32. The staged consumer/storage/producer rollout, unchanged v1 watermark contract, authorization fences, bounded retries/lifetime, response-safe draining and rollback floor are explicit. Unsupported client surfaces must keep producers disabled until a separately reviewed recovery path exists.

No documentation blocker remains. Exact-head local verification passed 6,979 tests with zero failures, the documentation build passed, and all fresh CI jobs plus CodeQL and link checks passed. There are no open review threads. This review covers the design document; implementation and activation require their own reviewed changes and release evidence.

@imshashank
imshashank merged commit a79b93d into main Nov 16, 2026
13 of 14 checks passed
@imshashank
imshashank deleted the docs/issue-outbox-current branch November 16, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Workflows, tooling and repo automation documentation Docs, the README, or anything that explains Orbit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants