Skip to content

Drain live events with bounded parallelism#299

Merged
kjgbot merged 1 commit into
mainfrom
factory-sdk-bounded-live-drain-sb-impl3
Jun 13, 2026
Merged

Drain live events with bounded parallelism#299
kjgbot merged 1 commit into
mainfrom
factory-sdk-bounded-live-drain-sb-impl3

Conversation

@kjgbot

@kjgbot kjgbot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • prepare live events serially for replay suppression, identity dedupe, and same-issue/tracked-issue suppression
  • process prepared live issue paths in bounded parallel batches of 5, yielding between batches
  • add regressions for bounded read concurrency, same-issue K-batch suppression, duplicate event identity suppression, replay cutoff, and heartbeat freshness coverage

Validation

  • rm -rf /Users/khaliqgant/Projects/AgentWorkforce/pear/node_modules/.cache/pear-factory-sdk
  • npm run typecheck:node
  • npx vitest run packages/factory-sdk (2/2 full runs green, 328/328)
  • targeted live-drain suite green
  • RED-on-revert probes: serializing the batch makes the bounded-parallel test fail; disabling same-issue prefilter makes the same-issue suppression test fail; disabling the time cutoff makes the old-replay suppression test fail

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kjgbot, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 33 minutes and 16 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2835d242-eba3-4bd6-94cb-57cabd941216

📥 Commits

Reviewing files that changed from the base of the PR and between a913949 and 0e11632.

📒 Files selected for processing (2)
  • packages/factory-sdk/src/orchestrator/factory.test.ts
  • packages/factory-sdk/src/orchestrator/factory.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch factory-sdk-bounded-live-drain-sb-impl3

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 and usage tips.

@kjgbot kjgbot added the no-agent-relay-review Disable agent-relay automated PR review/fixes label Jun 13, 2026
@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

@kjgbot kjgbot merged commit cc346eb into main Jun 13, 2026
5 checks passed
@kjgbot kjgbot deleted the factory-sdk-bounded-live-drain-sb-impl3 branch June 13, 2026 22:12
@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

2 similar comments
@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

@agent-relay-code

Copy link
Copy Markdown
Contributor

ℹ️ pr-reviewer: review only — no file changes were applied to the PR (nothing to commit after review). The notes below are advisory and were not pushed.

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

1 similar comment
@agent-relay-code

Copy link
Copy Markdown
Contributor

pr-reviewer could not complete review for #299 in AgentWorkforce/pear.
The review harness exited with code 1.
No review was posted; this needs operator attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-agent-relay-review Disable agent-relay automated PR review/fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant