Repository navigation
test(web): a real write through the DAPI request budget - #78
Merged
Merged
Conversation
Registers a browser key and creates a repo through the fetch gate and checks both reached broadcastStateTransition and waitForStateTransitionResult. The rb-* specs only read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 42 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an e2e test that writes through the DAPI request budget (follow-up to #72)
Adds
e2e/rate-budget-write.spec.ts(rbw-1). Therb-*specs from #72 only covered reads. This test runs the two write paths the owner reported as hanging, both through the #72 fetch gate:For each write it asserts that the transition reached
broadcastStateTransitionandwaitForStateTransitionResult, and that the write landed. It also asserts that the gate never refused a write call and that "Platform is busy" was not shown.Run it with
E2E_WRITE=1. It usesE2E_WRITE_IDENTITYif set, otherwise the CI-RUNNER fixture file. Each run adds one limited key and one repo to that identity.The reported write hang is not caused by #72
The owner saw every write hang with no broadcast. I reproduced this on https://forge.dashhq.org, which runs the #72 build:
dash-forgeIndexedDB open at v1 (an old build): the same import hangs, with no broadcast and no sign-in after 45 s.The sign-in agent's analysis matches this:
lib/idb.tsretries an upgrade that another tab is blocking.The fix, a fail-fast IndexedDB open with a named error, is in
fix/signin-spinner-timeouts. Until it ships, closing or reloading the other Dash Forge tabs clears the hang.Verified: rbw-1 passed live on moutai against the current master build (15 s). The identity was minted fresh (
impl-p1/p1w1), not a shared fixture.🤖 Generated with Claude Code