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.34.21
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.34.22
Choose a head ref
  • 12 commits
  • 52 files changed
  • 10 contributors

Commits on Nov 17, 2026

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

    …ease/2.34) (#32349)
    
    Backport of #32331 to `release/2.34`, 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
    ecbe303 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2026

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

Commits on Nov 20, 2026

  1. fix(coderd/httpmw): normalize repeated slashes before CSRF exemption …

    …check (#29798) (#30105)
    
    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: Bobby Ho <[email protected]>
    Co-authored-by: Lisa Fiander <[email protected]>
    3 people authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    9217b14 View commit details
    Browse the repository at this point in the history
  2. chore: bump go.opentelemetry.io/otel to v1.47.0 for CVE-2026-128086 (#…

    …30409) (#32527)
    
    Backport of #30409 to `release/2.34`
    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.34`:
    
    - `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 → 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
    5f678f4 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

    ) (#32512)
    
    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`: keeps this branch's password handling and adds only
    the setup token. `password_test.go` is left out because it comes from
    #32283, which is not on this branch.
    - 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 and CLI docs are regenerated with this branch's
    generators. This branch has no configuration reference page.
    - Setup page: the token rule is added to this branch's validation
    schema. The test expects the `Templates` page after setup, as it does on
    this branch.
    - `cli/login_test.go`: the prompt test uses `ptytest`, because
    `testutil/expecter` is not on this branch.
    
    </details>
    
    Co-authored-by: Bobby Ho <[email protected]>
    coder-backporter-app[bot] and BobbyHo authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    31e4e8a 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.34) (#32584)
    
    Backport of #32566 (release images and charts) and #32571
    (coder-preview) to `release/2.34`. 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.
    - 2.34 has no ai-gateway chart, so only the coder and provisioner charts
    are promoted. The publisher skips the empty 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.34`
    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
    1a4e63d 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) (#32538

    )
    
    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)`.
    
    </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
    d59b538 View commit details
    Browse the repository at this point in the history
  2. fix: reject glob characters in the SSH hostname prefix (#32570) (#32632)

    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 23, 2026
    Configuration menu
    Copy the full SHA
    5e33f8c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2026

  1. fix(coderd): list endpoints return 500 for API keys with ID-scoped al…

    …low lists (#32145) (#32398)
    
    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
    9f303e5 View commit details
    Browse the repository at this point in the history
  2. perf: use the build parameter index in GetTemplateParameterInsights (#…

    …31765) (#32006)
    
    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`.
    `TestGetTemplateParameterInsights` and the `coderd` insights tests pass
    locally on `release/2.34`.
    
    ---------
    
    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
    78a1b58 View commit details
    Browse the repository at this point in the history
  3. ci: simplify release workflow (#32716) (#32720)

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