Read fresh PostgreSQL activity in the Casework lease test
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
调研方向
找到 Casework 完成分发器的租约测试,并检查读取 pg_stat_activity 的观察器。检查观察器如何获取其 snapshot,以及它相对于 commit 和 session 清理的采样时机;添加新的观察或有界轮询,同时保留有关事务生命周期和行锁的断言。当暂时过时的观察不再导致失败,但仍然存在的事务或锁依旧会产生有用的断言时,测试就完成了。
由索引模型根据 Issue 内容生成。
描述
The Casework completion dispatcher test checks that a leased operation leaves no transaction or row lock behind. Its observer reads pg_stat_activity once. One integration run failed this observation and the unchanged rerun passed. Check whether the observer can retain a stale activity snapshot or sample during session cleanup.
Use a fresh observer snapshot and, if needed, bounded polling after commit. Retain the assertions for both transaction lifetime and row locks. A genuine remaining transaction or lock should still fail with a useful assertion.
- 主要语言
- Rust
- 星标
- 2
- 派生
- 0
- 平均合并
- 13 小时 16 分钟
- 30 天内合并 PR
- 117
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
registrystack/registry-stack 的其他 Issue
-
area:breg enhancement
难度 2/5 1-3 小时 新手友好度 65/100
registrystack/registry-stack#2765 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
registrystack/registry-stack#2761 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
registrystack/registry-stack#2743 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
registrystack/registry-stack#2706 ·
维护者通常 1 天内回复
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directory未关闭
难度 2/5 1-3 小时 新手友好度 83/100
registrystack/registry-stack#2704 ·
维护者通常 1 天内回复
查看 registrystack/registry-stack 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
tamatebako/tebako#1155 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 79/100
swc-project/swc-next-issues#1148 ·
-
agent:triaged arch-audit bug priority:p1
难度 2/5 1-3 小时 新手友好度 68/100
SocketDev/socket-patch#2364 · 1 条评论 ·
维护者通常 1 天内回复
-
bug P2
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复