Skip to content

Release/1.2.44#596

Open
ttypic wants to merge 2 commits intomainfrom
release/1.2.44
Open

Release/1.2.44#596
ttypic wants to merge 2 commits intomainfrom
release/1.2.44

Conversation

@ttypic
Copy link
Copy Markdown
Contributor

@ttypic ttypic commented Apr 8, 2026

  • Fix exceptions when FlutterEngine is suspended during event emission #595

Summary by CodeRabbit

  • Bug Fixes

    • Fixed exceptions when FlutterEngine is suspended during event emission.
  • Chores

    • Improved iOS integration test workflow with more reliable simulator boot and staged test steps.
  • Platform Requirements

    • Raised minimum iOS deployment target to iOS 12.0; added runtime Info.plist flags for improved input and frame behavior.
  • Documentation

    • Updated README and changelog; bumped package version to 1.2.44.

@ttypic ttypic requested a review from maratal April 8, 2026 10:51
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a1955a2f-b046-4a29-9492-897ba29f079b

📥 Commits

Reviewing files that changed from the base of the PR and between a6aa7c3 and e191f39.

⛔ Files ignored due to path filters (1)
  • test_integration/ios/Podfile.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • .github/workflows/flutter_integration.yaml
  • test_integration/ios/Flutter/AppFrameworkInfo.plist
  • test_integration/ios/Podfile
  • test_integration/ios/Runner.xcodeproj/project.pbxproj
  • test_integration/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
  • test_integration/ios/Runner/AppDelegate.swift
  • test_integration/ios/Runner/Info.plist
✅ Files skipped from review due to trivial changes (6)
  • test_integration/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
  • test_integration/ios/Podfile
  • test_integration/ios/Flutter/AppFrameworkInfo.plist
  • test_integration/ios/Runner/AppDelegate.swift
  • test_integration/ios/Runner.xcodeproj/project.pbxproj
  • test_integration/ios/Runner/Info.plist
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/flutter_integration.yaml

Walkthrough

Version bumped to 1.2.44, README and CHANGELOG updated; iOS integration CI steps restructured and simulator action upgraded to futureware-tech/simulator-action@v5; iOS deployment targets, Podfile, Xcode project/scheme, AppDelegate attribute, and Info.plist flags updated for the test_integration app.

Changes

Cohort / File(s) Summary
Version & Docs
pubspec.yaml, README.md, CHANGELOG.md
Package version → 1.2.44; README dependency example updated; changelog entry added for fix addressing exceptions when FlutterEngine is suspended during event emission.
CI: iOS Integration Workflow
.github/workflows/flutter_integration.yaml
Simulator action upgraded v3v5. Integration steps split into repo flutter pub get, test_integration flutter pub get, simulator boot wait (xcrun simctl bootstatus booted -b), then flutter drive --no-pub; timeouts adjusted.
iOS deployment & Podfile
test_integration/ios/Flutter/AppFrameworkInfo.plist, test_integration/ios/Podfile
Minimum iOS target raised (9/1012.0). use_frameworks! removed from global scope and re-added inside Runner target; use_modular_headers! added to Runner.
Xcode project & scheme
test_integration/ios/Runner.xcodeproj/..., test_integration/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
objectVersion and LastUpgradeCheck/LastUpgradeVersion updated; two shell script build phases marked alwaysOutOfDate = 1; enableGPUValidationMode = "1" added to LaunchAction.
App entry & Info.plist flags
test_integration/ios/Runner/AppDelegate.swift, test_integration/ios/Runner/Info.plist
Replaced @UIApplicationMain with Swift @main on AppDelegate. Added CADisableMinimumFrameDurationOnPhone and UIApplicationSupportsIndirectInputEvents keys set to true.

Sequence Diagram(s)

sequenceDiagram
    participant CI as CI job
    participant Repo as Repository
    participant Flutter as Flutter SDK
    participant Simulator as iOS Simulator
    participant App as Runner App

    CI->>Repo: checkout
    CI->>Flutter: setup SDK
    CI->>Flutter: flutter pub get (repo)
    CI->>Flutter: flutter pub get (test_integration)
    CI->>Simulator: start via simulator-action@v5
    CI->>Simulator: xcrun simctl bootstatus booted -b (wait)
    CI->>Flutter: flutter drive --no-pub (run integration tests)
    Flutter->>App: launch tests on Simulator
    App->>CI: test results
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐇 I hopped the version up to one-two-four-four,
moved pods and plist and nudged the simulator door.
Pub gets run, the boot waits true,
then flutter drives the tests anew.
Tiny paws—CI purrs more. 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release/1.2.44' directly describes the pull request's primary purpose—a version release for package version 1.2.44, which is confirmed by version bumps in pubspec.yaml, CHANGELOG.md, README.md, and iOS configuration files.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/1.2.44

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot temporarily deployed to staging/pull/596/dartdoc April 8, 2026 10:51 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/596/features April 8, 2026 10:52 Inactive
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/flutter_integration.yaml:
- Around line 36-38: The "Run Flutter tests" step currently runs `flutter drive
--no-pub` from the repo root; add a working-directory: test_integration to that
job step so the command executes in the test_integration folder (update the step
named "Run Flutter tests" which runs `flutter drive --no-pub` to include
working-directory: test_integration).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 54b72e67-de8b-45c6-9b64-44594c2cb2dc

📥 Commits

Reviewing files that changed from the base of the PR and between 8be5c93 and 41bcbc9.

⛔ Files ignored due to path filters (4)
  • example/ios/Podfile.lock is excluded by !**/*.lock
  • example/pubspec.lock is excluded by !**/*.lock
  • test_integration/ios/Podfile.lock is excluded by !**/*.lock
  • test_integration/pubspec.lock is excluded by !**/*.lock
📒 Files selected for processing (4)
  • .github/workflows/flutter_integration.yaml
  • CHANGELOG.md
  • README.md
  • pubspec.yaml

@github-actions github-actions bot temporarily deployed to staging/pull/596/dartdoc April 8, 2026 16:38 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/596/features April 8, 2026 16:38 Inactive
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@test_integration/ios/Podfile`:
- Line 2: The integration test Podfile platform declaration (platform :ios,
'12.0') is inconsistent with ios/ably_flutter.podspec (minimum deployment target
'10.0') and Runner.xcodeproj (10.0); pick one strategy and make all configs
match: either raise the podspec minimum to 12.0 by updating the s.platform /
deployment target in ios/ably_flutter.podspec and update Runner.xcodeproj's
IPHONEOS_DEPLOYMENT_TARGET to 12.0, or keep 10/11 support by changing
test_integration/ios/Podfile to platform :ios, '10.0' (or adding separate test
lanes for 10/11) and ensure Runner.xcodeproj and ios/ably_flutter.podspec both
declare the same 10.x target; update any CI/test lanes accordingly so all three
places (test_integration/ios/Podfile, ios/ably_flutter.podspec, Runner.xcodeproj
build settings) are aligned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ab61f96f-ae57-4210-8639-b61923218dfc

📥 Commits

Reviewing files that changed from the base of the PR and between 41bcbc9 and a6aa7c3.

⛔ Files ignored due to path filters (1)
  • test_integration/ios/Podfile.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • .github/workflows/flutter_integration.yaml
  • test_integration/ios/Flutter/AppFrameworkInfo.plist
  • test_integration/ios/Podfile
  • test_integration/ios/Runner.xcodeproj/project.pbxproj
  • test_integration/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
  • test_integration/ios/Runner/AppDelegate.swift
  • test_integration/ios/Runner/Info.plist
✅ Files skipped from review due to trivial changes (2)
  • test_integration/ios/Flutter/AppFrameworkInfo.plist
  • test_integration/ios/Runner/Info.plist
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/flutter_integration.yaml

@maratal
Copy link
Copy Markdown
Collaborator

maratal commented Apr 8, 2026

@ttypic I see versions of different components downgrade in the last forced commit, is it something to worry about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants