Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coder/coder
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.29.29
Choose a base ref
...
head repository: coder/coder
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.29.30
Choose a head ref
  • 12 commits
  • 50 files changed
  • 11 contributors

Commits on Nov 17, 2026

  1. ci: mint release and package publisher App tokens with Cloud KMS (rel…

    …ease/2.29) (#32350)
    
    Backport of #32331 to `release/2.29`, so releases cut from this branch
    mint App tokens through Cloud KMS like `main`.
    
    - The four App token steps in `release.yaml` switch from
    `actions/create-github-app-token` with a private key to
    [coder/github-app-token-action](https://github.com/coder/github-app-token-action),
    with the same repositories and permissions.
    - `publish-packages` and `publish-homebrew` get job-level `contents:
    read` and `id-token: write`.
    - `create-release-branch.yaml` only runs from `main`, so it isn't
    touched here.
    
    The diff is identical to `release.yaml` in #32331. The KMS key secrets
    are already set in `release` and `release-publish`, and both
    environments allow `release/*`.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    kylecarbs and claude authored Nov 17, 2026
    Configuration menu
    Copy the full SHA
    25116c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2026

  1. Configuration menu
    Copy the full SHA
    1694815 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2026

  1. chore: bump go.opentelemetry.io/otel to v1.47.0 for CVE-2026-128086 (#…

    …30409) (#32528)
    
    Backport of #30409 to `release/2.29`
    for [SEC-1663](https://linear.app/codercom/issue/SEC-1663): fixes
    CVE-2026-128086
    ([GHSA-rrfc-gjm9-cgrj](GHSA-rrfc-gjm9-cgrj))
    in `go.opentelemetry.io/otel/baggage` and `otel/propagation`, fixed in
    v1.47.0.
    
    Original PR: #30409
    Merge commit: 10c5009
    Requested by: @droopy4096
    
    ## Conflict resolution
    
    The automatic cherry-pick conflicted because this branch starts from
    OpenTelemetry v1.45.0. The placeholder commit was replaced with a fresh
    `go get` + `go mod tidy` on top of `release/2.29`:
    
    - `go.opentelemetry.io/otel`, `otel/sdk`, `otel/trace`, `otel/metric`,
    `otel/sdk/metric`: v1.45.0 → v1.47.0
    - `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`:
    v0.69.0 (indirect) → v0.72.0
    - `go.opentelemetry.io/otel/log` v1.47.0 added as indirect (same as
    #30409)
    
    Pulled in by the new minimum requirements:
    
    - `github.com/stretchr/testify`: v1.11.1 → v1.12.1 (drops the indirect
    `github.com/pmezard/go-difflib`)
    - `go.yaml.in/yaml/v3`: v3.0.4 → v3.0.5
    
    The OTLP trace exporters stay at v1.44.0, as #30409 left them.
    
    ## Verification
    
    On Go 1.26.10:
    
    - `go build ./...` passes
    - `go vet ./...` compiles every package and test. It reports only the
    same `copylocks`/`stdmethods` findings in Coder code that already exist
    on the branch, unrelated to this change.
    - `go test ./coderd/tracing/...` passes
    
    Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
    coder-backporter-app[bot] and coder[bot] authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    7a9e112 View commit details
    Browse the repository at this point in the history
  2. fix(coderd/httpmw): normalize repeated slashes before CSRF exemption …

    …check (#29798) (#30034)
    
    Backport of #29798
    
    Original PR: #29798 — fix(coderd/httpmw): normalize repeated slashes
    before CSRF exemption check
    Merge commit: 6372f67
    Requested by: @jdomeracki-coder
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Lisa Fiander <[email protected]>
    github-actions[bot] and Lisa-Fiander authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    504cdf0 View commit details
    Browse the repository at this point in the history
  3. feat: require a setup token to create the first user on a tunnel (#32324

    ) (#32511)
    
    Backport of #32324
    
    Original PR: #32324 — feat: require a setup token to create the first
    user on a tunnel
    Merge commit: 88d3494
    Requested by: @BobbyHo
    
    **The automatic cherry-pick had conflicts. They are resolved by hand;
    the server and CLI changes are the same as in #32324.**
    
    <details>
    <summary>Differences from #32324</summary>
    
    - `scripts/develop` does not exist on this branch, so those changes are
    left out. `scripts/develop.sh` always passes an access URL, so it does
    not open a tunnel.
    - Docs: the quickstart (`docs/tutorials/quickstart.md`), Azure and
    Compute Engine wording is applied to this branch's page layout. The
    sentences for `docs/install/index.md` and the RPM page are left out
    because those pages do not mention the tunnel here.
    - Generated API docs, CLI docs and `typesGenerated.ts` are regenerated
    with this branch's generators. This branch has no configuration
    reference page.
    - Setup page: the token field uses this branch's MUI `TextField` form,
    with the same validation, submit behaviour and hidden GitHub button. The
    test file is `SetupPage.jest.tsx`.
    - `cli/login_test.go`: the prompt test uses `ptytest`, because
    `testutil/expecter` is not on this branch.
    - `codersdk` and `coderdtest.Options` keep this branch's fields and add
    the setup token entries.
    
    </details>
    
    Co-authored-by: Bobby Ho <[email protected]>
    coder-backporter-app[bot] and BobbyHo authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    0029781 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2026

  1. ci: publish release images, charts and previews through coder/ghcr-pu…

    …blisher (2.29) (#32585)
    
    Backport of #32566 (release images and charts) and #32571
    (coder-preview) to `release/2.29`. Once coder/coder can only read the
    public packages, this branch's release and preview builds can't push to
    them directly.
    
    **release.yaml** (same change as #32566; on 2.38–2.34 it applied 3-way,
    with conflicts only in pinned action versions)
    - The base image, the coder image and the Helm charts go to the
    `*-staging` packages. Digests come from each push's response, never from
    reading a staging tag back.
    - Each gets a release attestation
    (`https://coder.com/attestations/release/v1`) naming the version, the
    tag's commit and the public package.
    - A `coder-ghcr-dispatch` token sends one `repository_dispatch` to
    coder/ghcr-publisher and is revoked right after. The publisher checks
    the attestations and the approved `release` run, copies by digest, and
    moves `latest` only for the highest stable version.
    - The tagging token is revoked as soon as the tag exists.
    - Ported by hand: this branch's `release.yaml` predates the image steps
    the newer branches share. The base-image step gets an `id` so its digest
    is known. Provenance attestations move to the staging digests
    (`actions/attest` v4.2.2, as on the other branches).
    - 2.29 has no ai-gateway chart; the publisher skips that slot
    (coder/ghcr-publisher#3).
    
    **ci.yaml** (`build` job: this branch predates `build.yaml`)
    - Preview images go to `coder-preview-staging` with a preview
    attestation. The publisher then publishes `<version>` and `release-2.29`
    to `coder-preview`.
    - The SBOM, attestation and prune steps that only run on `main` are
    dropped. They can never run from a release branch's file.
    - The dispatch token is also revoked in an `always()` step, since
    release branches cancel an in-progress run when a newer push arrives.
    
    **Merge after**
    - [ ] coder/gcp#488 merged and applied (lets `ci.yaml` in `ci-signing`
    sign as `coder-ghcr-dispatch`)
    - [ ] coder/ghcr-publisher#3 merged (accepts this branch's `ci.yaml` as
    the preview signer, from push runs; allows pre-2.37 releases without an
    ai-gateway chart)
    
    **Not changed:** `pr-deploy.yaml` still pushes `coder-preview:pr<N>`
    when triggered by hand; that stops working once coder/coder is Read on
    `coder-preview`. PR deployments were removed from `main` in #31757.
    `deploy.yaml`'s `:dogfood` retag never runs on release branches
    (`should_deploy.sh` answers NOOP).
    
    actionlint and zizmor are clean. An independent review of all five
    backports and coder/ghcr-publisher#3 found nothing that breaks end to
    end; its points are addressed (here: the token revoke; the rest in the
    publisher). Nothing here has run yet; the first push to this branch
    after merge exercises the preview path, and the next patch release the
    release path.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    ---------
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    kylecarbs and claude authored Nov 22, 2026
    Configuration menu
    Copy the full SHA
    0047ee5 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2026

  1. fix(coderd): let only one request create the first user (#32417) (#32539

    )
    
    Backport of #32417
    
    Original PR: #32417 — fix(coderd): let only one request create the first
    user
    Merge commit: cf68914
    Requested by: @BobbyHo
    
    **The automatic cherry-pick had conflicts. They are resolved by hand;
    the fix is the same as in #32417.**
    
    <details>
    <summary>Differences from #32417</summary>
    
    - `coderd/database/lock.go`: adds only `LockIDFirstUserSetup`. The
    conflict came from nearby chat lock IDs that are not on this branch.
    - `coderd/users.go`: keeps this branch's
    `ptr.Ref(codersdk.UserStatusActive)` where #32417 has
    `new(codersdk.UserStatusActive)`.
    - `coderd/firstusersetup_test.go`: the GitHub callback helper does not
    send the PKCE verifier cookie. This branch has no PKCE on the OAuth
    callback.
    
    </details>
    
    ---------
    
    Co-authored-by: coder-backporter-app[bot] <335582564+coder-backporter-app[bot]@users.noreply.github.com>
    Co-authored-by: Bobby Ho <[email protected]>
    coder-backporter-app[bot] and BobbyHo authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    93de8df View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. perf: use the build parameter index in GetTemplateParameterInsights (#…

    …31765) (#32009)
    
    Backport of #31765
    
    Original PR: #31765 — perf: use the build parameter index in
    GetTemplateParameterInsights
    Merge commit: 3728e7a
    Requested by: @dylanhuff-at-coder
    
    Resolved the conflicts by hand. I dropped the docs hunk since this
    branch's Prometheus docs have no example query, and kept only the new
    `TestGetTemplateParameterInsights` from `querier_test.go` (plus the
    `slices` and `strings` imports it needs here).
    `TestGetTemplateParameterInsights` and the `coderd` insights tests pass
    locally on `release/2.29`.
    
    ---------
    
    Co-authored-by: coder-backporter-app[bot] <335582564+coder-backporter-app[bot]@users.noreply.github.com>
    Co-authored-by: dylanhuff-at-coder <[email protected]>
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    3 people authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    f781efe View commit details
    Browse the repository at this point in the history
  2. fix(coderd): list endpoints return 500 for API keys with ID-scoped al…

    …low lists (#32145) (#32399)
    
    Backport of #32145
    
    Original PR: #32145 — fix(coderd): list endpoints return 500 for API
    keys with ID-scoped allow lists
    Merge commit: 05d8c8d
    Requested by: @ksrinija
    
    Co-authored-by: Srinija Kakumanu <[email protected]>
    coder-backporter-app[bot] and ksrinija authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    caea470 View commit details
    Browse the repository at this point in the history
  3. fix: reject glob characters in the SSH hostname prefix (#32570) (#32630)

    Backport of #32570
    
    Original PR: #32570 — fix: reject glob characters in the SSH hostname
    prefix
    Merge commit: f45d527
    Requested by: @fioan89
    
    Co-authored-by: Faur Ioan-Aurel <[email protected]>
    coder-backporter-app[bot] and fioan89 authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    26d9cae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f694db View commit details
    Browse the repository at this point in the history
  5. ci: simplify release workflow (#32716) (#32733)

    Backport of #32716.
    sreya authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    5d37bff View commit details
    Browse the repository at this point in the history
Loading