デプロイの409(operation未解放)に1回リトライを追加#186
Merged
Merged
Conversation
マージが近接して連続デプロイになると、前のrunのGCP側オペレーションが 未解放の関数が 409 unable to queue the operation で即失敗する (#178のdevデプロイで発生)。gcloud functions deploy を関数ごとに 90秒おいて1回だけリトライするようにする(dev/prod両ワークフロー)。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
kojira
pushed a commit
that referenced
this pull request
Jul 18, 2026
kojira
pushed a commit
that referenced
this pull request
Jul 18, 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.
概要
マージが近接して連続デプロイになると、前のrunのGCP側オペレーションが未解放の関数が
409 unable to queue the operationで即失敗する(#178のdevデプロイ run 29461737836 で実際に発生し、rerun_failed_jobs で復旧した)。dev-deploy.yml / prod-deploy.yml の
deploy()ヘルパーで、gcloud functions deployが失敗した場合に 90秒待って1回だけリトライするようにする。並列デプロイの構造(バックグラウンド起動+PID収集+wait)はそのまま。検証
🤖 Generated with Claude Code
https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Generated by Claude Code