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

extension and local_resource with the same name lead to weird loops #4883

Closed
nicks opened this issue Aug 24, 2021 · 0 comments · Fixed by #5746
Closed

extension and local_resource with the same name lead to weird loops #4883

nicks opened this issue Aug 24, 2021 · 0 comments · Fixed by #5746
Assignees
Labels
bug Something isn't working

Comments

@nicks
Copy link
Member

nicks commented Aug 24, 2021

Add the following to your Tiltfile:

v1alpha1.extension_repo(name='default', url='https:/tilt-dev/tilt-extensions')
v1alpha1.extension(name='my-extension',` repo_name='default', repo_path='cancel')

local_resource(name='my-extension', cmd='echo hi')

This creates an extension and a local_resource with the same name.

The Tilt UI will jitter back and forth between representing the status of the extension and representing the status of the local_resource in the same UI element

@nicks nicks added the bug Something isn't working label Aug 24, 2021
@milas milas self-assigned this Apr 28, 2022
milas added a commit that referenced this issue Apr 28, 2022
This is a bit of a hacky fix to prevent bizarre behavior if you
end up with an extension that has the same name as another resource.

Fixes #4883.
milas added a commit that referenced this issue May 3, 2022
This is a bit of a hacky fix to prevent bizarre behavior if you
end up with an extension that has the same name as another resource.

Fixes #4883.
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 a pull request may close this issue.

2 participants