Skip to content

Fix ls stdlib resolution from project root#1067

Open
WrldLiberty wants to merge 3 commits into
ton-blockchain:masterfrom
WrldLiberty:codex/fix-ls-stdlib-root
Open

Fix ls stdlib resolution from project root#1067
WrldLiberty wants to merge 3 commits into
ton-blockchain:masterfrom
WrldLiberty:codex/fix-ls-stdlib-root

Conversation

@WrldLiberty

@WrldLiberty WrldLiberty commented May 11, 2026

Copy link
Copy Markdown

Summary: resolves acton ls stdlib paths from the configured project root instead of the current working directory, and ensures the stdlib is available before scanning. Uses a quiet stdlib install path for stdio LSP startup so human-readable install/update banners do not corrupt the LSP stdout stream. Adds an integration test covering ls from a nested working directory with --project-root and asserts the stdlib banner is not written to stdout.

Verification: cargo fmt --check passed; git diff --check passed; targeted integration test passed in Ubuntu WSL: cargo test --test integration_test integration::ls_tests::test_ls_ensure_latest_uses_project_root_from_nested_directory -- --exact.

@WrldLiberty
WrldLiberty requested a review from i582 as a code owner May 11, 2026 19:37

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f99c0b23cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/commands/ls/mod.rs Outdated
@WrldLiberty

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant