Skip to content

feat(v2): bootMonetization() early-returns on non-iOS (PR #101 §未決) - #106

Merged
wei18 merged 1 commit into
mainfrom
feat/v2-bootmonet-early-return
May 23, 2026
Merged

wei18 merged 1 commit into
mainfrom
feat/v2-bootmonet-early-return

Conversation

@wei18

@wei18 wei18 commented May 23, 2026

Copy link
Copy Markdown
Owner

Resolves PR #101 §未決. #if !os(iOS) early-return in bootMonetization(). 20/20 tests pass.

UMP + ATT bridges are iOS-only via canImport guards. On macOS
bootMonetization() called them anyway, routing .unsupported outcomes
through Telemetry.errorOccurred → 2 spurious breadcrumbs per launch.

Add #if !os(iOS) { return } early-return. iOS path unchanged.

Verification: swift test --filter "BootOrder|Composition" 20/20 pass
(incl. new test using RecordingSink to assert events.isEmpty).

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@wei18
wei18 merged commit f378c24 into main May 23, 2026
@wei18
wei18 deleted the feat/v2-bootmonet-early-return branch May 23, 2026 12:34
wei18 added a commit that referenced this pull request May 23, 2026
…#110)

Collateral from the May 22-23 parallel subagent round (5 dispatches):
- 2026-05-22_swift-test-hang-triage: initial triage (partial, paired #82)
- 2026-05-23_bootmonetization-ios-only: shipped as PR #106 (no log was
  included in that PR due to working-tree reshuffle during untangle)
- 2026-05-23_swift-test-hang-bisection: definitive root-cause analysis —
  toolchain bug in swiftpm-testing-helper --parallel pre-discovery
  bootstrap. Workaround: drop --parallel; warm-cache serial run is <10s.
  Close #82 referencing this log.

Co-authored-by: Claude Opus 4.7 <[email protected]>
wei18 added a commit that referenced this pull request May 25, 2026
… v2.5 user-owned)

Plan.md was still tagged DRAFT/awaiting-v2.0-dispatch despite v2.0–v2.4
having fully shipped across ~15 PRs. Rewrite to align with code:

- Add §Status snapshot table (phase × status × PR refs, 75 @test count)
- Mark every step with [x]/[~]/[ ] + originating PR for traceability
- Add §Phase v2.4★ to backfill audit/polish work shipped after original
  plan (#97 #101 #102 #103 #106 #108 #109)
- Add steps v2.0.6 (anchor registry split) and v2.3.6.1
  (MonetizationStateController + ToastController)
- Correct existing step prose: StoreKitBridge symmetric split,
  RootView.init real 6-param signature with 4 optional slots,
  boot order via MonetizationBootCoordinator, AdMob isolation
  audit count = 2 files (protocol + live wrapper)
- Shrink §v2.5 to phase summary; defer detailed checklist to
  v2.5-readiness.md (single source of truth)
- Add §Decisions D-v2-01..06 capturing execution-phase decisions
  (AdMob v13/UMP v3, v11 ObjC API, macOS Noop, anchor registry,
  purchaseUpdates split, RootView optional slots)
- Add §下一動作 explicit user-owned next steps

340 → 275 lines.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
wei18 added a commit that referenced this pull request May 25, 2026
… v2.5 user-owned) (#130)

Plan.md was still tagged DRAFT/awaiting-v2.0-dispatch despite v2.0–v2.4
having fully shipped across ~15 PRs. Rewrite to align with code:

- Add §Status snapshot table (phase × status × PR refs, 75 @test count)
- Mark every step with [x]/[~]/[ ] + originating PR for traceability
- Add §Phase v2.4★ to backfill audit/polish work shipped after original
  plan (#97 #101 #102 #103 #106 #108 #109)
- Add steps v2.0.6 (anchor registry split) and v2.3.6.1
  (MonetizationStateController + ToastController)
- Correct existing step prose: StoreKitBridge symmetric split,
  RootView.init real 6-param signature with 4 optional slots,
  boot order via MonetizationBootCoordinator, AdMob isolation
  audit count = 2 files (protocol + live wrapper)
- Shrink §v2.5 to phase summary; defer detailed checklist to
  v2.5-readiness.md (single source of truth)
- Add §Decisions D-v2-01..06 capturing execution-phase decisions
  (AdMob v13/UMP v3, v11 ObjC API, macOS Noop, anchor registry,
  purchaseUpdates split, RootView optional slots)
- Add §下一動作 explicit user-owned next steps

340 → 275 lines.

Co-authored-by: Claude Opus 4.7 <[email protected]>
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.

1 participant