test(app): clean up v2026.5.11 release-gate e2e test debt#569
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis PR removes test infrastructure debt from ChangesComposer Dock E2E Test Cleanup
Possibly Related PRs
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested Labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Astro-Han
left a comment
There was a problem hiding this comment.
Opus second-pass review — PR #569
Pass, no blockers.
Strengths
- Pure cleanup: 145 deletions, 0 additions, 1 file. No production code touched.
- Both retired surfaces are well-justified in the PR body:
- The skip-all extra
Submitclick is genuinely stale; current contract auto-submits after the second skip and the regression test still assertsexpectQuestionOpen(page)afterwards, so the user-visible behavior is still covered. - The
dock height changestest was the classic kind issue #529 flagged — "nested scroll / ongoing rendering" boundary rather than a stable user contract. Retiring it is the right call; chasing it further would have meant deeper harness coupling for what is effectively a flaky surface assertion.
- The skip-all extra
- Helper
scrollTimelineAwayFromBottomand themkdirimport deletions are clean: both were only used by the retired test. - The "already fixed on dev" evidence chain for
prompt-mention(5a787fc5e),release-noteszh (8e6933dbf),home.specroot-route (1e965b20d) is solid — this is exactly the kind of evidence-based scope discipline #529 asked for. - Stability proof is strong:
--workers=1 --repeat-each=3 → 162 passed (4.8m)across all 5 spec files. #570follow-up cleanly carves out the unrelatedsidebar-session-organizationrepeat-run group-count flake so it does not block this PR.
Verification confirmation
bun --cwd packages/app typecheck→ passgit diff --check→ pass- Focused repeat run 162 passed across
prompt-mention/release-notes-toast/home/session-composer-dock/session-rename-dialog
Verdict
Test-only cleanup, no product behavior change. Ready for GPT-X engineering final after first-pass and this review.
There was a problem hiding this comment.
Code Review
This pull request cleans up the E2E test suite by removing the test case 'e2e composer dock keeps latest turn visible when dock height changes' along with its associated helper function 'scrollTimelineAwayFromBottom' and an unused 'mkdir' import. Additionally, it removes a redundant submit button click from the blocked question flow test. I have no feedback to provide as there were no review comments.
Summary
Clean up the remaining
#529release-gate test debt without changing product behavior. Most of the original release-gate failures were already fixed ondevby earlier PRs; this PR removes the last stalesession-composer-dockassumptions so future release checks fail only on real regressions.Why
The original
#529bucket mixed current failures with assumptions that had already drifted out of date:prompt-mentionwas already fixed ondevto search files in the active test workspace (5a787fc5e).release-noteszh setup was already fixed ondevto passLANGUAGE_KEYinto browser init (8e6933dbf).home.specroot-route behavior was already triaged as intended no-project empty state, not a regression (1e965b20d), and the model-chip assertion was already updated for intrinsic sizing (b25a0687f).0e99d6c5f).What was still live was inside
session-composer-dock.spec.ts:blocked question flow supports submitting after skipping every questionstill assumed the client needed an extra explicitSubmitclick after the final skip. Current behavior already auto-submits at that point, so the extra click was testing a stale contract.e2e composer dock keeps latest turn visible when dock height changesdepended on a nested-scroll / ongoing-rendering path that did not hold up as a stable user contract. It repeatedly behaved like release-gate debt rather than a trustworthy regression detector, so this PR retires it instead of teaching CI to chase a noisy path.This PR is therefore test-debt cleanup, not a product fix.
Related Issue
Closes #529.
Human Review Status
Pending. A human should make the final merge decision after reviewing the final diff and verification evidence.
Review Focus
Submitclick correctly matches the current skip-all blocker contract.#529, given that the path was noisy and not tied to a stable user-visible contract.devand the remaining cleanup in this diff.Risk Notes
/rendering the no-project empty state is intended IA drift, not a regression.sidebar-session-organization.spec.tswhere the group-count assertion leaks state across repeat runs. It is not part of#529's changed surface, so it is tracked in a separate follow-up issue rather than expanded into this PR.How To Verify
Screenshots or Recordings
Not needed. This is a test-only PR with no visible product change.
Checklist
dev, and my PR title and commit messages use Conventional Commits in EnglishSummary by CodeRabbit