Open
Conversation
… Hovering badge shows popover with worker URL. File properties modal also shows clickable worker URL.
ProgrammerIn-wonderland
requested changes
Feb 13, 2026
Collaborator
ProgrammerIn-wonderland
left a comment
There was a problem hiding this comment.
Mostly good! But there is one unnecessary call to puter.workers.list() that I'd rather have replaced with a stat
| options.sort_container_after_append = (options.sort_container_after_append !== undefined ? options.sort_container_after_append : false); | ||
| const is_shared_with_me = (options.path !== `/${window.user.username}` && !options.path.startsWith(`/${window.user.username}/`)); | ||
|
|
||
| const workers = await puter.workers.list(); |
Collaborator
There was a problem hiding this comment.
shouldn't use puter.workers.list() for one file, as it fetches all workers. You should ideally just use the same fsentry for this information (.workers array) but if you don't have access to that information and must fetch a singular file's workers, use await puter.fs.stat({path: "~/Desktop/New Worker.js", returnWorkers: true})
ProgrammerIn-wonderland
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add worker badge on worker JS files and list Worker URL in file properties modal.
Fixes #2429