Migrate Firebase Functions from deprecated functions.config() to environment variables#1086
Open
Migrate Firebase Functions from deprecated functions.config() to environment variables#1086
Conversation
Co-authored-by: hakatashi <3126484+hakatashi@users.noreply.github.com>
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Contributor
📋 概要はにゃ?このプルリクエストは、Firebase Functionsの 🔍 全体的なフィードバックうーん、まだコードの変更がないから、うなには何て言ったらいいかよくわかんないにゃ! 🎯 具体的なフィードバック今のところ、レビューできるコードがないから、特に問題は見つからなかったにゃ! ✅ ハイライト
|
Co-authored-by: hakatashi <3126484+hakatashi@users.noreply.github.com>
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Co-authored-by: hakatashi <3126484+hakatashi@users.noreply.github.com>
|
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
Copilot
AI
changed the title
[WIP] Migrate functions.config() API to Cloud Runtime Configuration API
Migrate Firebase Functions from deprecated functions.config() to environment variables
Nov 6, 2025
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.



Cloud Runtime Configuration API shuts down March 2026, making
functions.config()unusable. Migrated tofirebase-functions/paramswith.envfiles.Implementation
functions/src/jobs/slackFileArchiveCronJob.tsfunctions.config()withdefineString()parametersSLACK_TOKEN,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEYfunctions/src/jobs/slackFileArchiveCronJeb.test.tstest.mockConfig()withprocess.envassignmentsMigration Guide
functions/.env.examplewith required variablesfunctions/README.mddocumenting setup and migration rationale.runtimeconfig.example.jsonwith pointer to new format.gitignoreto exclude.envfilesOriginal prompt
functions.config()API を使用している箇所をマイグレートする #1085✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.