Skip to content

fix(ci): accept native iOS keychain filenames - #142968

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ios-signing-keychain-suffix
Sep 9, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ios-signing-keychain-suffix

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a problem where the protected iOS beta workflow rejected a valid job-owned macOS keychain when the native resolved filename did not end in -db.

Why This Change Was Made

The helper already validates the exact requested keychain inside its isolated runner-owned directory. This removes the additional filename-suffix assumption from creation and the early key-use probe while preserving path ownership, uniqueness, symlink, signing, and cleanup checks.

User Impact

Release operators can use the protected iOS beta workflow with the native keychain filename returned by macOS. The change does not alter release authority, credentials, TestFlight destination, the frozen candidate, App Review, or production promotion.

Evidence

  • Two independent pre-fix regressions reproduced the incorrect native-suffix rejection.
  • Focused keychain regressions: 4/4 passed.
  • Mobile release authority owner suite: 67/67 passed.
  • Static, formatting, and diff checks passed.
  • Two independent P0-P2 reviews found no actionable findings.
  • Exact transplant preserved stable patch ID 715829176de4adba6672600e7c113e33a972f0f3.
  • Scope is exactly .github/actions/ios-signing-keychain/keychain.mjs and test/scripts/mobile-release-authority.test.ts.
  • Production delta: -6 lines. Test delta: +255/-172 lines.
  • Hosted exact-head test types and required CI remain mandatory before landing.
  • No release workflow was dispatched and no credential or store operation was performed for this repair.

Punchcard-Session: calm-meadow-summit-7q

Punchcard-Session: calm-meadow-summit-7q
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc vincentkoc self-assigned this Sep 9, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: M maintainer Maintainer-authored PR labels Sep 9, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review September 9, 2026 08:28
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 4:34 AM ET / 08:34 UTC.

ClawSweeper review

What this changes

The iOS release signing helper accepts both native keychain filenames and expands regression coverage for creation, signing checks, and cleanup.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: reviewed main still rejects the native filename. No actionable patch defect was found, and the maintainer-authored contribution is protected from cleanup closure.

Priority: P2
Reviewed head: 69954cf4e3de5821731b6afc959389c198773a21

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A narrow owner-level repair with useful regression coverage and no identified correctness or security defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its tests exercise the real helper with mocked Fastlane and signing commands; no native after-fix signing run is claimed, and the patch does not materially change authority.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its tests exercise the real helper with mocked Fastlane and signing commands; no native after-fix signing run is claimed, and the patch does not materially change authority.
Evidence reviewed 6 items Current main still contains the defect: The reviewed main accepts both paths in its shared validator but independently rejects a path without -db during creation and probing.
Ownership and signing safeguards remain: The production diff removes only the two suffix checks. Exact path validation, regular-file and symlink checks, unique creation, configured-team selection, codesign verification, and exact-path cleanup remain. Fastlane create/delete execution establishes the relevant dependency contract.
Pinned dependency supports both filename forms: Fastlane 2.238.0 resolves either the requested path or its -db variant. Its delete action accepts the exact existing keychain_path. The tag resolves to the recorded dependency SHA.
Findings None None.
Security None None.

How this fits together

The protected iOS beta workflow creates an isolated signing keychain, imports signing credentials, and checks that its identity belongs to the configured team. The action records the exact keychain path for cleanup after the job.

flowchart LR
  A[Protected iOS beta job] --> B[Create isolated keychain]
  B --> C[Validate exact native filename]
  C --> D[Import signing credentials]
  D --> E[Verify signing team]
  E --> F[Continue beta release]
  C --> G[Recorded path for post-job cleanup]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +83, Config -6. Total +77 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 255 172 +83
Docs 0 0 0 0
Config 1 0 6 -6
Generated 0 0 0 0
Other 0 0 0 0
Total 2 255 178 +77

Review metrics

None.

Technical review

Best possible solution:

Use the validated, job-owned keychain path consistently regardless of filename suffix, retaining signing-team verification and exact-path cleanup.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: a valid signing.keychain file passes ownership validation but main then rejects its suffix in both creation and probing. Native execution was not performed.

Is this the best way to solve the issue?

Yes. Removing the contradictory checks restores the existing two-filename contract without adding a parallel path or weakening the ownership checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 008cf5d9b0a4.

Labels

Label changes:

  • add P2: This repairs a bounded filename rejection in the protected iOS beta signing workflow.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its tests exercise the real helper with mocked Fastlane and signing commands; no native after-fix signing run is claimed, and the patch does not materially change authority.

Label justifications:

  • P2: This repairs a bounded filename rejection in the protected iOS beta signing workflow.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from the external-contributor proof gate. Its tests exercise the real helper with mocked Fastlane and signing commands; no native after-fix signing run is claimed, and the patch does not materially change authority.

Evidence

What I checked:

  • Current main still contains the defect: The reviewed main accepts both paths in its shared validator but independently rejects a path without -db during creation and probing. (.github/actions/ios-signing-keychain/keychain.mjs:292, 008cf5d9b0a4)
  • Ownership and signing safeguards remain: The production diff removes only the two suffix checks. Exact path validation, regular-file and symlink checks, unique creation, configured-team selection, codesign verification, and exact-path cleanup remain. Fastlane create/delete execution establishes the relevant dependency contract. (.github/actions/ios-signing-keychain/keychain.mjs:285, 69954cf4e3de)
  • Pinned dependency supports both filename forms: Fastlane 2.238.0 resolves either the requested path or its -db variant. Its delete action accepts the exact existing keychain_path. The tag resolves to the recorded dependency SHA. (fastlane/lib/fastlane/actions/create_keychain.rb:82, 38d0ec404332)
  • Meaningful regression coverage: The changed tests exercise both filename forms through creation, state export, normal and partial-failure cleanup, and the signing probe; negative cases reject foreign paths, ambiguity, missing files, symlinks, and a wrong team. Native commands are mocked. The PR body reports 4 focused and 67 owner-suite tests passing; this review did not execute tests. (test/scripts/mobile-release-authority.test.ts:3096, 69954cf4e3de)
  • Relevant merged history: GitHub confirms fix(ci): isolate iOS release signing keychain #142846 merged as 422efac. Its raw parent comparison adds the keychain helper, including the existing two-path validator; it does not fix the suffix rejection. (.github/actions/ios-signing-keychain/keychain.mjs:92, 422efacd1ee8)
  • Release and live item checks: The helper is absent from v2026.9.3. Live REST inspection confirms this PR remains open at the reviewed head and assigned to vincentkoc. The bounded related-title search found no replacement for the filename repair. (1391f7cd2d40)

Likely related people:

  • Vincent Koc: Raw commit 422efac adds .github/actions/ios-signing-keychain/keychain.mjs:92 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 422efacd1ee8; files: .github/actions/ios-signing-keychain/keychain.mjs)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@vincentkoc
vincentkoc merged commit 6405e64 into main Sep 9, 2026
183 checks passed
@vincentkoc
vincentkoc deleted the fix/ios-signing-keychain-suffix branch September 9, 2026 14:59
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 9, 2026
…er-ownership-20260909

* origin/main: (147 commits)
  fix(cli): reject blank account selectors before command startup (#143088)
  fix(update): repair young runs after recorded drivers exit (#143136)
  test(telegram): close model callback fixture connections (#143197)
  improve(test): reduce Telegram policy fixture startup overhead (#143192)
  test(ci): stabilize systemd manager shim timing (#143134)
  fix(test): retire chat preview Escape listeners during teardown (#143191)
  test(memory-wiki): share visibility test callbacks (#143181)
  fix(ci): accept native iOS keychain filenames (#142968)
  fix(ci): show publication observations in FRV status (#143171)
  fix(github): point the stuck-FAQ auto-response at a live anchor (#143194)
  docs: correct verified accuracy defects in CLI, tools, and automation pages (#143179)
  refactor(tests): remove duplicate Mistral cache-cost test (#143172)
  fix(doctor): complete canonical model-reference migration (#142284)
  fix(ci): reject stale and empty timing sample cohorts (#143182)
  fix(ui): remove first-reply confetti from chat (#143167)
  docs: split help/faq into 13 topic pages (#143150)
  refactor(docs): require caller-owned route indexes (#143164)
  fix(android): distinguish connection status from chat readiness (#143128)
  refactor: share agent-turn execution test defaults (#143166)
  fix(cli): print immutable-config refusals without crash framing (#143140)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant