release: env/dev → env/prod(旧Node関数の撤去)#140
Merged
Merged
Conversation
status/sanpai/register/ranking/userOGP/ogpRewrite とスケジュール4本は すべてGo版(statusGo等)へ移植済みで、フロントの$axios呼び出しと firebase.jsonのhosting rewrite(/u/*->ogpRewriteGo)もGo版のみを参照する。 app/functions/index.jsを関数を一切exportしないスタブにし、firebase deploy時に 旧Node関数がprune(削除)されるようにする。Go版(gcloud個別デプロイのgen2)は firebase管理外のためpruneされない。旧実装のソースはgit履歴に保全。 docs/backend.mdに撤去の経緯と挙動を追記。 Co-authored-by: kojira <kojira@users.noreply.github.com>
Co-authored-by: kojira <kojira@users.noreply.github.com>
Co-authored-by: kojira <kojira@users.noreply.github.com>
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.
本番反映(
env/dev→env/prod): 旧 Node 関数の撤去Go全面移行完了に伴い、本番の旧 Node Cloud Functions を撤去する。マージ=本番反映(あなたの dev 確認・指示後にのみマージします)。
dev での実地検証(このPRの内容で確認済み)
firebase deployが Node.js (1st Gen) 関数10本を削除(status/sanpai/register/ranking/userOGP/ogpRewrite + スケジュール4本、全て "Successful delete operation")。ログ上「Node.js 22 (1st Gen)」と明記され、Go(gen2)関数は prune 対象外。rankingGo→200、statusGo?user=ShinoharaTa→200。ranking/status→404。本番での挙動(同一メカニズム)
本番 prod-deploy は「Go関数→フロント」順だが、firebase deploy 時に同様に旧 Node 関数10本を prune する。Go関数は firebase 管理外のため影響なし。フロント/hosting は既に Go版のみ参照。
差分
app/functions/index.js(スタブ化)/docs/backend.mdの2ファイルのみ。