Skip to content

fix: restore quiescence settings when stability waits throw - #1281

Open
KazuCocoa wants to merge 2 commits into
masterfrom
codex/fix-quiescence-setting-restoration
Open

KazuCocoa wants to merge 2 commits into
masterfrom
codex/fix-quiescence-setting-restoration

Conversation

@KazuCocoa

Copy link
Copy Markdown
Member

A failing stability wait leaves the application's quiescence flag and global idle timeout overridden, affecting subsequent commands. Restore both in @finally, retain the same application instance throughout the operation, and serialize temporary overrides.

Inject a throwing process double and assert that both settings return to their prior values.

Validation: all 178 native unit tests passed on an iOS 26.5 simulator using a local integration branch containing this review series. The regression tests are included in this PR. Native changes were built with Xcode 27.1.

@KazuCocoa
KazuCocoa marked this pull request as ready for review September 29, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants