Commit 7dfe91b
committed
test(runtime): main 新增的 #5079 ARTIFACT-backed 用例改走 OS_METADATA_WRITABLE 逃生门
合并 origin/main 后的 jointly-wrong 破坏(AGENTS.md §10):两侧各自正确、
合起来红。main 在 meta-overlay-read-your-writes.test.ts 新增了整个
`#5079 — list / get / dispatch agree immediately after deleteMeta` describe 块,
其中 `an ARTIFACT-backed delete resets to the shipped value` 用例对一个
PACKAGED action 做 overlay 写;本 PR 把 `action` 的 allowOrgOverride 回滚为
false(#6483 裁决),该写点遂抛 NOT_OVERRIDABLE。文本合并干净,故 git 无冲突。
对齐方式沿用本 PR 已提交的同类处置(#4521 块中的同形用例):打开
`OS_METADATA_WRITABLE` 运营逃生门并重置两处 memoised 缓存,配 afterEach 清理,
避免 action 可写性泄漏到相邻用例。该 describe 块其余用例写的都是全新名字,
走 allowRuntimeCreate,不受回滚影响,故只此一处需要逃生门。
pnpm --filter @objectstack/runtime test: 115 files / 1733 tests 全绿。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011sGk4SKHqGRgmmqUok1P8M1 parent 698fae3 commit 7dfe91b
1 file changed
Lines changed: 20 additions & 0 deletions
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
350 | 358 | | |
351 | 359 | | |
352 | 360 | | |
353 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
354 | 374 | | |
355 | 375 | | |
356 | 376 | | |
| |||
0 commit comments