Repository navigation
Restore file preview review CI coverage - #4883
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughCI xcodebuild ChangesUnit Test Quarantine Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 17 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (17 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 |
Greptile SummaryRestores CI coverage for
Confidence Score: 5/5This PR is safe to merge — it touches only CI config and test scaffolding with no production code changes. The change is confined to a CI skip-list removal and test-only teardown additions. Defer ordering in all modified tests is correct (panels and windows are released before their backing files are deleted), and no production Swift, state, or runtime code is touched. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[macOS Unit Test Job] --> B{FilePreviewReviewFeedbackTests}
B -->|Previously skipped| C[Tests not run]
B -->|After this PR| D[Tests run]
D --> E[testSavingTextViewUsesChordedSaveShortcut]
D --> F[testQuickLookSessionCloseDoesNotDeactivateMountedRepresentableView]
D --> G[testQuickLookSessionDismantlingRetiredViewDoesNotResetActivePreviewItem]
D --> H[testFocusCoordinatorKeepsPendingFocusUntilEndpointHasWindow]
D --> I[testFileOpenHonorsExplicitPaneDestinationInsteadOfReusingExistingPreview]
Reviews (3): Last reviewed commit: "Restore file preview review CI coverage" | Re-trigger Greptile |
cf37264 to
d03a22d
Compare
d03a22d to
2cfc97f
Compare
Summary
Restores
cmuxTests/FilePreviewReviewFeedbackTeststo the required macOS unit-test job by removing the broad class-level skip from.github/workflows/ci.yml.This continues the quarantine reduction tracked by #4524.
Verification
git diff --checkruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml"); puts "ci.yml parsed"'\n- Hosted PR checks will exercise the restored class.\nNeed help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Note
Low Risk
CI skip removal and XCTest cleanup only; no app or auth/data-path changes.
Overview
Re-enables
FilePreviewReviewFeedbackTestson the macOS unit-test job by dropping the class-level-skip-testingentry from.github/workflows/ci.yml, continuing quarantine rollback for file-preview review coverage.Tests in that class now tear down UI state so CI is less flaky:
defer { panel.close() }onFilePreviewPanelfixtures, window cleanup in the focus-coordinator test, andworkspace.teardownAllPanels()in the file-open pane test.Reviewed by Cursor Bugbot for commit 2cfc97f. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Restores CI for
cmuxTests/FilePreviewReviewFeedbackTestsby removing its skip in.github/workflows/ci.yml, and hardens tests withdefer { panel.close() }, window cleanup, andworkspace.teardownAllPanels()to reduce flakiness. Continues the quarantine rollback in #4524.Written for commit 2cfc97f. Summary will update on new commits. Review in cubic
Summary by CodeRabbit