Skip to content

fix(release): scope iOS version checks to native releases - #121863

Merged
steipete merged 1 commit into
mainfrom
fix/release-metadata-ios-scope-20260811
Aug 11, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/release-metadata-ios-scope-20260811

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where generic release-metadata checks for an npm beta invoked the iOS App Store changelog validator. For 2026.8.1-beta.2, the bare iOS check normalized the package version to 2026.8.1 and required native App Store notes that are outside npm beta scope, blocking Full Release Validation for unchanged Code SHA a652994a7c685500f3f1f0c75b6e6c68555c906f.

Why This Change Was Made

The generic release-metadata plan no longer schedules iOS version sync. Explicit native iOS release paths remain strict and continue to pass their selected version and App Store revision; Android version sync and every other generic release-metadata check remain unchanged.

User Impact

There is no user runtime behavior change. Maintainers can validate npm beta metadata without adding unrelated iOS App Store changelog notes.

Evidence

  • Before the fix, node scripts/check-changed.mjs --dry-run -- package.json CHANGELOG.md listed pnpm ios:version:check; after the fix it does not, while the other release-metadata checks remain present.
  • node scripts/run-vitest.mjs test/scripts/changed-lanes.test.ts test/scripts/ios-version.test.ts — 2 files, 172 tests passed.
  • node --import tsx scripts/ios-sync-versioning.ts --check --version 2026.8.1 --revision 0 — passed, preserving strict explicit App Store validation.
  • git diff --check — passed.
  • Isolated Codex autoreview — clean, with no accepted or actionable findings.

@clawsweeper

clawsweeper Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 11, 2026 04:46
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Aug 11, 2026
@steipete steipete self-assigned this Aug 11, 2026
@clawsweeper

clawsweeper Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 11, 2026, 12:52 AM ET / 04:52 UTC.

ClawSweeper review

What this changes

The PR stops generic release-metadata validation from running the iOS App Store version check, while retaining the native iOS release checks.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

No blocking finding: the deletion repairs the generic release-metadata planner while explicit native iOS releases still validate their selected version and App Store revision. This maintainer-labelled PR should remain open for normal exact-head CI and landing review.

Priority: P2
Reviewed head: 66823cfabfe7324b606481bb34a6e8f63fcf061c

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-boundary deletion with a relevant regression assertion and no supported correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This is a maintainer-authored release-script PR, so the external contributor real-behavior-proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is a maintainer-authored release-script PR, so the external contributor real-behavior-proof gate does not apply.
Evidence reviewed 6 items Current-main failure boundary: The release-metadata early-return plan unconditionally schedules the bare iOS check, even though release metadata includes package and iOS changelog paths.
Why a beta reaches iOS validation: A bare iOS check resolves the root package version when no explicit version is supplied, normalizes prereleases to their base version, then reads and validates the iOS changelog.
Native release path remains strict: iOS App Store preparation rejects missing version or revision and invokes the validator with both explicit values.
Findings None None.
Security None None.

How this fits together

Changed-file routing builds the validation plan for release-metadata commits. Native iOS release preparation separately invokes the same validator with an explicitly selected release version and App Store revision.

flowchart LR
  A[Release metadata files] --> B[Changed-file classifier]
  B --> C[Generic validation plan]
  C --> D[Metadata and Android checks]
  E[Native iOS release] --> F[Explicit iOS version check]
  F --> G[App Store release notes]
Loading

Before merge

  • Complete next step (P2) - No repair lane is needed; the patch is correct and the remaining work is ordinary exact-head CI and maintainer landing review.
Agent review details

Security

None.

PR surface

Tests +1, Other -1. Total 0 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 3 2 +1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 2 3 3 0

Review metrics

Metric Value Why it matters
Production vs test delta production -1, tests +3/-2 The repair deletes one incorrectly scoped planner command and keeps focused regression coverage at the plan boundary.

Technical review

Best possible solution:

Keep generic beta metadata validation limited to generic metadata checks, and land this focused deletion once exact-head CI is green.

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

Yes—source reproducibly shows that a release-metadata change with a beta package version schedules a bare iOS validator, which normalizes that prerelease and reads iOS release notes.

Is this the best way to solve the issue?

Yes—the planner owns the accidental generic invocation, while native paths already enforce strict explicit version and revision validation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c5b7b8e33c99.

Labels

Label changes:

  • add P2: This corrects a bounded release-validation blocker without changing runtime user behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Label justifications:

  • P2: This corrects a bounded release-validation blocker without changing runtime user behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.

Evidence

What I checked:

Likely related people:

  • steipete: Current-main blame ties both the generic planner line and iOS version-resolution path to the recent release-script commit; this PR is also authored by the same historical contributor. (role: recent release-script contributor; confidence: high; commits: 8aa0376f27dc; files: scripts/check-changed.mts, scripts/lib/ios-version.ts, scripts/ios-release-prepare.sh)

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.

@steipete

Copy link
Copy Markdown
Contributor Author

Exact-head verification for this trusted release-tooling repair is complete.

  • Generic npm/package release metadata no longer invokes the iOS App Store changelog validator.
  • Explicit iOS release validation remains strict and passes for version 2026.8.1 revision 0.
  • Focused owner tests passed (172), Codex autoreview is clean, and required CI https://github.com/openclaw/openclaw/actions/runs/31459520779 is green.
  • The fix changes no runtime, config contract, changelog, or release candidate bytes; it allows Full Release Validation to evaluate the unchanged Code SHA with the correct native-release scope.
  • Review artifacts and hosted prepare passed.

Ready to merge.

@steipete
steipete merged commit e4a6ded into main Aug 11, 2026
106 checks passed
@steipete
steipete deleted the fix/release-metadata-ios-scope-20260811 branch August 11, 2026 04:57
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant