GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: populate 中の entry drop で null を返し部分 file list の流出を型で遮断 (#407 Finding 2) by ymnao · Pull Request #443 · ymnao/scripta Conversation
Owner
概要
関連 Issue#407 の Finding 2 のみを消化(Finding 4 は未着手のため #407 は open 継続)。 移行 Stage
変更内容
動作確認
検証エビデンスリスク分類tier: medium — 実行した検証
mutation 検証の内訳
変異 E は code-reviewer round 1 の Warning そのもので、指摘時点では既存 test を全通過していた。test 追加後に kill されることを実行確認済み。 レビュー指摘と対応
/simplify の reuse / efficiency 観点はいずれも finding なし。efficiency 観点は「entry drop 時に walk 結果を捨てる無駄」について、 追跡先backlog delta: 起票 1 件 / 本 PR で close 0 件 / 現在 open 18 件
Draft 判定
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…ding 2) - populateFileListCache の epoch guard 失敗を 2 分岐に分割。entry 生存 + epoch bump は walk 完走なので従来どおり sortWalkResult を返し (性能劣化ゼロ)、 entry drop / 入れ替わりのみ null を返す - caller の walk は entry 生存を isStale の baseline にしているため、entry drop 後の walk 結果は部分 list になりうる。従来は完全な list として扱われ truncated=false のまま不完全な検索結果が返る経路があった - collectMdFilesForWorkspace を Promise<MdFiles | null> にし、4 caller が 既存の isStale bail に合流する形で空応答を返す - caller 側の null 忘れは分割代入が型エラーになるため型が pin する (mutation 検証で TS2339 を確認) - code-reviewer Warning: `current !== e` を `current === undefined` に弱化する 変異が既存 test を全通過していた。drop → 再 acquire した新 entry は epoch 0 で epochAtStart と一致するため、変異下では部分 list が新 entry の cache に格納される (修正前より悪い cache poisoning)。この経路の test を追加し変異が kill されることを確認 - /simplify: null 契約の同一説明が 4 箇所に重複していたため先頭の契約コメントに集約 Uh oh!
There was an error while loading. Please reload this page.
4 of 11 tasks
ymnao
added a commit
that referenced
this pull request
* chore: v0.8.0 リリース準備 - package.json の version を 0.7.0 → 0.8.0 に上げる - CHANGELOG.md に v0.8.0 のエントリを追加する (#283 〜 #631、170 commit) - Electron 44 で macOS の最小要件が 13 (Ventura) に上がることを冒頭に明記する (同梱 Electron 44.5.1 の LSMinimumSystemVersion が 13.0) - リリース後、tap 側で Cask の depends_on macos を :ventura に上げてから autobump を手動実行する (docs/parity-checklist.md §11) Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: v0.8.0 の CHANGELOG をコミットの実態に合わせて直す - hard link (#601) は検索結果の stale 対策で、ワークスペース外アクセスの封鎖では ないので Security から Fixed へ移す - 漏れていた #414 / #443 / #623 と CI actions の更新を足す - #461 の 3 経路 (別タブのファイルへの書き込み・rename 前パスの復活・ ウィンドウを閉じたときの保存漏れ) を分けて書く - #444 を wikilink がすべて未解決になる症状として、#622 を Fixed として書き直す - electron-builder の完全一致固定に出所 (#283) と理由を添える - [0.8.0] / [0.7.0] の参照リンク定義を足し、README の Electron 版を v44 に直す Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs: v0.8.0 の CHANGELOG の #623 / #443 の記述を実測条件と実際の UI に合わせる - #623 の「1 秒以上」に実測条件 (キャッシュ 1 万件・イベント 1000 件) を添え、 コミットに無い git checkout の例を外す - #443 の「すべて表示した」は実在しない UI 文言なので、打ち切りの通知が 出ないという実挙動で書く Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |