Skip to content

Verify Keychain access in the iPhone simulator - #113

Merged
n0rpan merged 16 commits into
mainfrom
mobile/simulator-keychain
Nov 29, 2026
Merged

n0rpan merged 16 commits into
mainfrom
mobile/simulator-keychain

Conversation

@n0rpan

@n0rpan n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Part of #95. The successful simulator artifact from #110 shows “A required entitlement is not present” on its initial pairing screen. The simulator check used to pass as soon as the UIKit scene was active, even though looking up the paired host in Keychain had already failed.

Include a simulator-only application identifier in the entitlement section and require a successful Keychain lookup during the normal simulator launch. The distribution build continues to use its provisioning profile for signing.

Validation

  • bash -n for both scripts, cargo fmt --manifest-path desktop/Cargo.toml --all -- --check, and git diff --check passed.
  • The PR's macOS job will check the actual iOS 27 simulator. Linux has only the device SDK.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T01:42:22.135452Z 35f4d20 Manual request
🔒 Security Review ✅ Completed 2026-11-28T20:55:24.800820Z 2e3ac2a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2e3ac2af55

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/ox-mobile/build.sh Resolved
@n0rpan

n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 79d2112234

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Base automatically changed from mobile/native-app to main November 28, 2026 23:14
@n0rpan

n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: c5cf855ac7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@n0rpan n0rpan added the full-ci label Nov 28, 2026
@n0rpan

n0rpan commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

In line to merge. Commit 35f4d20 is reviewed with nothing blocking; it enters the merge queue when OX merge check passes.

@n0rpan

n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the full-ci label, for commit c5cf855.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: c5cf855ac7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@n0rpan
n0rpan enabled auto-merge November 28, 2026 23:29
@n0rpan
n0rpan added this pull request to the merge queue Nov 28, 2026
@n0rpan

n0rpan commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator Author

The merge-group run's Host sessions (stock Claude floor) job failed in host_upgrade_session.py after the fixture released the running turn. The old host closed the socket while the fixture was waiting for the final event. This PR changes the simulator build and Keychain check, and does not change the host engine or test. I'm testing a separate transport fix that lets the graceful restart flush its queued frames.

Failing job

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 29, 2026
Install the UserNotifications delegate at launch without requesting authorization or an APNs token. Expose typed Rust events for permission and registration outcomes, token rotation, and taps that carry only the bounded ox.approval_ref. Keep the event queue and duplicate-response memory bounded, ignore stale authorization callbacks, link UserNotifications, and leave the simulator build free of push entitlements.

Based on #112 (ade4e2f).
@n0rpan n0rpan added full-ci and removed full-ci labels Nov 29, 2026
@n0rpan
n0rpan enabled auto-merge November 29, 2026 01:11
@n0rpan
n0rpan added this pull request to the merge queue Nov 29, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 29, 2026
@n0rpan

n0rpan commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the full-ci label, for commit 35f4d20.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 35f4d20734

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@n0rpan
n0rpan enabled auto-merge November 29, 2026 01:42
@n0rpan
n0rpan added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit 09137f7 Nov 29, 2026
33 checks passed
@n0rpan
n0rpan deleted the mobile/simulator-keychain branch November 29, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant