Repository navigation
消えたcwdからの実行をCWD_UNAVAILABLEで返す(0.71.1) - #4
Merged
Merged
Conversation
mac-kiteのBugHub d3c4989e(LATTICE.CLI_INTERNAL_FAILED)の調査で、削除済みcwdから run系commandを打つとprocess.cwd()のENOENTがtyped契約の外へ漏れ、内部故障として 記録されることを実機で再現した。todo・status等は生のstackで落ちていた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
何を直すか
BugHub d3c4989e(mac-kite、`LATTICE.CLI_INTERNAL_FAILED`、22回)の現地調査で、削除済みの作業ディレクトリから runtime-cli 行きのcommand(`run list --json` 等)を実行すると、`process.cwd()` の ENOENT(uv_cwd)が typed契約の外へ漏れ、`INTERNAL_FAILURE` を返して内部故障として記録されることを、Mac実機(0.71.0)で再現した。`todo`・`status` などは同じ条件で Node の生のstackで落ちていた。
注意
22回すべてがこの経路だとは証明できていない。記録は error_code だけで集約され、コマンドや理由が残らない。Macの transcript(約14GB)にも `INTERNAL_FAILURE` の出力は残っていなかった。再現できた経路はこれだけ。
試験
🤖 Generated with Claude Code