Skip to content

refactor: fileBrowser script can handle multiple runs - #1038

Open
Harsh9485 wants to merge 1 commit into
coder:mainfrom
Harsh9485:enhance-fileBrowser-script
Open

refactor: fileBrowser script can handle multiple runs#1038
Harsh9485 wants to merge 1 commit into
coder:mainfrom
Harsh9485:enhance-fileBrowser-script

Conversation

@Harsh9485

Copy link
Copy Markdown
Contributor

Description

Closes : #932

I added a check to see if a filebrowser process is already running, if a process found, the script verifies whather the FB_DATABASE environment variable matches the current database path, if it matches, it mean file Browser is already configured and running for same database, so there's no need to configure it again. the script exits early instead of running the configuration a second time.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/filebrower
New version: v1.1.6
Breaking change: [x] Yes [ ] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Screenshots

Screenshot 2026-07-30 193128

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.

bug(file browser): Timeout error, database lock

1 participant