Skip to content

Recursive link resolving for shell value #2388

Merged
ericcornelissen merged 13 commits intomainfrom
link-to-link-to-shell
Mar 4, 2026
Merged

Recursive link resolving for shell value #2388
ericcornelissen merged 13 commits intomainfrom
link-to-link-to-shell

Conversation

@ericcornelissen
Copy link
Copy Markdown
Owner

@ericcornelissen ericcornelissen commented Mar 4, 2026

Summary

Add a test scenario where the specified shell is a (sym)link to a file that is itself a (sym)link.

This gap was identified by Codex.

Add a test scenario where the specified shell is a (sym)link to a file
that is itself a (sym)link.
@github-actions github-actions bot added the test Relates to testing label Mar 4, 2026
@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Mar 4, 2026

DeepSource Code Review

We reviewed changes in 8d64998...6066f80 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Mar 4, 2026 4:43p.m. Review ↗

@github-actions github-actions bot added the meta Relates to the project or repository itself label Mar 4, 2026
Comment thread test/unit/executables/resolve.test.js Outdated
Because on macOS we don't have a predictable binary to point to that we
know Shescape knows (note that `/bin/sh` is not a symlink but not
sufficient for identifying the shell).
Comment thread src/internal/unix.js Outdated
@ericcornelissen

This comment was marked as resolved.

Copy link
Copy Markdown

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

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: 7aca8f63ee

ℹ️ 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 package.json
@ericcornelissen

This comment was marked as resolved.

@coderabbitai

This comment was marked as spam.

@coderabbitai

This comment has been minimized.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d76e5fa8-d00e-4bba-8c81-caf1cb2c7082

📥 Commits

Reviewing files that changed from the base of the PR and between 8d64998 and aa95786.

📒 Files selected for processing (10)
  • CHANGELOG.md
  • config/eslint.js
  • package.json
  • script/double-link-sh.js
  • src/internal/executables.js
  • src/internal/unix.js
  • test/_constants.js
  • test/e2e/_common.js
  • test/unit/executables/resolve.test.js
  • test/unit/unix/index.test.js

Comment thread script/double-link-sh.js
Comment thread src/internal/executables.js Outdated
Comment thread test/_constants.js
@ericcornelissen

This comment has been minimized.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ 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".

@ericcornelissen ericcornelissen added the bug Something isn't working label Mar 4, 2026
@ericcornelissen ericcornelissen changed the title Test when shell points to a link that points to a link Recursive link resolving for shell value Mar 4, 2026
@ericcornelissen ericcornelissen merged commit c37bde8 into main Mar 4, 2026
40 of 41 checks passed
@ericcornelissen ericcornelissen deleted the link-to-link-to-shell branch March 4, 2026 21:31
bajramierzon-cloud

This comment was marked as off-topic.

@ericcornelissen ericcornelissen removed test Relates to testing meta Relates to the project or repository itself labels Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants