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.38.10
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.38.11
Choose a head ref
  • 14 commits
  • 63 files changed
  • 10 contributors

Commits on Nov 17, 2026

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

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

Commits on Nov 19, 2026

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

Commits on Nov 20, 2026

  1. chore: bump go.opentelemetry.io/contrib/instrumentation/net/http/otel…

    …http from 0.71.0 to 0.72.0 (#30409) (#32531)
    
    Backport of #30409
    
    Original PR: #30409 — chore: bump
    go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from
    0.71.0 to 0.72.0
    Merge commit: 10c5009
    Requested by: @droopy4096
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    ed76786 View commit details
    Browse the repository at this point in the history
  2. feat: require a setup token to create the first user on a tunnel (#32324

    ) (#32515)
    
    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 setup token sentences for `docs/install/index.md` and
    `docs/install/server/rpm.md` are left out. Those pages do not mention
    the tunnel on this branch.
    - Generated CLI docs and the configuration reference are regenerated
    with this branch's generators.
    
    </details>
    
    ---------
    
    Co-authored-by: Bobby Ho <[email protected]>
    coder-backporter-app[bot] and BobbyHo authored Nov 20, 2026
    Configuration menu
    Copy the full SHA
    e0bab67 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.38) (#32582)
    
    Backport of #32566 (release images and charts) and #32571
    (coder-preview) to `release/2.38`. 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.
    
    **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.38`
    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
    3179954 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) (#32536

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

    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
    62d8bef View commit details
    Browse the repository at this point in the history
  3. docs: own the legacy content redirects on 2.38 (#32639)

    Moves the unversioned docs content redirects that coder.com and the docs
    router (coder/docs-engine) hold for 2.38 into this branch's
    `docs/redirects.json`, so the version owns them.
    This lets those repos drop their copies later.
    
    - 310 rules, built from coder.com's `redirects.json` and the router's
    static `redirects.json`.
    URL-scheme rules (`coder-oss`, `coder`, `v1`, `v2`, `code-server`) and
    tagged-release patterns stay in the router.
    - Destinations are 2.38's own pages, so they differ from main's file
    where the docs tree has since moved.
    - `about/architecture` goes to `/`.
    The retired security advisory goes to GitHub Security Advisories,
    because its old blob URL returns 404.
    `contributing/*` becomes nine exact rules, because `about/contributing`
    has no pages.
    The `ai-bridge` and `agent-boundaries` exact rules sit above their
    wildcards.
    
    ## Validation
    
    Main's `docsredirectscheck` (`-base origin/release/2.38 -branch
    release/2.38`) against this branch's manifest: 310 rules OK, 464 routes
    still resolve.
    This branch has no `docsredirectscheck`, so CI does not lint the file.
    Backporting the checker is out of scope.
    
    Do not remove the matching rules from coder.com or the router until this
    is merged and 2.38 is republished.
    
    <details>
    <summary>Plan and decision log</summary>
    
    Ownership rules agreed for redirects:
    
    1. `/docs` to `/docs` within one version (a wildcard or branch slug such
    as `@main` next): the version's `docs/redirects.json` in coder/coder.
    2. `/docs` to `/docs` across versions: the router's `redirects.json` in
    coder/docs-engine.
    3. Non-`/docs` source to a `/docs` destination: coder.com and
    coder.com-new.
    4. `/docs` source to a non-`/docs` destination: the router's
    `redirects.json`.
    5. Unversioned `/docs/x` to `/docs/y` is mainline same-version content,
    so it belongs to the release branch that is mainline.
    
    Findings behind this PR:
    
    - coder.com and the router held about 300 unversioned content rules,
    many with destinations from the old docs tree.
    The router README says static rules answer before a version's own rules
    on the mainline, so the stale copies win.
    - `docs/redirects.json` existed on `main` and `release/2.39` only.
    2.39 is mainline until 2.40 ships, and 2.38 becomes the mainline after
    that.
    - Where destinations conflict, the current tree for that branch wins.
    
    Sequence: backport files to 2.38 and 2.39 (this PR and its sibling),
    then delete duplicated rules from coder.com, then slim the router's
    static file to URL-scheme rules.
    
    </details>
    
    > [!NOTE]
    > Generated by Coder Agents on behalf of @nickvigilante.
    nickvigilante authored Nov 23, 2026
    Configuration menu
    Copy the full SHA
    04dff5b 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) (#32396)
    
    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
    7e0a00f View commit details
    Browse the repository at this point in the history
  2. perf: use the build parameter index in GetTemplateParameterInsights (#…

    …31765) (#32010)
    
    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.
    `TestGetTemplateParameterInsights` and the `coderd` insights tests pass
    locally on `release/2.38`.
    
    ---------
    
    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
    4287b42 View commit details
    Browse the repository at this point in the history
  3. docs: redirect the old templates and workspaces pages on 2.38 (#32643)

    Adds four rules to 2.38's `docs/redirects.json` that 2.39's file already
    has, so `/docs/v2.38/templates` and the other three stop returning 404
    where `/docs/v2.39/...` redirects:
    
    - `templates` to `admin/templates`
    - `templates/open-in-coder` to `admin/templates/open-in-coder`
    - `templates/troubleshooting` to `admin/templates/troubleshooting`
    - `workspaces` to `user-guides/workspace-management`
    
    All four destinations are pages on 2.38 and none of the sources are.
    2.38 becomes the mainline after 2.40 ships.
    `main` needs no change: these four are live pages there.
    
    Follow-up to #32639, from Jess's review.
    
    Checks: main's `docsredirectscheck` against this branch (`-base
    origin/release/2.38 -branch release/2.38`): 314 rules OK, 767 routes
    still resolve.
    This branch has no checker, so CI does not lint the file.
    
    > [!NOTE]
    > Generated by Coder Agents on behalf of @nickvigilante.
    nickvigilante authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    d2ecec0 View commit details
    Browse the repository at this point in the history
  4. feat(coderd): protect pending jobs only while the provisioner queue i…

    …s moving (#32099) (#32262)
    
    Backport of #32099 to `release/2.38`.
    
    Stops the pending job reaper from failing jobs in a queue that's still
    moving. This cherry-picks the change from main (`git cherry-pick -x
    b0ae8ad`), no migration. The only conflict was in
    `manage-provisioner-jobs.md`, where I kept the new text. The jobreaper
    and dbauthz tests pass on `release/2.38`.
    
    Part of CORE-586
    dylanhuff-at-coder authored Nov 24, 2026
    Configuration menu
    Copy the full SHA
    dec6e4b View commit details
    Browse the repository at this point in the history
  5. ci: simplify release workflow (#32716) (#32719)

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