Repository navigation
Conversation
…er#518) Signed-off-by: Samuel K <skevetter@pm.me>
…nsConfig struct (skevetter#521) Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
…#506) * fix(deps): update dependency @loft-enterprise/client to v4 * fix: update workspace details for api changes Signed-off-by: Samuel K <skevetter@pm.me> --------- Signed-off-by: Samuel K <skevetter@pm.me> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Samuel K <skevetter@pm.me>
…ource of providers (skevetter#528) Signed-off-by: Leonid Dubinsky <dub@podval.org>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ter#532) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
…vetter#533) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
….13.9 (skevetter#536) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ing selfupdate (skevetter#535) references skevetter#534 Signed-off-by: Samuel K <skevetter@pm.me>
…bernetes digest to 85f2bf5 (skevetter#538) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…r#525) Signed-off-by: Samuel K <skevetter@pm.me>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…per/ecr-login to v0.12.0 (skevetter#540) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…bernetes digest to 9e0ccb0 (skevetter#541) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…vetter#542) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#526) Signed-off-by: Samuel K <skevetter@pm.me>
….21.2 (skevetter#543) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…evetter#547) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Samuel K <skevetter@pm.me>
…mpatibility (skevetter#549) Signed-off-by: Samuel K <skevetter@pm.me>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
…er#553) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…r#730) - Add 30s timeout to agent URL wait loop to prevent infinite hangs - Propagate errors in SetupGPG instead of silently returning nil - Use dedicated http.ServeMux in ServeAgent to avoid global state conflicts - Add explicit timeouts/polling to all Eventually assertions missing them - Replace bare defer cleanup with ginkgo.DeferCleanup for timeout safety - Remove 3s sleep in SSH port forwarding test - Consolidate duplicate setupDockerProvider into framework.SetupDockerProvider - Delete commented-out GPG forwarding test code - Fix "nachine" typos and apt-get install spacing in error messages
…ter#733) Adds retry-with-backoff to all DevPodUp* commands so transient Docker Hub errors (rate limits, timeouts, connection resets) don't cause false E2E test failures.
…#732) When the user has SSH-based commit signing configured (gpg.format=ssh), the GPG agent forwarding code no longer passes the SSH key path as --gitkey to setup-gpg. SSH signing keys are handled by the separate SSH signature helper path.
…ter#734) GPG key IDs are hex fingerprints, not file paths. When user.signingKey is a file path (starts with / or ~), it's an SSH key — skip passing it to setup-gpg. This handles the case where gpg.format is not set to ssh but the signing key is still an SSH key path.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…vetter#728) Introduce RunPreAttachHooks (onCreate through postStart) and RunPostAttachHooks (postAttach only). The original RunLifecycleHooks now delegates to both, preserving existing behavior. Part of skevetter#708
…kevetter#706) On Linux hosts booted with ipv6.disable=1 or built without CONFIG_IPV6, /proc/net/tcp6 and /proc/net/udp6 do not exist. doNetstat previously returned the os.IsNotExist error verbatim, which propagated through TCP6Socks and caused findPorts to discard already-collected IPv4 sockets and fail the entire watch loop — leaving IDEs such as openvscode unreachable because no ports were ever forwarded. Treat a missing procfile as "zero sockets of this family" by returning (nil, nil) only when os.IsNotExist is true. Permission errors, I/O errors, and parse errors continue to propagate unchanged. Adds the first unit tests for pkg/netstat, covering the missing-file path, the happy path, non-IsNotExist open errors, and parse errors. Fixes skevetter#705 --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Samuel K <skevetter@pm.me>
…bernetes digest to 7a66278 (skevetter#737) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…evetter#739) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This keeps reverse forwarding unchanged while letting forward-only port mappings target service names and other remote hostnames that resolve inside the workspace runtime.
install podman and kind directly due to issues with chocolatey installation
closes skevetter#750 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
The agent-side tunnelLogger forwards log lines over the tunnel asynchronously via a background worker. On shutdown (e.g. a failing lifecycle hook), the agent process exited and cancelled the context before the worker drained the channel, silently dropping the last queued line(s). Add a Flush() that drains the channel and is deferred in the container setup Run path, send with a cancellation-detached context, and flush before Fatal exits. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…kevetter#769) Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
) Quote-heavy lifecycle commands (e.g. a postStartCommand using a single-quoted grep) caused the generated devcontainer.metadata image label to contain an illegal `\'` JSON escape, because every single quote in the label value was rewritten to `\'\'` before yaml.Marshal. On the next up/attach, GetImageMetadataFromContainer failed to unmarshal the label, swallowed the error, and returned empty metadata, so all customizations.vscode.extensions/settings were silently dropped on Compose-based devcontainers. yaml.Marshal already handles YAML quoting, so the manual single-quote escaping is unnecessary and corrupting. Extract the label escaping into escapeComposeLabelValue, which now only doubles `$` for compose interpolation, and add a regression test that round-trips a quote-heavy postStartCommand plus a vscode extension through the compose override. Fixes skevetter#770 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
The skevetter/devpod main merge brought updates to seven existing .github/workflows files. Restore those files to the copies on fork main so this sync does not add or change CI. Co-authored-by: secautoai <secautoai@users.noreply.github.com>
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.
Range
Verified against https://github.com/skevetter/devpod
mainon 2026-11-09. Forkmainhas no commits of its own relative to that history.mainbefore this PRb358e1b0697bc441de54fed6a5a032489ce1ae57v0.14.0(2026-02-21). Tip:refactor(driver/docker): simplify UpdateContainerUserUID and add tests (#508)skevetter/devpodmain8dec889699a91e48ff0db177c829f8d36ab58a92v0.26.3(2026-10-02). Tip:feat: support features in --extra-devcontainer-path (#781)git rev-list --left-right --count <fork>...upstream/mainwas0 193. Forkmainis an ancestor of upstreammain, so this branch fast-forwards those 193 commits and then adds one follow-up commit that restores.github/workflows. History was not rewritten.LICENSEis still MPL-2.0 and matches both parents. Neither tree has aNOTICEfile.The only open pull request before this one is #1. It does not sync upstream, so this is a separate PR.
What's new
Releases
v0.15.0throughv0.26.3:serve-web) and code-server (feat(ide): add vscode-web (serve-web) and code-server browser IDEs skevetter/devpod#769, v0.26.0). Experimental IBM Bob IDE (feat: add support for IBM Bob IDE skevetter/devpod#657).devpod upanddevpod buildaccept--mount, matching devcontainer-cli (feat: implemented the cli flag --mount as in devcontainer-cli skevetter/devpod#751, v0.25.0).--additional-featuresinjects devcontainer features from the CLI (feat(cmd): add--additional-featuresflag for transparent feature injection skevetter/devpod#626, v0.17.0).--extra-devcontainer-pathnow honors devcontainer features (feat: support features in --extra-devcontainer-path skevetter/devpod#781, v0.26.3).includeIfconfig is applied for credentials and SSH signing (Add support for git includIf config skevetter/devpod#755, v0.24.0).postAttachCommand(feat: open IDE before postAttachCommand runs skevetter/devpod#728). VS Code server discovery is improved (feat(ide/vscode): improve VS Code server discovery skevetter/devpod#673).Fixes in this range:
customizations.vscodeextensions and settings on the next up (fix(devcontainer): keep compose metadata label valid JSON skevetter/devpod#771).postStartCommandruns again after a container restart (Fix postStartCommand skipped after container restart skevetter/devpod#660).Breaking changes and dependencies
godirective moves from 1.25.5 to 1.25.8. The module path staysgithub.com/skevetter/devpod.github.com/loft-sh/*dependencies are replaced by skevetter forks or removed (feat!: rewrite module deps from loft-sh to skevetter forks skevetter/devpod#726, analytics inlined in refactor: inline analytics-client to remove loft-sh dependency skevetter/devpod#720):github.com/loft-sh/agentapi/v4→github.com/skevetter/agentapiv1.0.0github.com/loft-sh/api/v4→github.com/skevetter/apiv1.0.1github.com/loft-sh/apiserver→github.com/skevetter/apiserverv1.0.2github.com/loft-sh/admin-apis→github.com/skevetter/admin-apisv1.0.0github.com/loft-sh/analytics-clientinlined underpkg/telemetry/analyticsgithub.com/loft-sh/programming-language-detectionremovedgithub.com/skevetter/sshv0.0.8 → v0.1.0tailscale.comis still replaced withgithub.com/skevetter/tailscalev1.92.2github.com/charmbracelet/huhv0.8.0 tocharm.land/huh/v2v2.0.3.azidentityinstead ofchrismellard/docker-credential-acr-env.--mount,--additional-features, and feature support on--extra-devcontainer-pathare new flags on top of the existing CLI.Security and dependency fixes
Dependency bumps on security-sensitive surfaces, taken from the upstream commit log:
golang.org/x/cryptov0.48.0 → v0.50.0google.golang.org/grpcv1.79.1 → v1.80.0github.com/google/go-containerregistryv0.20.7 → v0.21.5, plus severalauthn/kubernetesdigest updatesgithub.com/moby/buildkitv0.27.1 → v0.29.0k8s.io/*v0.35.1 → v0.35.3github.com/docker/cliv29.2.1 → v29.4.0github.com/awslabs/amazon-ecr-credential-helper/ecr-loginv0.11.0 → v0.12.0tailscale.comv1.94.2 → v1.96.5 (thereplacedirective still points atgithub.com/skevetter/tailscalev1.92.2)Credential and signing fixes:
SSH_AUTH_SOCK(fix(ssh): expand tilde in SSH_AUTH_SOCK path skevetter/devpod#674)CI
Upstream edited seven existing workflow files:
act.yml,labeler.yml,lint.yml,pr-ci.yml,pre-commit.yml,release.yml, andworkflow-approval.yml.commit.ymlanddevcontainer.ymlwere already identical. A follow-up commit restores those seven files to the copies on forkmain, so this PR does not add or change GitHub Actions. Every other path matches upstream8dec8896.Merge order versus #1
#1 (
cursor/devpod-monorepo-phase1-6a3d, Phase 1 DevPod monorepo layout) is unchanged. These paths were edited on both sides sinceb358e1b0and are the likely conflicts:cmd/root.go— this sync reformats the root command and switches environment names toconfigconstants. Phase 1 DevPod monorepo layout #1 addsrootCmd.AddCommand(web.NewWebCmd(globalFlags)).desktop/src/client/client.ts,desktop/src/client/command.ts,desktop/src/lib/store.ts,desktop/src/lib/useDownloadLogs.ts,desktop/src/main.tsx— Phase 1 DevPod monorepo layout #1 adds the browser web UI; upstream updates the desktop client and log download handling.desktop/package.json,desktop/yarn.lock,package.json— dependency and script updates on both sides.desktop/yarn.lockis the large conflict.README.mdandTaskfile.yml— both sides add short sections.#1's new trees (
cmd/web/, desktop auth and admin views,docs/monorepo.md,examples/devpod-demo/,scripts/check.sh,monorepo.manifest.json) are absent on upstream and should come in as additions.cmd/proon #1 still importsgithub.com/loft-sh/api/v4andgithub.com/loft-sh/agentapi/v4because that branch is behind this rewrite. Those files are outside #1's own diff. Landing this sync first keeps the skevetter import paths when #1 merges. Landing #1 first still needs those imports retargeted once this sync lands, in any #1 code that still namesloft-sh.Upstream browser IDEs (
pkg/ide/vscodeweb,pkg/ide/codeserver, desktop IDE settings) and #1'sdevpod webUI are separate features. They do not edit the same IDE settings files.Verification
go build ./...passed with Go 1.25.8.go testpassed for all 131 non-e2e packages.github.com/skevetter/devpod/e2e/...packages, which need Docker, a provider, or cloud.pkg/devcontainer/setupTestLifecycleHookTestSuite/TestSymlinkWithQuotesskipped because it requires root (this run was uid 1000). Packages with no*_test.gofiles were reported as such.