Repository navigation
fix(ci): restore #15712's non-iOS test-harness hunks dropped by #16709 #16745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -96,8 +96,8 @@ struct WorkspaceCloseTabsContextMenuTests { | |||||||||||
| for: tab, | ||||||||||||
| inPane: fixture.paneId | ||||||||||||
| ) | ||||||||||||
| drainMainQueue() | ||||||||||||
| drainMainQueue() | ||||||||||||
| drainMainQueueForCloseTest(timeout: mainActorTestMainQueueSpin) | ||||||||||||
| drainMainQueueForCloseTest(timeout: mainActorTestMainQueueSpin) | ||||||||||||
|
Comment on lines
+99
to
+100
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win Wait for the close state instead of a fixed interval. Each As per coding guidelines, “A correctness test waits ON a real completion signal ... and asserts a logical invariant. It never waits a fixed duration.” Proposed change- drainMainQueueForCloseTest(timeout: mainActorTestMainQueueSpin)
- drainMainQueueForCloseTest(timeout: mainActorTestMainQueueSpin)
+ waitForMainQueueWork(timeout: 4) {
+ promptCount == 1 && fixture.workspace.panelIdFromSurfaceId(tabId) == nil
+ }📝 Committable suggestion
Suggested change
🤖 Prompt for AI AgentsSource: Coding guidelines |
||||||||||||
|
|
||||||||||||
| #expect(promptCount == 1) | ||||||||||||
| #expect(fixture.workspace.panelIdFromSurfaceId(tabId) == nil) | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: manaflow-ai/cmux
Length of output: 4164
🏁 Script executed:
Repository: manaflow-ai/cmux
Length of output: 15180
🏁 Script executed:
Repository: manaflow-ai/cmux
Length of output: 2275
Remove the unused test-only helper from
AppDelegate.forgetPersistedWindowGeometryForTestProcessis a new test-only DEBUG seam in productionSources/. It has no caller in the repository, so delete it instead of moving an unused entry point to another debug file.SessionSnapshotPersistenceWriterowns the geometry key declaration and legacy-key cleanup; no new persistence helper is needed.🤖 Prompt for AI Agents