Repository navigation
test(web): bring the e2e specs up to date with the product; deflake browse-cache - #568
Merged
Merged
Conversation
…rowse-cache The rel2 devnet QA wave and the testnet rehearsal ran the Playwright specs against the release candidate; these failures were the specs, not the app (each had a corrected control that passed): - copy and labels that moved: follower URLs by id, footer links, storage wizard wording and the no-op save, inbox note, Write role, duplicate-key Unlock, long comments stored as artifacts, renew button, retention warning; - ambiguous or unmounted locators: Base field, git push snippet, Add, the Identity file tab, assignee Apply, the members-only audience chip; - assertions too broad or stale: the star check scoped to main, the private signed-out view, the wallet tile order (devnet and testnet), the quorum-key injection now held through the broadcast, history-index's index check allowed one block per path segment (and runnable on any network that names E2E_HISTORY_REPO), Explore paging with under 24 repos, mirror wizard on any network. browse-cache.test.ts waited a fixed number of ticks for a revalidation that reads one more chunk through a MessageChannel hop; under load it lost the race. It now waits until the cache holds the new context. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou'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 17 minutes. View limit details
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.
Test-only. Two runs exercised the Playwright specs against the release candidate: the rel2 devnet QA wave (rc.3
baseline, sakura) and the testnet rehearsal. In both, these specs failed because the specs had drifted from the
product, not because the product was wrong. Each failure has a corrected control that passed live.
Mapping: R2-E2E-01..09, 12, 14..18 and 20..23 in the devnet register, plus the rehearsal's web items. Their evidence
is dash-forge-qa/evidence/devnet-rel2/e2e/findings.json and evidence/testnet-rehearsal/web/.
What changed
?id=(collab-copy);git pushsnippet (v2-pulls);Add(v2-writes, v2-private);#enc-file;main, so the new-key notice no longer trips it;testnet patch);
quorum keys itself, and asserts the injection took effect;
against the tip's tree (path-history.ts, blame.ts). It runs on any network that sets
E2E_HISTORY_REPO, and stillskips elsewhere except moutai;
lib/view/browse-cache.test.ts: it waited a fixed number of ticks for a revalidation that reads one more chunkthrough a MessageChannel hop, and lost the race under load. It failed 2 of about 4 loaded full-suite runs. It now
waits until the cache holds the new context: 80+ runs under load, 0 failures, and it fails every time with a 5 ms
chunk delay on the old code.
Not changed
snapshot is bundled yet (P4 adds it).
Verification
pnpm typecheckandpnpm lint:copyare clean;pnpm linthas no errors (its one warning, inmerge-panel.tsx, is pre-existing).
playwright test --liststill collects all 431 tests in 69 files.E2E_WRITE=1) have not been run live with these edits. A live run on devnet follows the merge.🤖 Generated with Claude Code