Skip to content

test: target iOS 27.2 on macmini1 - #1398

Merged
ovitrif merged 1 commit into
masterfrom
codex/ios-e2e-macmini-runtime
Nov 23, 2026
Merged

ovitrif merged 1 commit into
masterfrom
codex/ios-e2e-macmini-runtime

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Companion: #1371
Dependencies: synonymdev/bitkit-e2e-tests#320 (merged) and synonymdev/bitkit-e2e-tests#321

This PR sets the self-hosted iOS E2E gate to the iPhone 17 simulator on iOS 27.2 provisioned on macmini1.

Description

  • Sets the simulator name and runtime on the self-hosted job so Appium requests the same runtime that the runner boots. The reset step uses the configured device name.
  • The merged XCUITest driver update starts Appium sessions through Device Hub on Xcode 27.2. Failed PR check

Design

CI configuration.

Preview

N/A

QA Notes

Setup

Use macmini1 with Xcode 27.2 and the iPhone 17 simulator on iOS 27.2 build 24B8117. Use the shared lockfile from synonymdev/bitkit-e2e-tests#320 and the workflow's local regtest stack.

Journeys

N/A

Manual Tests

N/A

Automated Checks

  • Ran actionlint on the workflow. The installed linter reports the existing cache-mode keys as unsupported, so the check filtered only that message.
  • Ran SwiftFormat 0.64.6 in lint mode and git diff --check.

Evidence

  • The shared dependency PR's @send_1 passed on macmini1 with the same simulator model and runtime, including both keyboard-dismissal assertions. Targeted run

  • Hosted staging passed 28 UI cases and six Pubky cases with the new driver. Staging

  • Hosted migration passed all four native and React Native scenarios with the new driver. Migration

  • The first regular PR attempt ran all 13 cases. Nine passed. Three restore cases and the LNURL scanner case failed on each attempt. The companion test fix reproduces and addresses both causes. First PR attempt

  • The normal PR retry reused the original build and picked up the final fix: keep event listeners after node restart #321 commit on the matching E2E branch. All 13 cases passed across the two built-in attempts. The required e2e-status, unit tests, integration tests and SwiftFormat are green. Gate job · Required e2e-status

Gaps

N/A

Models used

  • Planning/scoping: gpt-6.2-sol (reasoning: high)
  • Implementation: gpt-6.2-sol (reasoning: high)
  • Review: Not performed

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] No additional changes are needed beyond the shared driver update already required by the author.

Summary

Pins the self-hosted E2E job to the iPhone 17 simulator on iOS 27.2.

  • The self-hosted E2E gate targets iPhone 17 on iOS 27.2.

Acknowledged dependency: piotr-iohk states that the shared XCUITest driver update in synonymdev/bitkit-e2e-tests#320 must merge first so Appium can start sessions through Device Hub on Xcode 27.2.

Reviews (1) · Last reviewed commit: "ci: select iOS 27.2 for the self-hosted ..." · Reviewed by Greptile

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No findings. Pins the self-hosted iOS E2E job to the iPhone 17 simulator on iOS 27.2 by exporting SIMULATOR_NAME and SIMULATOR_OS_VERSION, and erases the configured device instead of a hard-coded name. Reviewed caa0cb1, full tier (workflow file).

What I checked, and 3 candidates I ruled out

Read in full: .github/workflows/e2e-tests.yml at the head; in synonymdev/bitkit-e2e-tests (default branch) ci_run_ios.sh, wdio.conf.ts, wdio.no-install.conf.ts.
Consumers traced: ci_run_ios.sh reads both variables (defaults iPhone 17 / 26.0.1) and exports them; wdio.conf.ts passes them as appium:deviceName and appium:platformVersion. Job-level env reaches all three test attempts and the erase step, so the values line up end to end.
Build: not built. Static review: this is a CI config change and iOS does not build on this reviewer's Linux host.
CI: SwiftFormat, validate, detect-changes green; build-local, Run Tests and Run Integration Tests still pending at review time, so the E2E gate on this head has not reported yet.

Ruled out

  • Device selection ignores the runtime: ensure_booted_simulator picks the first iPhone 17 ( UDID regardless of runtime, so a runner holding iPhone 17 devices on two runtimes could hand Appium a UDID that does not match platformVersion: 27.2. That logic lives in the E2E repo and predates this diff, and the linked targeted run on macmini1 passed with this model and runtime.
  • runs-on: [self-hosted, macOS] does not name macmini1: any other runner with those labels and no 27.2 runtime would fail the session. Whether such a runner exists is not visible from the repo, so this stays unverified rather than a finding.
  • Merge order: the default E2E ref only carries the Xcode 27 Appium fix after synonymdev/bitkit-e2e-tests#320 merges; the body already states that ordering, and the matching E2E branch exists for this PR's gate.

Merge confidence: 4/5, the E2E gate that exercises this change is still pending on this head.

@piotr-iohk
piotr-iohk requested review from a team, ovitrif and pwltr and removed request for a team November 23, 2026 21:35

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed caa0cb1. The self-hosted E2E job supplies iPhone 17 and iOS 27.2 to all three attempts.

Low candidate: The reset at .github/workflows/e2e-tests.yml:356 erases by device name and ignores erase failures. If macmini1 has two simulators named iPhone 17, the reset could miss the simulator Appium uses and leave stale app state unless the test runner clears it separately. Comparing the erased UDID with the Appium session UDID would settle this for macmini1.

Review details

Quick review
Model: Claude Opus 5.5
Reasoning effort: high

General review
Model: GPT-6.2 Sol
Reasoning effort: high

Combined review
Model: GPT-6.2 Sol
Reasoning effort: high

@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

Both test attempts used the iPhone 17 simulator with UDID A4F3CB53-DD84-4CFE-86E4-FCCDF6F32BD6. The preflight erase returned “Unable to erase contents and settings in current state: Booted” after shutdown. The test suite then reinstalled Bitkit and reset the keychain on that UDID before the cases. All 13 cases passed across the two attempts. A shutdown-and-erase check can address the preflight race separately.

Review note · Mini run

@ovitrif

ovitrif commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Merged, as it was approved and green.

@ovitrif
ovitrif merged commit 2be17dd into master Nov 23, 2026
49 of 56 checks passed
@ovitrif
ovitrif deleted the codex/ios-e2e-macmini-runtime branch November 23, 2026 22:29
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.

4 participants