Skip to content

feat(billing): complete order administration sales and quote history - #179

Closed
tamaina wants to merge 2 commits into
feat/billing-receipt-completionfrom
feat/billing-order-sales
Closed

tamaina wants to merge 2 commits into
feat/billing-receipt-completionfrom
feat/billing-order-sales

Conversation

@tamaina

@tamaina tamaina commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Completes CFW admin order listing/confirmation, owner payment-history pagination and paid sales reporting through native Misskey components. Admin confirmation uses the already stored transaction hash and atomically writes its audit; owner pagination fixes the authenticated user and rejects injected filters. Purchase previews expose the source quote's original price, proration, payable amount and term before submitting that exact quote. Definite native JSON conflict responses permit a fresh quote; unknown outcomes retain the original idempotency key. Effective-start timing preserves immediate upgrades even when proration rounds to zero.

Sales use paidAt in [from,to), PostgreSQL numeric sums and a consistent snapshot, grouped by currency, saved tax, plan and asset. Each monetary bucket also separates pricing asset/rail, currency and decimals; no cross-unit monetary total is manufactured. Legacy missing tax stays unknown, account deletion retains evidence, and purchase gross is explicitly not refund-adjusted revenue. Indexed pagination and paidAt migration preserve nonempty data.

Validation: finalhead69d3481f2d13a0510178c8d6d464213e83108bff remote35SUCCESS/1SKIP/pending0 and independent data/UI review PASS. Localbackend54PASS/1DB-onlySKIP; dedicated PostgreSQL service18PASS/refund1PASS, frontend38PASS (including real PDF generation and rounded-zero quote/native plain-object conflict regression); backend/frontend types, backend+SDK build/APIExtractor and shipping lint/SPDX/locale safety PASS. DB stopped and shared runtime dependencies untouched.

Initial final-head federation .node-version failed before tester execution: re2 rebuild missing .deps outputs/node_gyp_bins, B migration MODULE_NOT_FOUND re2.node then boot meta missing. MinNode was cancelled, with no failed step. Original logs retained. One samehead whole-federation retry completed bothNodeSUCCESS (run38641508381 attempt2, jobs116123124666/116123125179). Retry success does not fix the recurring native startup issue seen in #176/#179; temporal artifact/version diagnostics and daemon tsconfig-path mount checks belong in a separate small CI-fixture Issue/PR.

Stacked on #178; final procedure slice for #171. Source algorithms and native UI take priority. No real email/payment/signature/credential creation, merge or production application.

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

🖥 Frontend Diagnostics Report

(No significant changes)

View details

Requests by resource type
Type Requests Encoded bytes
Base Head Δ Base Head Δ
Document 2 2 0 37 KB 37 KB 0 B
Script 175 175 0 3.5 MB 3.5 MB $\color{orange}{\text{+8.6 KB}}$
Stylesheet 63 63 0 287 KB 287 KB 0 B
Fetch 22 22 0 216 KB 216 KB 0 B
Image 10 10 0 256 KB 256 KB 0 B
Font 2 2 0 120 KB 120 KB 0 B
Other 9 9 0 421 KB 421 KB $\color{green}{\text{-5 B}}$
V8 heap snapshot statistics
Metric @ Base @ Head Δ MAD
$\color{gray}{\rule{8pt}{8pt}}$ Total 14 MB
± 4.9 KB
14 MB
± 1.9 KB
$\text{-20 KB}$
$\text{-0.1\%}$
5.3 KB
$\color{orange}{\rule{8pt}{8pt}}$ Code 3.3 MB 3.3 MB $\text{+388 B}$ 2.9 KB
$\color{red}{\rule{8pt}{8pt}}$ Strings 1.6 MB 1.6 MB $\text{+2.3 KB}$ 39 B
$\color{cyan}{\rule{8pt}{8pt}}$ JS arrays 131 KB 131 KB $\text{-28 B}$ 8 B
$\color{green}{\rule{8pt}{8pt}}$ Typed arrays 0 B 0 B 0 B 0 B
$\color{yellow}{\rule{8pt}{8pt}}$ System objects 0 B 0 B 0 B 0 B
$\color{violet}{\rule{8pt}{8pt}}$ Other JS objs 2.6 MB 2.6 MB $\text{-1.2 KB}$ 2.6 KB
$\color{pink}{\rule{8pt}{8pt}}$ Other non-JS objs 6.2 MB 6.1 MB $\text{-27 KB}$ 5.9 KB

Download representative heap snapshot: base / head

📦 Bundle Stats

Chunk size diff (45 updated, 0 added, 0 removed)
Chunk Base Head Δ Δ (%)
(total) 20 MB 20 MB $\color{orange}{\text{+49 KB}}$ $\color{orange}{\text{+0.2\%}}$
../features/auth/frontend/pages/settings/2fa.qrdialog.vue scripts/jLhy6JR6D-BZygPLYW.js → scripts/jLhy6JR6D-DN4obsUx.js
41 KB 5.7 KB $\color{green}{\text{-35 KB}}$ $\color{green}{\text{-86.1\%}}$
../features/billing/frontend/pages/admin/service-offers.vue scripts/jLhy6JR6D-DRYfnqQq.js → scripts/jLhy6JR6D-D5BJ7RCy.js
38 KB 43 KB $\color{orange}{\text{+5.1 KB}}$ $\color{orange}{\text{+13.3\%}}$
virtual:vite-vue-internationalization/locale/th-TH scripts/jLhy6JR6D-DNJ9flDK.js → scripts/jLhy6JR6D-D-Jfz7c9.js
479 KB 481 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.4\%}}$
virtual:vite-vue-internationalization/locale/ru-RU scripts/jLhy6JR6D-jwSXj3cS.js → scripts/jLhy6JR6D-AeAoGz4P.js
357 KB 359 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/uk-UA scripts/jLhy6JR6D-CyWOimde.js → scripts/jLhy6JR6D-DuOMaXYd.js
349 KB 351 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/bn-BD scripts/jLhy6JR6D-D9QtWJYX.js → scripts/jLhy6JR6D-DkoAzTGZ.js
319 KB 321 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/lo-LA scripts/jLhy6JR6D-D0GS4JS5.js → scripts/jLhy6JR6D-DHRnaNg2.js
319 KB 321 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/si-LK scripts/jLhy6JR6D-Bu6VxSml.js → scripts/jLhy6JR6D-O5-0-CZn.js
319 KB 321 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/el-GR scripts/jLhy6JR6D-Ch2X1NCZ.js → scripts/jLhy6JR6D-CqelUdOi.js
319 KB 321 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/fa-IR scripts/jLhy6JR6D-2oMRSTO1.js → scripts/jLhy6JR6D-CmKlTGmw.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/jbo-EN scripts/jLhy6JR6D-ciwA0LHw.js → scripts/jLhy6JR6D-CC2_XqTs.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/ja-JP scripts/jLhy6JR6D-5EM-8Evh.js → scripts/jLhy6JR6D-CUa_bbGZ.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/ro-RO scripts/jLhy6JR6D-rv_OKw6W.js → scripts/jLhy6JR6D-4YtgHjsz.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/tl-PH scripts/jLhy6JR6D-DwDa21OZ.js → scripts/jLhy6JR6D-BBa7geI2.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/ko-GS scripts/jLhy6JR6D-BkqGDTkz.js → scripts/jLhy6JR6D-DzuUkLyE.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/hu-HU scripts/jLhy6JR6D-Cuhj7Asp.js → scripts/jLhy6JR6D-B5Vbd6A2.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/uz-UZ scripts/jLhy6JR6D-CXbpZ-f9.js → scripts/jLhy6JR6D-BHI0EWwd.js
319 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/sv-SE scripts/jLhy6JR6D-IQRx54X0.js → scripts/jLhy6JR6D-Cs_j-AdB.js
318 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/hr-HR scripts/jLhy6JR6D-DLtuYmIn.js → scripts/jLhy6JR6D-Dhww8Mz6.js
318 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/ht-HT scripts/jLhy6JR6D-Dy4GI2Di.js → scripts/jLhy6JR6D-A0DJw1Aj.js
318 KB 320 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.5\%}}$
virtual:vite-vue-internationalization/locale/ja-KS scripts/jLhy6JR6D-B65Z04xB.js → scripts/jLhy6JR6D-CLlGWmWe.js
316 KB 318 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/de-DE scripts/jLhy6JR6D-DiLXyItD.js → scripts/jLhy6JR6D-BSXyXDtW.js
297 KB 299 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/ko-KR scripts/jLhy6JR6D-BIP-REVl.js → scripts/jLhy6JR6D-C5yucG1f.js
297 KB 298 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/ar-SA scripts/jLhy6JR6D-VuWa1j_V.js → scripts/jLhy6JR6D-CtY2Wiol.js
295 KB 297 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/ca-ES scripts/jLhy6JR6D-BFXsdoMK.js → scripts/jLhy6JR6D-CAw1y1J-.js
294 KB 295 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/tr-TR scripts/jLhy6JR6D-Cg2ZQ0x9.js → scripts/jLhy6JR6D-DZKJVMS7.js
291 KB 293 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/vi-VN scripts/jLhy6JR6D-BsK5VXO4.js → scripts/jLhy6JR6D-NGGmMQG0.js
291 KB 293 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/fr-FR scripts/jLhy6JR6D-BSTJ-0O2.js → scripts/jLhy6JR6D-CHK9U7OT.js
290 KB 292 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/es-ES scripts/jLhy6JR6D-DaoBkn-7.js → scripts/jLhy6JR6D-DOhE0Wxe.js
289 KB 291 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
virtual:vite-vue-internationalization/locale/pt-PT scripts/jLhy6JR6D-BYxYtveW.js → scripts/jLhy6JR6D-aiOgnydu.js
287 KB 289 KB $\color{orange}{\text{+1.7 KB}}$ $\color{orange}{\text{+0.6\%}}$
(other generated chunks) 3.8 MB 3.8 MB $\color{orange}{\text{+5.4 KB}}$ $\color{orange}{\text{+0.1\%}}$
(other) 3.8 MB 3.8 MB $\color{orange}{\text{+25 KB}}$ $\color{orange}{\text{+0.7\%}}$
Startup chunk size (0 updated, 0 added, 0 removed)
Chunk Base Head Δ Δ (%)
(total) 125 KB 125 KB 0 B 0%
(other generated chunks) 121 KB 121 KB 0 B 0%
(other) 4.7 KB 4.7 KB 0 B 0%

Startup chunks are the Vite entry for src/_boot_.ts and its static imports.

Bundles Modules Entries Imports Size
Static Dynamic Rendered Gzip Brotli
Base 537 3,198 21 15,264 384 28 MB 7 MB 5.6 MB
Head 537 3,174 21 15,252 384 28 MB 7 MB 5.6 MB
Δ 0 $\color{green}{\text{-24}}$ 0 $\color{green}{\text{-12}}$ 0 $\color{orange}{\text{+37 KB}}$ $\color{orange}{\text{+3.5 KB}}$ $\color{orange}{\text{+4.2 KB}}$
Δ (%) 0% $\color{green}{\text{-0.8\%}}$ 0% $\text{-0.1\%}$ 0% $\color{orange}{\text{+0.1\%}}$ $\text{+0\%}$ $\text{+0.1\%}$

Open treemap HTML

@tamaina

tamaina commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

ユーザー承認済みの課金3本集約(#64 → #81 → #126)により、#81 に統合しました。置き換えてcloseします。

元head 69d3481f は採用先head d18e288d の祖先として通常merge履歴に保持しています。 元のコメント・検証履歴・初回失敗ログはここに残します。採用先の限定unit/SDK/専用PG/shippingを確認済みで、新headのremote CIは確認中です。採用3本はDraftを維持。develop/mainへのpush・merge、merge API/ボタンの操作、本番適用は行っていません。

@tamaina tamaina closed this Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant