Repository navigation
feat(billing): prorated funding and original-payer refunds - #174
Merged
tamaina merged 21 commits intoOct 16, 2026
Merged
Conversation
* feat(auth): add unconnected pinned OIDC token exchange transport * fix(auth): honor trusted OIDC JWK key operations
* fix(auth): prefer TOTP after password login with explicit passkey fallback * fix(auth): render passkey alternative with component-owned VVI labels * feat(auth): expose proved-password factor availability without policy changes * chore(sdk): regenerate signin factor availability API report * test(auth): pass factor arrays intact through Vitest tables * test(auth): assert TOTP factor availability in existing E2E flow * chore(sdk): apply CI-generated signin factor availability types * test(auth): preserve frozen alias proof across factor availability
* refactor(auth): name TOTP service while retaining constructor compatibility * refactor(auth): add canonical 2FA routes with legacy policy parity * refactor(auth): preserve portable 2FA aliases and SDK model compatibility * fix(auth): keep canonical aliases portable and generated models stable * chore(auth): keep API alias diff scoped to new routes * chore(sdk): update public API report for canonical 2FA aliases * fix(auth): accept implemented procedures when cloning API aliases * test(auth): cover implemented procedure API alias cloning * refactor(auth): use canonical 2FA API paths in settings callers * test(auth): keep API alias regressions valid under NodeNext typecheck * test(auth): restore QR caller source before frozen locale checks * test(api): account for eight canonical 2FA operations
* feat(auth): add individual browser session persistence foundation * test(auth): honor browser-session persistence predicates in regression fixtures * test(auth): verify browser-session migration round trip in guarded CI fixture * test(auth): use explicit empty connection overrides in migration fixture * fix(auth): use typed object metadata selection for browser sessions * test(auth): register browser session constructor wiring proof * feat(auth): wire individually revocable browser sessions across runtime * fix(auth): bound session input and use VVI logout labels * chore(misskey-js): update browser session API report * test(auth): type session fixtures and colocate VVI build proof * fix(auth): clean up rejected and deleted browser logins locally * test(auth): wire MCP fixture and compose all locale proof entries * Adapt API and E2E fixtures to individual browser sessions * Wait for federation channel acknowledgement and respect clip fixture quota * Place federation readiness helper inside tester bind mount
Port upstream misskey-dev/misskey#17115 by @kakkokari-gtyih, pinned at 69890d54416b7c6add45aab521a98949b774dd14. Preserve no-language before/after text, five-line context, empty lines, literal notation, HTML escaping and original-text copy in moderation logs. Closes #139.
Closes #158. Include private authentication-context cache scope and zero discovery cache lifetime required by MCP 2026-07-28. Verified against the official schema, local regression, independent review, and exact-head CI.
Follow upstream dependency upgrades with verified fork runtime and credential compatibility. Closes #147.
Purpose-specific upstream follow-up with local validation, independent review and terminal CI. Closes #148.
Purpose-specific upstream follow-up with local validation, independent review and terminal CI. Closes #152.
Purpose-specific upstream follow-up with local validation, independent review and terminal CI. Closes #149.
Restrict local-only emoji on remote-original quotes at both boundaries; preserve both maintenance regression selections. Closes #150.
Add Deck Clip column and authorized updates, retain both dedicated lifecycle providers and validated SDK streaming contracts. Closes #151.
Fixes #169. Await the existing bounded exact local reply-count condition before consistency assertions. Preserve production code and original assertions; add actual-method synthetic regressions and maintenance CI selection.
Filter MCP event discovery using current native token/app permissions, preserving grant/account checks and subscription/delivery authorization. Add scope matrix, revocation, app permission, and account-state regression coverage. Fixes #172. Scoped tests: 34 pass. Changed-file lint and final CI: pass. Independent review at 84b6b7d: pass.
1 task done
Contributor
🖥 Frontend Diagnostics Report
Only metrics showing significant changes are displayed. Requests by resource type
V8 heap snapshot statistics
📦 Bundle StatsChunk size diff (72 updated, 4 added, 3 removed)
Startup chunk size (1 updated, 0 added, 0 removed)
Startup chunks are the Vite entry for
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tamaina
marked this pull request as ready for review
October 14, 2026 16:24
This was referenced Oct 14, 2026
tamaina
merged commit Oct 16, 2026
d2da647
into
feat/billing-service-subscriptions
43 of 44 checks passed
3 of 4 tasks
Owner
Author
|
ユーザー承認済みの課金3本集約(#64 → #81 → #126)により、#81 に統合しました。採用先の通常pushによりGitHubが間接merge済みとして自動closeしたため、置換参照を残します。 元head |
This was referenced Oct 16, 2026
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.
What
サービスのアップグレード時に未使用期間を日割りで充当し、元の購入・支払者・チェーン・トークンを保持します。順位を伴う変更、ダウングレード予約、zero-payable、期間分割を接続し、その原資から返金を計算する native API / Misskey UI を追加します。
返金は利用者申請→管理者承認→送信前の intent 保存→各原支払者への送金確認→全グループの fresh canonical proof 確認後の一括期間短縮です。途中の証拠消失・DB失敗では利用権を変更せず、結果不明の送信はハッシュ回収のみになります。原購入は paid のまま保持し、完了証憑を保存・ダウンロードできます。由来不明の既存購入は review_required として自動返金を拒否します。
Why
Refs #171, #8. cfw-fileup PR139 (569523a) の返金手続きと元の日割りロジックを、Misskey のネイティブ課金に接続します。
依存: #64 wallet → #103 receipt → #81 fixed service terms → この PR。比較対象を限定するため base は #81 のブランチです。develop 664f172 までの同期を含み、既存3 PR の head は変更していません。#126 P2P は独立です。原資計算と返金は同じモデルを使うため、この PR 内で別コミットにしています。
Additional info
CHANGELOG 候補: サービスのプラン変更に日割り充当を追加し、元の支払者への返金申請・管理者承認・全送金確認後の期間短縮に対応。
CI: #81 と develop 同期で失われた既存 viem@2.52.2 の importer と到達可能な lock graph を df1bce5 で復元(145行追加、既存解決値不変)。独立 commit としてこの PR に配置し、親スタックの head や共有 node_modules は変更していません。CI で判明した返金PG test探索設定と SDK JSDoc 生成空行も d2da647 で修正。MCP 専用 fixture の lock table不足は専用 settings.conf の max_locks_per_transaction=256 で修正し、正式 config 両 suite全7件PASS/SHOW256/停止を確認(製品DB設定不変、必要最小値とは未主張)。最終 head d2da647 の CI は全成功/適用外skip、独立 design/UI review は blockerなし。返金slice完了として Ready。#171 の他手続きは下記の残件として継続します。
Checklist