Repository navigation
XCL-66 Supabase 停止対策の keep-alive (GitHub Actions の定期実行) - #263
Closed
HyuuNyackman wants to merge 1 commit into
Closed
HyuuNyackman wants to merge 1 commit into
HyuuNyackman wants to merge 1 commit into
Conversation
Free のプロジェクトは、1 週間 DB の活動がないと止まるため。Supabase の説明では、接続ではなくクエリが活動として数えられる。
Contributor
Code reviewNo issues found. Checked for bugs and AGENTS.md / CLAUDE.md compliance. 範囲: 全体 |
Contributor
5 tasks
Owner
Author
|
keep-alive は、いったん入れない方針にしたので閉じる (XCL-66 も閉じる)。 |
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.
概要
Supabase の Free のプロジェクトは、1 週間 DB の活動がないと止まる。公開中の Web 版が止まらないよう、3 日おきに軽い読み取りのクエリを送る。
変更内容
.github/workflows/supabase-keep-alive.yml: 3 日おき (UTC 3:17) と手動で、REST API からprofilesを 1 行読むEXPO_PUBLIC_SUPABASE_URL、EXPO_PUBLIC_SUPABASE_PUBLISHABLE_KEY)。公開してよい値なので、新しい Secrets は要らないprofilesは匿名でも読める (profiles_select_all)。書き込みはしない受け入れ条件
mainに入ってから確かめる)動作確認
mainで手動実行 (Actions → Supabase Keep Alive → Run workflow) し、200が出るリスクの確認
.env*、キー、トークン) を含めていない人が確認すること
main) のワークフローで動く。develop → mainに出したら、手動で 1 回実行して確かめる補足