Skip to content

docs(e2e): record the readiness-gate rule for e2e specs - #898

Merged
jarvis9443 merged 1 commit into
mainfrom
docs/e2e-readiness-gate-rule
Aug 5, 2026
Merged

docs(e2e): record the readiness-gate rule for e2e specs#898
jarvis9443 merged 1 commit into
mainfrom
docs/e2e-readiness-gate-rule

Conversation

@jarvis9443

Copy link
Copy Markdown
Contributor

Follow-up to #897.

The invariant that makes a propagation gate sound — seeded resources arrive as etcd watch events in revision order, so waiting on resource N proves only that everything up to N landed — lived only in tag-routing-e2e.test.ts's comment. #897 duly repeated the race it prevents: the new spec gated on a model seeded mid-sequence and then asserted on resources written after it. It passed anyway, because a later test in the same file runs against a snapshot the earlier test already warmed, which is exactly what makes this class hard to notice.

tests/e2e/ had no scoped instructions file, so the rule had nowhere to live where the next spec author would see it. Adding one with just this rule, plus the two shapes a gate must not take: a request that exercises the behavior under test (a regression then reads as a 30s timeout instead of an assertion diff), and a catch-all that swallows every error (a 401 before key propagation is normal, but an upstream or transport failure should surface as itself).

No code or test changes.

The invariant that makes a propagation gate sound lived only in one
spec's comment, so a new spec repeated the race it prevents: gating on a
model seeded mid-sequence while asserting on resources written after it.
Test ordering masked it, since a later test in the same file already ran
against a warm snapshot.

tests/e2e/ had no scoped instructions file; add one carrying just this
rule, at the narrowest scope that covers it.
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 39 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

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.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bbb03817-cbb9-4561-ae69-881ad4ac9b83

📥 Commits

Reviewing files that changed from the base of the PR and between b75ec96 and 6dc385f.

📒 Files selected for processing (1)
  • tests/e2e/AGENTS.md

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

@jarvis9443
jarvis9443 merged commit 67d9669 into main Aug 5, 2026
9 checks passed
@jarvis9443
jarvis9443 deleted the docs/e2e-readiness-gate-rule branch August 5, 2026 09:12
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