Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Deploying next-blog-app with
|
| Latest commit: |
b32c89c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f258769f.next-blog-app-8ai.pages.dev |
| Branch Preview URL: | https://review-api-notifications.next-blog-app-8ai.pages.dev |
This branch has not been deployed
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.
マージ前チェックリスト
go test -race ./...、go vet ./...、通知スクリプトのドライランが成功した。/api/search?q=を開く。HTTP 200で、JSONにcontents: []とtotalCount: 0がある。POST /api/sendemailをContent-Type: application/json、本文{}で送る。HTTP 400とMissing required fieldsが返る。この入力はメール送信前に終了する。実通知・実メールの配信成功は未検証。上記の確認で利用者への実送信は不要。
未解決の不具合や意図しない差分があれば、その項目を開いたままマージを保留する。
変更内容
問い合わせと検索APIの入力検証・エラー処理を改善し、外部サービスの応答に含まれる個人情報をログから除きます。記事通知ではS3の送信記録を使って再送を制御し、Zennの更新ではデプロイ受付の記録を追加します。
QA
go test -race ./...とgo vet ./...が成功。go test -v ./pkg/api/contact ./pkg/api/recaptcha ./pkg/api/searchで入力エラー、検索結果とページ送りを確認できます。go test -v ./pkg/api/contentops ./pkg/api/linkcheckerで確認できます。実通知の送信や本番デプロイは未実施です。運用への影響
日時不明または30日以上経過したOneSignalの保留記録は手動照合が必要です。Zennは新しい記録の導入時に現行フィードのビルドが一度走る可能性があります。Cloudflareが受理してからその結果を記録するまでに処理が重なった場合も再ビルドが発生し得ます。