-
Notifications
You must be signed in to change notification settings - Fork 291
fix(async): 把事件循环上的同步落盘收口,并给这一类加 CI 守卫 #2598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
40bef65
fix(async): 把事件循环上的同步落盘收口,并给这一类加 CI 守卫
wehos d3a72c9
fix(async): 收口评审指出的三处并发回归,storage 全部回退成同步
wehos ce5a3b6
fix(async): 第二轮评审六条 + 修我自己新增测试的 flake
wehos 71bf54f
style(tests): docstring 去掉中文引文,过 DOCSTRING_CJK 门禁
wehos 63cd511
fix(async): 统一「读写这对文件都拿锁」的规则,并补两处取消/并发窗口
wehos 496d243
fix(workshop): 参考语音替换改成「先写 durable 再删旧」(greptile P1)
wehos 2fa7906
fix(workshop): 同名替换失败回滚旧音频;建目录失败如实上报(Codex P2 ×2)
wehos dec9e4a
fix(workshop): 回滚失败时保留备份,别删掉旧音频唯一的副本
wehos c5e3cc0
refactor(workshop): 参考语音改成「manifest 写 = 唯一提交点」,配置事务与自愈写共用一把锁
wehos 7cf4e84
fix(config): persist_user_workshop_folder 的读改写也整段持锁(CodeRabbit)
wehos 5455a11
fix(async): 防复读拆两段式;配置锁挪出读路径与慢速建目录(Codex P2 ×3)
wehos 838c31c
fix(workshop): 指向普通文件的路径不算「目录已就绪」(Codex P2)
wehos 47c0182
fix(workshop): 自愈写不在事件循环上抢锁;目录字段落盘前校验类型(Codex P2 ×2)
wehos c4d0cbe
fix(workshop): 读容忍 os.replace;配置字段校验绝对路径与布尔;保存与建目录同 worker
wehos 3df1ded
fix: 读重试不在事件循环上退避(第五次同款陷阱);sweep 只删自己生成的名字
wehos 894ba76
fix(workshop): 清旧音频改成「只删上一份 manifest 指着的那个」(greptile P1)
wehos f6b2c05
fix(workshop): 删之前校验 manifest 路径不出目录(P1);缺配置分支不上锁;空白值拒掉
wehos 3634c95
fix(config): 在飞的旧读不许把 last-good 缓存盖回保存之前的快照
wehos bce7d52
fix(workshop): 清理只认合法音频;last-good 回落只用于瞬时 busy(Codex P2 ×2)
wehos 68dca36
fix(config): last-good 缓存的「比较代数 + 赋值」收进一把微锁(Codex P2)
wehos 7782423
fix(workshop): 空字符串是「清除覆盖」的官方写法,不该被空白校验一并拦掉
wehos dfa17f5
fix(workshop): 带目录分量的引用不算自己的;last-good 微锁的懒创建加双检
wehos fc2c825
fix(workshop): 目录字段落盘前做「OS 是否收得下这个串」的正向校验(Codex P2)
wehos efa3b5b
fix(workshop): 路径探针挪进 worker(第七次同款陷阱);旧录音删除失败不再静默
wehos c69e3bc
fix(async): 收口 #2598 阻塞与目录竞态审计
wehos be955c3
fix(async): 保留取消后的 worker 所有权
wehos 249fd9d
test(workshop): AST 守卫先查重名,别让被遮蔽的重复定义对它隐形
wehos 268c10b
fix(workshop): 只清理明确托管的参考音频
wehos 2e2a2f1
fix(workshop): marker 之前写的 manifest 也要认,否则存量升级后漏删自己的录音
wehos 2474e3e
fix(proactive): 落盘从提交路径上摘下来,取消不该把已投递的一轮倒回成没投递
wehos dd737ca
fix(workshop): WinError 5 是二义的,回落改按「持续多久」判,别只看错误码
wehos 6e58e71
style(tests): 替身 logger 的 docstring 改回英文
wehos 2e017cf
fix(prompt-flows): 只保住已经在跑的 worker,还排在锁上的取消掉
wehos 570079d
fix(workshop): 持续读失败时节流 warning,别把要人看的那条 ERROR 埋掉
wehos 33a13d8
docs(workshop): 互斥说明里的「参考语音」统一成「参考声音」
wehos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.