Skip to content

Conversation

@alex-holovach
Copy link
Contributor

@alex-holovach alex-holovach commented Nov 30, 2025

Resolves #454

I was able to reproduce issue #454 by running app on Linux image that doesn't ship with lsof.

Changes

  • Fix Linux getPort() by reading /proc instead of invoking lsof.
  • Still return the first listening port by iterating FDs in order and matching inodes.

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>
Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>
@changeset-bot
Copy link

changeset-bot bot commented Nov 30, 2025

🦋 Changeset detected

Latest commit: 61d7e1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@workflow/utils Patch
@workflow/core Patch
@workflow/errors Patch
@workflow/world-local Patch
@workflow/builders Patch
@workflow/cli Patch
@workflow/next Patch
@workflow/nitro Patch
@workflow/web-shared Patch
workflow Patch
@workflow/world-postgres Patch
@workflow/world-vercel Patch
@workflow/sveltekit Patch
@workflow/world-testing Patch
@workflow/nuxt Patch
@workflow/ai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Nov 30, 2025

@alex-holovach is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>
@pranaygp pranaygp merged commit 34f3f86 into vercel:main Nov 30, 2025
37 of 63 checks passed
@alex-holovach alex-holovach deleted the fix-lsof-error branch November 30, 2025 22:08
alex-holovach added a commit to alex-holovach/workflow that referenced this pull request Dec 1, 2025
* fix(utils): detect linux ports via /proc

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>

* extract parsePort helper

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>

* add changeset

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>

---------

Signed-off-by: Alex Holovach <alex.holovach@kubiks.ai>
@pranaygp
Copy link
Collaborator

pranaygp commented Dec 1, 2025

@alex-holovach any chance this PR is causing the sveltekit builds to fail on vercel? cc @adriandlam

CleanShot 2025-12-01 at 08 53 35@2x

#447
image

@alex-holovach
Copy link
Contributor Author

@pranaygp correct, #473 seems to fix this by dynamically building path. Would've caught this earlier if I had access to deploy preview envs

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.

Very annoying lsof errors stack trace in pnpm run dev logs with the local dev world

2 participants