Skip to content

Adds check for websocket source#3219

Merged
zerbitx merged 7 commits intomainfrom
DSP-176
Apr 22, 2026
Merged

Adds check for websocket source#3219
zerbitx merged 7 commits intomainfrom
DSP-176

Conversation

@zerbitx
Copy link
Copy Markdown
Collaborator

@zerbitx zerbitx commented Apr 21, 2026

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #DSP-176

Please provide a short message that should be published in the DevSpace release notes
See: https://github.com/devspace-sh/devspace/security/advisories/GHSA-hqwm-7x7x-8379

What else do we need to know?

The changes pertaining to the CVE are all to do with the websocket upgrader and logs, but ci was failing for a variety of reasons. I kept it a several commits rather than forcing them all into one to make review easier. The windows unit test failure is due to helm v4 already being on the runner, so it doesn't download v3 and the version string check fails. I can add something to the workflow to remove the default installed helm so it will pass, but I figured we could also just leave that to a future PR.

@zerbitx zerbitx requested a review from lizardruss April 21, 2026 21:36
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 21, 2026

Deploy Preview for devspace-docs canceled.

Name Link
🔨 Latest commit 8790cab
🔍 Latest deploy log https://app.netlify.com/projects/devspace-docs/deploys/69e90da941600c000854bff3

@zerbitx zerbitx force-pushed the DSP-176 branch 2 times, most recently from 0418389 to c6f59d2 Compare April 21, 2026 22:21
Signed-off-by: Ryan Swanson <ryan.swanson@loft.sh>
…amic HTTP responses

- add per-run build markers to restarthelper fixtures to avoid cached image reuse
- retry sync writes until the remote file reflects the change instead of assuming watcher readiness
- sanitize terminal output parsing so pod name detection is resilient to control characters
- deduplicate image tag lookup logic in build tests
- clean up env var set/unset handling across e2e tests to satisfy errcheck
zerbitx added 2 commits April 22, 2026 08:28
- lazy-load node-fetch, cli-spinner, inquirer, and find-process in dist/npm/index.js
- switch get-latest to built-in https so it can run without local node_modules
- keep postinstall working when find-process is not yet installed
- prevent npm global install from failing during prepare/postinstall in a clean checkout

Signed-off-by: Ryan Swanson <ryan.swanson@loft.sh>
- lazy-load optional installer dependencies in dist/npm/index.js
- use built-in https for latest-version lookup and release downloads
- fall back to plain logging when cli-spinner is unavailable
- keep finish-install working without local node_modules in clean checkouts
- teach npm launcher scripts to resolve index.js from the npx temp package layout
- preserve existing global npm and yarn fallback lookup behavior
@zerbitx zerbitx marked this pull request as ready for review April 22, 2026 15:14
Copy link
Copy Markdown
Collaborator

@lizardruss lizardruss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zerbitx zerbitx merged commit 7f272dc into main Apr 22, 2026
21 of 23 checks passed
@zerbitx zerbitx deleted the DSP-176 branch April 22, 2026 18:22
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.

3 participants