Tests: accept the PostgreSQL 18 code for ON DELETE RESTRICT

未關閉 適合新手
#212 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
78/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
postgresql, typescript
領域
databases, testing

研究方向

從 fleet-tenant.integration.spec.ts 和 tenant-schema.integration.spec.ts 中失敗的斷言開始,接著檢查它們與 PostgreSQL 對 ON DELETE RESTRICT 回報的錯誤代碼是否相符。更新測試,使其接受 PostgreSQL 17 和 18 回報的代碼,同時繼續斷言刪除會遭到拒絕。在兩個版本上執行這些測試;兩個版本的測試全部通過即表示完成。

由索引模型根據 Issue 內容生成。

描述

good first issue priority:P2 track:control-plane
Track

C: control plane

Scope
  • PostgreSQL 18 reports 23001 where 17 reports 23503, which fails three tests in fleet-tenant.integration.spec.ts and tenant-schema.integration.spec.ts.
  • Needed before moving the pinned test image past 17.
Acceptance criteria

Those tests pass on both versions, still asserting that the deletion is refused.

主要語言
TypeScript
星號
2
分支
1
平均合併
7 小時 17 分鐘
30 天內合併 PR
197

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

shipkeepdev/shipkeep 的其他 Issue

查看 shipkeepdev/shipkeep 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。