Repository navigation
fix: release 3.0.14 (3.0.13 partially published) + clear build warnings - #217
Draft
therajanmaurya wants to merge 20 commits into
Draft
therajanmaurya wants to merge 20 commits into
therajanmaurya wants to merge 20 commits into
Conversation
….13 partially published) + clear every build warning
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…aycraft + navigation on Nov 24, pre-MobileByteLabs#216), so Central rejected the rest; clear the build's warnings - paycraft.version 3.0.14 so all three modules ship together from the merged code - Kotlin: one Json per decoder (PayCraft config, checkout errors); drop a needless !! and an iOS cast; opt-ins for Channel.isEmpty, NSString.create, wasm @JSFun; seeds resolved by name (no deprecated template refs) - Compottie 2.3.3 + Compose 1.12.1 so Skiko and Compose versions line up - build scripts: compose.* aliases -> catalog entries; getting/registering/static=/android{} -> current DSL; spotless leadingTabsToSpaces; drop kotlin.js.compiler - Android host tests on for cmp-paycraft (124 common tests; Compose UI + app-Context tests stay on jvm) and navigation (4) - tests: runComposeUiTest/runDesktopComposeUiTest -> v2, koinConfiguration, ExperimentalCoroutinesApi opt-in per test source set, ConfigClient tests suppress the expected deprecation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rces, awaitSkiko, suspending awaitText); OfflineLoginKeepsTokenTest passes on JS (Node-safe device id); re-record the corrupt dark restore golden; Detekt 2.0.0-alpha.6 over every cmp-* source set with a baseline; split sample-app into a shared KMP module + :sample-app-android; Mock backend binds an in-memory PayCraftService (no more register_device Connection refused); navigation iOS tests link wherever Xcode lives Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the Loading check and the write were separate, so a purchase Error set on another thread in between was overwritten with Free (CI: purchaseViaStoreKit_blankAppStoreProductId_isBlocked read Free) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e wss://localhost, so every login logged Connection refused (seen on device after the service fix); realtimeOrNull() returns null on Mock, resubscribe goes through it; MockPayCraftServiceTest covers it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…seConsumerAuth + identity-verify silent link, kmp-supabase-auth sign-in on the identity screens, web signInWithSession, migration 219 tenant_set_auth_issuer); fix(paycraft): plan switches no longer raise failure-spike alerts (220), coupons sync to each store per request (Cloudflare cut off the fan-out), exit-survey offers resolve the product by SKU or id so the Play offer reaches Android
… (Stripe, Razorpay, Google Play, App Store) — a Play-only code like COMEBACK25 read "Not synced"
…nant/getUserApps memoized per request (layout and page each ran the 3-trip lookup) and the owner check runs alongside the alerts count; each trip is ~190 ms from Cloudflare's Delhi edge to the Tokyo project
…owed nothing until the server finished rendering (1-8 s, all 44 pages dynamic, no loading boundary), so the dashboard looked frozen; it also lets Next prefetch a page on hover
…w lg, padding scales, wide tables scroll inside their card instead of being clipped, page headers stack, fixed 3-5 column grids collapse, the paywall editors stack their panes (audited at 390 px: 37/37 pages fit)
…nStack Query — a click shows the page in ~10 ms, data lands in 0.4-0.7 s on a first visit and ~60 ms on a revisit (was 1-2 s of nothing, Analytics up to 8.5 s); every read has a skeleton and an error with Retry, every action a pending state and a visible error; server-only pieces (GA4, Stripe sync check) moved behind /api/dash/{analytics,products}
… Router app on the same domain — the middleware serves its static shell for every dashboard path (lib/spa-paths.ts), so a full load gets HTML in ~35-90 ms instead of waiting ~1.2 s for the server's account lookup, and data in ~0.7 s; the pages and components are the same files (next/link + next/navigation resolve to TanStack adapters in spa/shims), Next.js keeps the public site, /auth, /onboarding and every /api route; fixes: the shell knows the active app through a readable pc_active_app copy of the httpOnly cookie (else a switched app showed the first one), and sign-in returns to the page that asked for it (pc_after_login, same-site dashboard paths only)
…t (replaces the deprecated next-on-pages Pages build) — worker.ts serves the Vite dashboard shell from static assets and hands the rest to Next; the three hostnames are Worker routes (rollback = delete a route, Pages still behind them); Smart Placement on; every Stripe client goes through stripeClient() with the fetch HTTP client (Node's http hung on Workers and killed /api/sync/drift); runtime secrets synced from cloudflare-secrets.map (GA4 added) by deploy.sh to the Worker, staging is its own Worker; deploy-cloud.yml manual-only; feat(paycraft): an A/B variant can pre-select a plan (migration 221 default_sku, SDK ExperimentAssignment.defaultSku ahead of popular_plan_sku, per-variant picker in the experiments editor)
…ted placement — Smart Placement reported INSUFFICIENT_INVOCATIONS; a full drift check 4.8 s → 1.6 s); keep middleware.ts (OpenNext calls Node proxy experimental); docs(changelog): consumer-app sign-in, win-back offers on Android, experiment pre-selected plan (binary change → minor release)
…va 11 again; published bytecode checked: class major 55)
…, provider_method_registry (the public anon key could INSERT/UPDATE/DELETE them: PayCraft's plan limits, regional prices, provider routing); readable by all, writable only by the service role; drop ticket_votes' USING(true) delete policy (anyone could wipe every vote via REST; toggle_vote is SECURITY DEFINER). Applied to production: 0/73 public tables without RLS
…new Worker paycraft-edge at edge.paycraft.mobilebytesensei.com (edge/: path allowlist rest/functions/auth/storage/realtime, X-Forwarded-For replaced with CF-Connecting-IP so per-IP limits stay per caller and unspoofable, WebSockets pass through, pinned to Tokyo; deno tests); SDK + web SDK CLOUD_SUPABASE_URL → the proxy (CloudEndpointTest); dashboard builds with it and pins its session cookie name so operators stay signed in. Provider webhooks stay direct (signed, registered per provider)
…auth (drop ws@8.18.0 — the PR check's kotlinStoreYarnLock failure); -Ppaycraft.localSupabaseAuth=false resolves Maven locally, and with the local source build a lock mismatch only warns; PR check temporarily on mbl-actionhub PR 22 (compile split into Linux + Apple jobs, actions on Node 24)
…lit into Linux + Apple jobs, actions on Node 24)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 3.0.14. 3.0.13 was partly published on Nov 24 (
cmp-paycraftand navigation went out before #216), so Maven Central rejected the rest. This PR also clears the build's warnings and fixes the failures that CI never ran.Release + warnings (9aeeb94)
paycraft.version=3.0.14. Removed the AGP 9 opt-outs and the obsoletekotlin.js.compiler. Compose moved to 1.12.1 (Compottie 2.3.3 needed it).Tests CI doesn't run, now passing locally (649b4e0)
binaries.executable()(CMP-4906).composeResourcesandskiko.wasm.awaitTextsuspends instead of blocking the JS thread.cmp-paycraftjsBrowser 290/0 and wasmJs 290/0.OfflineLoginKeepsTokenTeston JS: 3/3. The web device id no longer assumeslocalStorageexists (Node).account_link_01_restore_idle_dark.png: re-recorded. Its IDAT was corrupt, the only bad one of 99.verifyRoborazziJvmis green.-Lfixcmp-paycraftalready has.Detekt 2.0.0-alpha.6 (
dev.detekt)cmp-*/src/*/kotlin.config/detekt/baseline.xml. They are debt to pay down separately.sample-app split (AGP 9)
:sample-appis now the shared KMP module (android.kmp.library).:sample-app-android, with the same applicationId.:sample-app-android.Sample debug panel:
register_device … Connection refusedPayCraftBackend.Mockstill got the Supabase-backed service. Mock'smock://URL becamehttps://localhost, so any login on Mock failed.MockPayCraftService, covered byMockPayCraftServiceTest(5/5).Local gate:
cmp-*module plus both sample modulesallTestsfor core,cmp-paycraftand navigation (jvm, js, wasmJs, iOS sim)testAndroidHostTestfor the same three modulesverifyRoborazziJvm🤖 Generated with Claude Code