docs(bootstrap): clarify trace step comment, drop stale libghostty note#35
Closed
eouzoe wants to merge 1 commit into
Closed
docs(bootstrap): clarify trace step comment, drop stale libghostty note#35eouzoe wants to merge 1 commit into
eouzoe wants to merge 1 commit into
Conversation
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.
修改了什麼
scripts/start.sh第 5 步(devenv 啟動 + trace)的註釋清理:移除過時的(zsh via libghostty)措辭,並補充 trace 機制的說明(用 devenv 原生--trace-to,不強制 OTLP 導出)。為什麼要修改
libghostty是 devenv 2.1 內部實作細節,不該寫在引導腳本的面向使用者註釋裡,且易與「WSL/終端」混淆。--trace-to pretty:stderr,是否導出 OTLP 由使用者自行決定,腳本不硬塞 grpc 導出。功能
涉及檔案
scripts/start.sh(註釋 +4 / -1,第 5 步)影響
參考文件 / 依據
--trace-to統一 flag,pretty:stderr為 stderr 漂亮輸出;otlp-grpc/otlp-http-protobuf才導出。本機 devenv 2.1.2--help已確認pretty:stderr為受支持語法。nix profile add nixpkgs#devenv安裝,trace flag 同樣適用。測試
bash -n scripts/start.sh語法通過。devenv --trace-to pretty:stderr --help接受該 flag(exit 0)。