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 摘要。