Caching of templates not working as intended
In my previous thread I was told by @Brody that a template will always pull the newest github version if you deploy it to a fresh project. This is sadly not working as intended. Just deployed project: a302b761-0ded-4c28-a2be-630daf88c09a
My upstream repo has the files: https://github.com/ai-made-approachable/chatbot-ui/tree/main/components/sidebar/items/prompts
My newly created source repo is missing the files: https://github.com/ai-made-approachable/chatbot-ui-5/tree/main/components/sidebar/items/prompts
I even recreated the template and used a new one. Also did not invalidate the cache:
- Old template: https://railway.app/template/RnCYJL
- Freshly created template: https://railway.app/template/XjMVyQ
And the same issue happens if I use the existing "Chatbot UI" railway template by someone else. It also does NOT pull the current main version and fails building because of missing files: https://railway.app/new/template/dSKMsy
Upstream repo: https://github.com/mckaywrigley/chatbot-ui/tree/main/components/sidebar/items/prompts
Soure repo: https://github.com/ai-made-approachable/chatbot-ui-existing-template/tree/main/components/sidebar/items/prompts
19 Replies
Project ID:
a302b761-0ded-4c28-a2be-630daf88c09a
what else is missing?
because its not like those prompt files are new
Not sure. But this is where the build starts failing
And I have no idea what to do about it. Of course i can manually fix the source repo... but then the template does not work
Somehow railway does not fully clone the git repository.
And this is already the 2nd github project I have the issues with. Last time I used LibreChat and not Chatbot-UI. So seems to be a general thing
But to answer you more precisely. Only certain things are missing. E.g. the "items" folder is existing. Just not the prompts folder: https://github.com/ai-made-approachable/chatbot-ui-existing-template/tree/main/components/sidebar/items
then this isnt cache, something else is going on
those prompt files are both a month old
Maybe. But as a customer only thing I can see is: My github repository is not fully cloned. And that is the reason why it is not working.
How should I know what happens "under-the-hood"?
I am not cloning the repository myself
i dont know whats going on under the hood either
Not sure you even work for Railway or just help out. But I hope someone creates a ticket for some tech team to check it out
i dont work for railway
Then thx alot for keeping up with me and trying to help 🙂
Hm and great. Looks like I cannot ask for official support on the form without paying more.
I think I will look for another cloud provider...
quite the drastic reaction
if this is an issue with railway we can get team eyes on this, just trying to confirm that fact
Not sure this is anything:
Solution
once removed, those files come through
Thx! Okay, you were right. No railway issue.
Why is that in there? Well I learn for next time what to check if I use repositories of other people ...
Comes straight from the original repository:
https://github.com/mckaywrigley/chatbot-ui/blob/main/.gitignore#L42
this was the pr that added that line to the .gitignore file https://github.com/ai-made-approachable/chatbot-ui/commit/80c2552541c0f9d72cd45be4d2494399d1dcb000
Wow, really thanks a lot! I knew about .gitignore files, but did not think about checking it out at all
i opened the project up in vscode, it showed me the
prompts
folder being greyed outAh, right. Yeah should do that in the future I guess.
mystery solved