Skip to content

Resolve Bend checkup imports from the real entry - #2327

Draft
oxura wants to merge 1 commit into
bendlang:mainfrom
oxura:fix/checkup-symlink-root-20261124
Draft

oxura wants to merge 1 commit into
bendlang:mainfrom
oxura:fix/checkup-symlink-root-20261124

Conversation

@oxura

@oxura oxura commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

--checkup now resolves relative imports from the actual entry file, not from the directory where a symlink points to it. That matches the normal loader.

Fixes #2326.

I compared symlinked and direct runs byte for byte, and confirmed that an absolute import still runs. The Linux repo gate passed 56/56. The site-backed ping gate wasn't run.

- Follow the checkup entry symlink before interpreting any relative imports.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bend --checkup resolves relative imports beside a symlink

1 participant