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

bug: new folder not showing up in folder list, has no metadata file #4279

Open
jmichaelsmotus opened this issue Aug 22, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jmichaelsmotus
Copy link

Describe the bug

If you move a script from under a user to a new folder that you create inline, then deploy that script to another workspace which has Git Sync enabled, the new folder will be missing its metadata file. If you then do a wmill push with the source from Git Sync to a separate Windmill instance, the folder won't show up in that instance's folder list.

To reproduce

  1. Ensure there are at least two workspaces in your Windmill instance, let's call them A and B.
  2. A should be able to deploy to B.
  3. B should have Git Sync turned on.
  4. Create a new script under your user in workspace A and deploy it there.
  5. Deploy the script to workspace B.
  6. In workspace A, move the script from under your user to a new folder.
  7. From workspace A, deploy the script to workspace B.
  8. In the Git repository for workspace B, observe that there is no folder.meta.yaml in the new folder.
  9. From the Git repository for workspace B, push to a separate Windmill instance.
  10. In the separate Windmill instance, observe that the new folder does not show up in Folders & Groups > Folders, but the script itself does show up in Home.

Expected behavior

After deploying to workspace B, the new folder's folder.metadata.yaml should get created, and when pushing the source to a separate Windmill instance, the new folder should show up in the Folders list.

Screenshots

No response

Browser information

No response

Application version

v1.334.0

Additional Context

No response

@jmichaelsmotus jmichaelsmotus added the bug Something isn't working label Aug 22, 2024
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

No branches or pull requests

2 participants