Repository navigation
fix: #64 のマージ後レビューの指摘を直し、0.21.1 に bump する (formatVersion の README・テスト行、HarnessMenu.live() の owner guard ほか) - #67
Merged
Merged
Conversation
…not an unsupported one
…pted answer Rows for 2^53+1, Int.max, Int.min (unsupported), Int.max+1 (out of range), 1.0 and 1e0 (read as 1), 1e400 and a lone surrogate escape in name (not valid JSON, no key). A Double-only FormatVersion turns the first two red. The comments now say only what the rows show: the decoder gives .dataCorrupted an empty coding path, so the arm that named a key for a non-empty path had nothing to catch.
… 14 may not draw The README, the .lens paragraph of ARCHITECTURE.md and the Lane 1 Effects-menu row still stated the second line unconditionally, while the Menu bar decision (D8) and the step 8 note already call it a known limit on 14.x.
lane_of read the glob's own text, so a wildcard such as Dev* fell into the None lane and failed as dead weight. The staleness check now expands the glob and passes when at least one matched module's lane resolves the key's kind. The descriptions of the three staleness reasons (D8 in ARCHITECTURE.md, Per-key denials in architecture-boundaries.md) now say what the script checks.
HarnessMenu.live() builds the live AppRouter, whose Presenter resolves effectInteractor, so a second test calling it would freeze the process-wide singleton in its own scope and pass the key-path grep. check-live-owner.sh now fails on the call outside the owner suite (verified with a temporary Tests file); the one other spelling, a doc comment in HarnessMenuTests, is reworded because the grep reads comments. ARCHITECTURE.md and AGENTS.md state the new reach.
…FileSystemGateway contract
…e gateways' smoke suites The paragraph said every suite that touches the disk runs in a UUID-named temporary directory, while ExamplePackagesTests reads the repository's own Examples/ with no temporary directory (the File system row and testing.md already say so).
…ly the folder The default-graph test asserted only the in-memory file system and the error log, so dropping the fileWatchGateway or keyValueStoreGateway override still passed. It now asserts the directory watch reached the fake file events with no 'could not watch' line, and a second test seeds the in-memory store with a package choice and reads the restored selection back. Dropping either override turns the suite red; Finder is only overridden, and the header and ARCHITECTURE.md now say so.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-up of #64
version.txtの bump も入っていませんでした (main は 0.21.0 のまま)。マージorigin/main(9153a42) のコードに照らして一件ずつ0.21.0→0.21.1の patch bump を足します。formatVersion、HarnessMenu.live()の盲点、macOS 14 の second line、manifest のSources/のformatVersionのIntに収まらない整数は unsupported ではなく invalid (out of range) としてformatVersionの端の値を行として固定しました (6424cde)。指摘 2 / 12。Int.max、Int.minは unsupported、Int.max+1は out of range、1.0と1e0は 1 として読まれる、1e400とnameの lone surrogate escape は key を名指しできない "not valid JSON"。FormatVersionをDoubleだけで読む形にInt.maxの 2 行が赤になりました (Int-then-Double の.dataCorruptedの arm は、lone surrogate も1e400も coding path が空になることを.lensの段落・dev-verification.md の Lane 1 の Effects menu 行にscripts/check-dependency-keypaths.shの DENIALS の staleness check が、glob の文字列そのものから lane を決めていたため、Dev*のような wildcard が None lane の dead weight とDev*の行は通り、一致する module が無い行・port でない key の行・lane が既に禁じている key の行はそれぞれHarnessMenu.swiftのコメントが「entry lane」AppとDevHarnessに直しました (aaab619)。指摘 8。scripts/check-live-owner.shにHarnessMenu.live()の呼び出しを owner 以外のHarnessMenu.live()は live のAppRouterを作り、その Presenter がeffectInteractorを解決して processHarnessMenu.live()と書くと script がHarnessMenuTestsの doc comment の綴りを言い換えました。ARCHITECTURE.md と AGENTS.md にもHarnessLiveWiringTestsの使われなくなったimport AppRouterをFileSystemGatewayの doc comment に、CocoaErrorの.fileReadNoSuchFileを投げ、EffectPackageDataSourceがそれで missing と unreadable を分けることを書きました (da1f235)。指摘 11。ExamplePackagesTestsが read-only でExamples/を読む例外を明記しました (32872c9)。指摘 14。HostEffectRegistrationsTestsが file events と key-value store を読み戻していなかった点を直しました (836507e)。指摘 13。FakeFileWatchGatewayに張られたこと、developer log に "could not watch" が無いこと、何も書き込まれていないことをpackage:glitchを seed し、in-memory の effects folder にその package を置いて、復元された selection と runtime に渡された source をfileWatchGatewayの override を外すと default graph のkeyValueStoreGatewayの override を外すと復元のopenFolderを呼ばないため、header と ARCHITECTURE.md の記述を、実際に読み戻しているもの (folder、file events、defaults) に狭めました。version.txtを 0.21.0 から 0.21.1 に上げました (18bf00a)。DENIALSの hit path と staleness failure にcheck-*script にも negative test は無く、head 18bf00a のローカルゲート (
なし、
make formatのmake lint、make check、make build、make build-dev-harness、make test、make test-gpu):known issues の 10 件は main にもある
の件数です。