Refresh problem when adding or deleting a request in a custom workspace [4.4.0]
Internal - [BRU-5162]
I have checked the following:
- [x] I have searched existing issues and found nothing related to my issue.
This bug is:
- [ ] Making Bruno unusable for me.
- [ ] Slowing me down but I'm able to continue working.
- [x] Annoying.
- [x] This feature was working in a previous version but is broken in the current release.
Bruno version
4.4.0
💻 Operating System
Windows
Specific OS Version / Distro
Windows 11 25H2
🐞 Describe the bug
I have a workspace mapped on : U:\bruno\MyWorkspace When I create a new request or try to delete one in this workspace, nothing happened visually in Bruno. I need to restart Bruno to see the added request or removed request. When I enable log with terminal, I see this error :
Collection watcher error for U:\bruno\MyWorkspace\collections\WeatherMS: Error: UNKNOWN: unknown error, watch
at FSWatcher._handle.onchange (node: internal/fs/watchers:269:21) {
errno: -4094,
syscall: 'watch',
code: 'UNKNOWN',
filename: null
}
📝 Steps to reproduce
Create a new workspace on specific drive, which is not the C:\ drive. And then try to create a request.
📁 Collection to reproduce
No response
📷 Screenshots/Live demo link
No visual effect, except that nothing happens when I create the request.
Hi @Deejayfool, I tried the same steps with the workspace on a local D: drive. Creating and deleting requests updated the sidebar right away, and I didn't encounter any errors.
To understand the issue better, could you tell us a bit more?
- What kind of drive is U:? For example a local disk, a mapped network share, a drive made with
subst, or a cloud or virtual drive (such as a VM shared folder or a sync tool). - If you create a workspace on C:, does the sidebar update when you add or delete a request?
- Did this work in an earlier Bruno version? If so, which one?
Your answers will help us tell whether this is specific to certain drive types and how to reproduce it.
Hi, I have exactly the same behavior on MacOs Version 4.4.0. Collection's location is on local storage under user/Documents/bruno ( default behavior ) And it worked on previous version ( 4.3.0 )
Hello @Rohan-Bruno , Thank you for your fast feedback.
Here are the answers:
- The U: drive is a mapped network share, not a local drive.
- If I move my workspace to the C: drive (local drive), it works correctly. But I prefer to store my workspace on U: because we have a backup (not the case for C: drive)
- Yes it was working fine on 4.3.0.
Hi @Deejayfool, thank you for the additional details!
I've shared this with our engineering team, and it's being evaluated alongside our other product priorities. While I can't promise a timeline at the moment, we'll make sure it gets reviewed as soon as possible, and we'll share any updates as they become available.
We'll keep this thread updated with any progress or new information.
Hi @Deejayfool , ~~I tried reproducing this on 4.2, 4.3, 4.4 , I see the same issue on all versions. Can you confirm and share a video recording of it working fine on 4.3. Also, just ensure that default location in your preferences -> general settings is same.~~
My bad, confirmed this to be working on v4.3 and getting issue on v4.4.
Thanks for the details, @Deejayfool and @ypRemiB. I tried this on macOS with 4.4.0 using collections in Downloads, Documents/bruno and an iCloud Drive folder. Adding, renaming and deleting requests (both from Bruno and directly on disk) showed up in the sidebar right away in all three, so I couldn't reproduce it on macOS so far.
@ypRemiB, a couple of questions to help narrow it down:
- Is your Documents folder synced with OneDrive, Dropbox or a similar service?
- Could you start Bruno with terminal logging on and share any "Collection watcher error" lines you see after creating a request?
@Deejayfool, thanks for confirming it's a mapped network share and that it works on C:, that helps a lot.
Hi @Deejayfool , I tried reproducing this on 4.2, 4.3, 4.4 , I see the same issue on all versions. Can you confirm and share a video recording of it working fine on 4.3. Also, just ensure that default location in your preferences -> general settings is same.
Sorry, I cannot reinstall version 4.3 because I'm not administrator of my computer (company rules). But if you manage to reproduce it on several version, isn't it enough to find a fix for that ? And yes my default location in Bruno settings is : U:\bruno
Thanks @Deejayfool, no need to reinstall 4.3. We've been able to reproduce it on our side with a network share, and I'm tracking this internally with the team.
@ypRemiB, following up on my earlier comment. A few more details would help us reproduce this on macOS. Since your collection is on a local folder, your case may be different. When you get a chance, could you share:
- your macOS version and whether it's Apple Silicon or Intel
- whether this happens only for requests created inside Bruno, or also when files are changed directly on disk
- roughly how many requests are in the collection, and how much free disk space you have
Hi @aditya-bruno ,
- MacOS Version : 27.2.1 (26B131) : Apple Silicon ( M5 )
- Both.
- Not much : 2 or 3 and the others are tests to reproduce.
logs :
16:11:03.589 › AutoUpdater configured for darwin arm64 (using latest.yml) 16:11:03.591 › Checking for update Preferences file is located at: /Users/r-bosquet/Library/Application Support/bruno/preferences.json Error while fetching notifications! TypeError: fetch is not a function at fetchNotifications (/Applications/Bruno.app/Contents/Resources/app.asar/src/ipc/notifications.js:30:21) at pushNotifications (/Applications/Bruno.app/Contents/Resources/app.asar/src/ipc/notifications.js:52:33) at WebContents.<anonymous> (/Applications/Bruno.app/Contents/Resources/app.asar/src/ipc/notifications.js:65:54) at WebContents.emit (node:events:526:24) collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem watcher add: /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem/metadata.json collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem watcher add: /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem/opencollection.yml collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/.DS_Store collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/.gitignore collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/opencollection.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/Get Consuptions.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/folder.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/test 4.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/test 6.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/test.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway watcher add: /Users/r-bosquet/Documents/bruno/Scaleway/FinOps/test3.yml collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem 16:11:12.837 › Update for version 4.4.0 is not available (latest version: 4.4.0, downgrade is disallowed). collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem collection format /Users/r-bosquet/Library/Application Support/bruno/tmp/transient/65566/bruno-scratch-9ACHem collection format /Users/r-bosquet/Documents/bruno/Scaleway collection format /Users/r-bosquet/Documents/bruno/Scaleway