Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tach sync with <root> dependencies #567

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Fix tach sync with <root> dependencies #567

merged 2 commits into from
Jan 24, 2025

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Jan 24, 2025

This PR fixes a bug introduced with the new tach sync changes. Specifically, tach sync would not automatically create the <root> module, even when it detected dependencies, because this module is not marked during tach mod and therefore did not appear in module_paths() on a fresh ProjectConfig.

This handles this special case explicitly. In all other cases, detected dependencies will always refer to modules already existing in module paths.

Base automatically changed from default-ignore-root to main January 24, 2025 20:08
@emdoyle emdoyle merged commit d9d913e into main Jan 24, 2025
8 of 11 checks passed
@emdoyle emdoyle deleted the fix-sync-root-module branch January 24, 2025 20:14
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.

1 participant