Skip to content

chore(types): sync openapi snapshot from staging - #4180

Open
chip-peanut-bot[bot] wants to merge 1 commit into
devfrom
auto/sync-openapi-20261120-080333
Open

chip-peanut-bot[bot] wants to merge 1 commit into
devfrom
auto/sync-openapi-20261120-080333

Conversation

@chip-peanut-bot

Copy link
Copy Markdown
Contributor

Auto-generated by .github/workflows/sync-openapi.yml. The BE has added or modified routes since the last sync — this PR regenerates src/types/api.openapi.json and the derived TS types so FE keeps type-safe access to the latest BE surface.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
peanut-wallet Ready Ready Preview Nov 20, 2026 8:08am UTC

Request Review

@chip-peanut-bot chip-peanut-bot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chip review — no blocking findings — this is not an approval

No findings.

Checked clean

  • Confirmed the exact head and base; parsed OpenAPI differs only in physical-card waitlist POST responses (200 removed, 410 added).
  • Confirmed the backend POST returns 410 with the documented error shape and found no frontend caller of that endpoint.
  • Typecheck and format passed at this head. Bot-approval fails pending the required human approval; other CI jobs were still in progress when checked.

Security review by moonshotai/kimi-k3: 0 finding(s), marked with the model name. It reads the diff only and answers only security, privacy and money, so treat its findings as advice.

Third opinion by claude-opus: 0 finding(s), marked with the model name. It answers only product truth, missing tests and the cross-repo contract, so treat its findings as advice.

Copy check by claude-haiku-5-5: 0 finding(s), titled "Copy now wrong". Every quoted passage was checked against the file.

Exact head: 5fde01616aab · Context: repo, sibling · Took 3m

@github-actions

Copy link
Copy Markdown
Contributor

Code-analysis diff

Painscore total: 11042.49 → 11042.54 (+0.05)
Findings: -23 net (+827 new, -850 resolved)

🆕 New findings (827)

  • high hotspot — src/types/api.generated.ts — 193 commits, +46228/-31613 lines since 6 months ago
  • high structural-dup — types/api.generated.ts:12688 — 190 duplicate lines / 581 tokens with types/api.generated.ts:13854
  • high structural-dup — types/api.generated.ts:12501 — 185 duplicate lines / 580 tokens with types/api.generated.ts:13667
  • high structural-dup — types/api.generated.ts:1334 — 170 duplicate lines / 831 tokens with types/api.generated.ts:2580
  • high structural-dup — types/api.generated.ts:12933 — 165 duplicate lines / 532 tokens with types/api.generated.ts:14095
  • high structural-dup — types/api.generated.ts:12251 — 163 duplicate lines / 510 tokens with types/api.generated.ts:13402
  • high structural-dup — types/api.generated.ts:12730 — 148 duplicate lines / 473 tokens with types/api.generated.ts:13191
  • high structural-dup — types/api.generated.ts:17319 — 134 duplicate lines / 447 tokens with types/api.generated.ts:17475
  • high structural-dup — types/api.generated.ts:11525 — 127 duplicate lines / 414 tokens with types/api.generated.ts:12971
  • high structural-dup — types/api.generated.ts:11525 — 119 duplicate lines / 377 tokens with types/api.generated.ts:11752
  • high structural-dup — types/api.generated.ts:11525 — 119 duplicate lines / 377 tokens with types/api.generated.ts:12058
  • high structural-dup — types/api.generated.ts:11525 — 119 duplicate lines / 377 tokens with types/api.generated.ts:12289
  • high structural-dup — types/api.generated.ts:11525 — 119 duplicate lines / 377 tokens with types/api.generated.ts:12561
  • high structural-dup — types/api.generated.ts:11525 — 119 duplicate lines / 377 tokens with types/api.generated.ts:12753
  • high structural-dup — types/api.generated.ts:19160 — 117 duplicate lines / 369 tokens with types/api.generated.ts:19297
  • high structural-dup — types/api.generated.ts:4404 — 97 duplicate lines / 224 tokens with types/api.generated.ts:4702
  • high structural-dup — types/api.generated.ts:20046 — 79 duplicate lines / 239 tokens with types/api.generated.ts:20131
  • high structural-dup — types/api.generated.ts:18609 — 72 duplicate lines / 223 tokens with types/api.generated.ts:18743
  • high structural-dup — types/api.generated.ts:19814 — 71 duplicate lines / 218 tokens with types/api.generated.ts:21069
  • high structural-dup — types/api.generated.ts:19817 — 68 duplicate lines / 206 tokens with types/api.generated.ts:21328

…and 807 more.

✅ Resolved (850)

  • src/types/api.generated.ts — 192 commits, +34080/-19465 lines since 6 months ago
  • types/api.generated.ts:9345 — 190 duplicate lines / 581 tokens with types/api.generated.ts:10682
  • types/api.generated.ts:8730 — 171 duplicate lines / 542 tokens with types/api.generated.ts:9817
  • types/api.generated.ts:9172 — 171 duplicate lines / 558 tokens with types/api.generated.ts:10509
  • types/api.generated.ts:16282 — 170 duplicate lines / 831 tokens with types/api.generated.ts:20342
  • types/api.generated.ts:8971 — 156 duplicate lines / 487 tokens with types/api.generated.ts:10063
  • types/api.generated.ts:8158 — 150 duplicate lines / 482 tokens with types/api.generated.ts:9193
  • types/api.generated.ts:7965 — 148 duplicate lines / 470 tokens with types/api.generated.ts:8753
  • types/api.generated.ts:9191 — 144 duplicate lines / 447 tokens with types/api.generated.ts:10311
  • types/api.generated.ts:7965 — 142 duplicate lines / 443 tokens with types/api.generated.ts:8158
  • types/api.generated.ts:8158 — 142 duplicate lines / 445 tokens with types/api.generated.ts:8466
  • types/api.generated.ts:8158 — 142 duplicate lines / 445 tokens with types/api.generated.ts:8979
  • types/api.generated.ts:9193 — 142 duplicate lines / 446 tokens with types/api.generated.ts:9387
  • types/api.generated.ts:13160 — 134 duplicate lines / 447 tokens with types/api.generated.ts:13531
  • types/api.generated.ts:14017 — 117 duplicate lines / 369 tokens with types/api.generated.ts:14154
  • types/api.generated.ts:2864 — 79 duplicate lines / 239 tokens with types/api.generated.ts:2949
  • types/api.generated.ts:11788 — 72 duplicate lines / 223 tokens with types/api.generated.ts:11922
  • types/api.generated.ts:2632 — 71 duplicate lines / 218 tokens with types/api.generated.ts:3887
  • types/api.generated.ts:2635 — 68 duplicate lines / 206 tokens with types/api.generated.ts:4146
  • types/api.generated.ts:9724 — 66 duplicate lines / 94 tokens with types/api.generated.ts:9996

…and 830 more.

@github-actions

Copy link
Copy Markdown
Contributor

🧪 UI test report — ✅ all green

Suites

  • ✅ unit: 22753 ran, 0 failed, 0 skipped, 8.6m

📊 Coverage (unit)

metric %
statements 88.8%
branches 82.2%
functions 83.4%
lines 90.3%
⏱ 10 slowest test cases
time test
🐢 25.8s scripts/__tests__/screens-adapter.test.js › runs the existing synthetic screen adapter Node acceptance suite
🐢 10.3s src/features/deposit-accounts/__tests__/AddMoneyArgentinaCountry.acceptance.test.tsx › keeps unavailable Argentina searchable and opens its residence explanation with Enter
🐢 9.9s src/features/deposit-accounts/__tests__/AddMoneyArgentinaCountry.acceptance.test.tsx › keeps unavailable Argentina searchable and opens its residence explanation with Space
🐢 9.9s src/features/deposit-accounts/__tests__/AddMoneyArgentinaCountry.acceptance.test.tsx › keeps unavailable Argentina searchable and opens its residence explanation with pointer
🐢 9.0s src/app/(mobile-ui)/qr-pay/__tests__/qr-pay-states.test.tsx › Network failure keeps loading while retries remain, then shows the generic error
🐢 5.1s scripts/__tests__/signup-attribution-paths.test.ts › includes newly published articles and locale fallbacks without editing the manifest
4.9s scripts/__tests__/indexable-urls.test.ts › excludes missing locale files, drafts, redirects, and retired pages from crawl and submission lists
4.6s src/features/deposit-accounts/__tests__/AddMoneyArgentinaCountry.acceptance.test.tsx › preserves ordinary Argentina selection for residence AR
4.4s src/features/deposit-accounts/__tests__/AddMoneyArgentinaCountry.acceptance.test.tsx › preserves ordinary Argentina selection for residence null
4.0s src/app/(mobile-ui)/qr-pay/__tests__/qr-pay-states.test.tsx › User KYC not approved fails fast with copy that names the real cause
📍 Inline annotations are in the **Unit test report** check above. Coverage artifact: `coverage-unit`. Generated by `.github/workflows/tests.yml`.

@github-actions

Copy link
Copy Markdown
Contributor

English · 5 not comparable

Open screen library dashboard

Review preview: 8adef78 → 5fde016. Incomplete capture; unavailable states are listed in the report. Other locales were not captured; add the screens:all-locales label and re-run Screen library to include them.

Before was captured with the base branch's own synthetic API because this PR changes it; differences can include synthetic-data changes.

Screen Library coverage: review — UI review needs a complete, unique comparison for every required locale.

Screen Library copy: review — 2 baseline entries are now shown or deleted; remove from scripts/screens/copy-coverage-baseline.json: card.yourCard.redZone, paymentLoading.sayingHola. Add a capture state that shows the copy, or add the keys to the baseline with “Screen Library copy exception: ” on its own line in the PR description. Copy coverage: 1317/4069 keys shown.

This branch was successfully deployed

1 active deployment
Preview — 5fde0161 Deployed Nov 20, 2026 by vercel[bot]
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