test(drive): retry duplicate-remote push in live E2E#1403
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughTwo e2e test tweaks: the duplicate-remote subtest now uses ChangesE2E test updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
d14d15a to
61826c9
Compare
61826c9 to
a2160dc
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1403 +/- ##
=======================================
Coverage 72.82% 72.83%
=======================================
Files 731 732 +1
Lines 69096 69140 +44
=======================================
+ Hits 50320 50356 +36
- Misses 14999 15003 +4
- Partials 3777 3781 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@5647f8ad91ebc318ae08427417a29351d7a918f4🧩 Skill updatenpx skills add yxzhaao/cli#codex/drive-dup-e2e-retry -y -g |
Summary
Why
This live E2E exercises duplicate remote resolution plus
--delete-remote. CI showed an intermittent partial failure after the correct duplicate had already been targeted. We could not stably reproduce a CLI logic bug locally, so this change treats the push step as a flaky live integration boundary and retries the whole step rather than keying off one exact error signature.Verification
go test ./tests/cli_e2e/drive -run '^TestDrive_DuplicateRemoteWorkflow$' -count=1Summary by CodeRabbit