Repository navigation
revert(TASK-22471): back out tech-debt integration — dev must be shippable for the KYC binary rebuild - #3078
kushagrasarathe wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Code-analysis diffPainscore total: 8914.96 → 7294.87 (-1620.09) 🆕 New findings (901)
…and 881 more. ✅ Resolved (1392)
…and 1372 more. 📈 Painscore deltas (top movers)
|
🧪 UI test report — ✅ all greenSuites
📊 Coverage (unit)
⏱ 10 slowest test cases
|
the revert restores one pre-tech-debt hover file; the ratchet only goes down, so the intentional increase is recorded with --allow-increase (TASK-22471)
|
Re-scoped: this PR is no longer the release vehicle for the Android KYC fix — the team ships from |
|
Closing per Kushagra: the Android KYC fix ships from |
Chip review — no blocking findings — this is not an approvalThe application rollback preserves the post-integration fixes and exact-head required CI is green, but the revert also restores the 250-commit ceiling in both provenance gates, blocking valid large promotion PRs. Findings
Exact untested case (the deleted test's fourth assertion, 'a user refetch mid-claim (new user identity) does not fire a second claim POST'): the restored effect depends on Fix: add a
Failure: a This does not break peanut-api-ts — the direction is the other way: peanut-ui will misrender live backend rows. Note that the backend half of the paired TASK-21815 change is already merged and tolerant ( Fix: keep Inline anchors unavailable for 3 finding(s); the findings remain in this summary. Checked clean
Security review by Third opinion by Exact head: |
TASK-22471 · P1 · Revert the tech-debt integration so dev is shippable to production
What: single
git revert -m 1 b9d78f104(PR #3062, tech-debt-integration — which carried PR #3008's qr-pay split inside it; #3008 never merged to the dev mainline separately). Dev returns to the code production runs, plus every post-tech-debt production fix.Why: Kushagra's call — the tech-debt restructures are broken at runtime (unit/typecheck don't cover flow behavior; no Nutcracker smoke was run on them), and BOTH ship pipelines (
release-ota.ymlandrelease-native.yml) hard-guardref == dev, so nothing can ship to users until dev tip is production-safe. This revert is the sanctioned path: the Android binary rebuild for the Sumsub/KYC P1 dispatches from dev right after this merges (the web-fallback alternative, PR #3077, was closed — Kushagra wants the corrected binary instead). The migration flag was rolled back (v7: existing users only, 90%), so there is no urgency spike — but the KYC binary still waits on this.Correctness proof — diff vs the live production OTA tag
77fdd881b:Every file traces to the post-tech-debt production merges (#3063, #3071, #3074, #3073 back-merge). Nothing from #3008/#3062 survives; nothing production loses.
The one hand-merge (documented per instruction) —
withdraw/crypto/page.tsx+ its test were the only conflicts: #3063 (TASK-21087, cancel abandoned withdrawal drafts) landed on the refactored page, so its semantics were re-expressed onto the pre-refactor shape:stepper.stepleaving'review'→ pre-refactorcurrentViewleaving'CONFIRM'(watcher covers Back and every other exit; the redundant back-handler call was not duplicated)alreadySpentguard line already existed differently pre-refactor; only fix(TASK-21087): cancel abandoned crypto withdrawal drafts #3063'scancelledChargeIdsRefguard was addedinitial-viewtestid,currentViewswitching, ActionModal mock upgraded to expose onClose): 8 draft-cleanup tests, all greenGate (fresh worktree at 48c998e): typecheck clean · unit 523/525 suites green — the 2 failures (
AddWithdrawCountriesList,UnlockPayments) are pre-existing timezone-flaky date assertions that fail identically on unmodified dev tip from an IST machine and are green in CI/UTC · prettier clean ·npm run buildgreen. (Worktree note: the phantomTS2307 *.svgclass is the gitignored generatednext-env.d.ts— copy it from an existing checkout; worth adding to the worktree docs.)After merge: dispatch
release-native.yml(Android rebuild with the Sumsub plugin actually synced — verify the cap-sync step in the workflow) andrelease-ota.ymlas needed; both build from dev.