Skip to content

fix: @shizuoka-its/core を 3.0.1 に更新し Supabase 接続エラーを解消#181

Merged
KinjiKawaguchi merged 1 commit into
mainfrom
fix/core-3.0.1
Apr 5, 2026
Merged

fix: @shizuoka-its/core を 3.0.1 に更新し Supabase 接続エラーを解消#181
KinjiKawaguchi merged 1 commit into
mainfrom
fix/core-3.0.1

Conversation

@KinjiKawaguchi

@KinjiKawaguchi KinjiKawaguchi commented Apr 5, 2026

Copy link
Copy Markdown
Member

Summary

`@shizuoka-its/core` を 3.0.1 にバージョンアップし、Supabase の Transaction pool mode 経由の接続で発生していた SSL 証明書検証エラー (`SELF_SIGNED_CERT_IN_CHAIN`) を解消する。

Why

v3 リリース後、本番で DB クエリ実行時に以下のエラーが発生していた:

```
Error: self-signed certificate in certificate chain
code: 'SELF_SIGNED_CERT_IN_CHAIN'
```

原因は、`node-postgres` (`pg`) が最新バージョンで `sslmode=require` を `verify-full` のエイリアスとして扱うようになり、Supabase の証明書チェーンで検証に失敗するようになったため。

core 3.0.1 で DB ドライバが `postgres-js` に切り替えられ(su-its/core#146)、この問題が解消された。

Test plan

  • `npx tsc --noEmit` パス
  • 本番環境で `/nick`, `/who`, `/auth` の動作確認

Open with Devin

core 3.0.1 で DB ドライバが postgres-js に切り替わり、Supabase の
Transaction pool mode 経由の接続で発生していた SSL 証明書検証エラー
(SELF_SIGNED_CERT_IN_CHAIN) が解消された。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@KinjiKawaguchi KinjiKawaguchi merged commit 278b66b into main Apr 5, 2026
2 checks passed
KinjiKawaguchi added a commit that referenced this pull request Apr 8, 2026
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant