Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orphan sst dev processes #76

Closed
jayair opened this issue Mar 26, 2024 · 7 comments
Closed

Orphan sst dev processes #76

jayair opened this issue Mar 26, 2024 · 7 comments
Assignees

Comments

@jayair
Copy link
Contributor

jayair commented Mar 26, 2024

sst dev seems to get fail silently if there's a orphan process running. Can we detect it and throw an error?

https://discord.com/channels/983865673656705025/1177071497974648952/1221876710820151450

ION-239

@thdxr thdxr added linear Created by Linear-GitHub Sync and removed linear Created by Linear-GitHub Sync labels Mar 28, 2024
@thdxr thdxr changed the title Orphan sst dev processes [ION-239] Orphan sst dev processes Mar 28, 2024
@thdxr thdxr removed the linear Created by Linear-GitHub Sync label Mar 28, 2024
@thdxr thdxr changed the title [ION-239] Orphan sst dev processes Orphan sst dev processes Mar 28, 2024
@AlessandroVol23
Copy link

Not sure if connected but I had a same issue here: https://discord.com/channels/983865673656705025/1177071497974648952/1222858865515692162

An SST V2 app was running and I couldn't start sst dev
The output was the following:

time=2024-03-28T14:06:17.782+01:00 level=INFO msg="checking for pulumi" path="/Users/alessandrovolpicella/Library/Application Support/sst/bin/pulumi"
time=2024-03-28T14:06:18.034+01:00 level=INFO msg="checking for bun" path="/Users/alessandrovolpicella/Library/Application Support/sst/bin/bun"
time=2024-03-28T14:06:18.034+01:00 level=INFO msg=args args=[] length=0
time=2024-03-28T14:06:18.035+01:00 level=INFO msg="no existing server found, starting new one"
time=2024-03-28T14:06:18.036+01:00 level=INFO msg="waiting for server to start"

@VirtuaBoza
Copy link

VirtuaBoza commented Mar 28, 2024

I am currently experiencing sst dev exit/fail silently, and I don't have an orphaned sst process running. I just restarted my machine to be sure.
output:

➜  top git:(main) ✗ sst dev --verbose 'next dev -p 3000'
time=2024-03-28T14:41:27.627-04:00 level=INFO msg="checking for pulumi" path="/Users/aboza/Library/Application Support/sst/bin/pulumi"
time=2024-03-28T14:41:27.711-04:00 level=INFO msg="checking for bun" path="/Users/aboza/Library/Application Support/sst/bin/bun"
time=2024-03-28T14:41:27.711-04:00 level=INFO msg=args args="[next dev -p 3000]" length=4
time=2024-03-28T14:41:27.712-04:00 level=INFO msg="no existing server found, starting new one"
time=2024-03-28T14:41:27.712-04:00 level=INFO msg="waiting for server to start"
SST ❍ ion 0.0.229  ready!

➜  App:        stacks-ils-ion
   Stage:      aboza
   Console:    https://console.sst.dev/local/stacks-ils-ion/aboza

~  Deploying

Then it exits instead of running next dev (presumably)

@VirtuaBoza
Copy link

VirtuaBoza commented Mar 28, 2024

sst remove and then sst dev seemed to resolve my issue here, but ovbs i can't do that every time this happens.

@VirtuaBoza
Copy link

sst remove and then sst dev seemed to resolve my issue here, but ovbs i can't do that every time this happens.

Not a reliable remedy it turns out.

@VirtuaBoza
Copy link

here's a facsimile of my repo: https://github.com/VirtuaBoza/sst-repro-2

@VirtuaBoza
Copy link

sst.log
event.log

Copy link
Contributor

thdxr commented Mar 29, 2024

i think we've fixed this in 0.0.240 but it might still happen in other situations - post a new issue if you see it

@thdxr thdxr closed this as completed Mar 29, 2024
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

No branches or pull requests

4 participants