Repository navigation
chore: sync upstream ab325b55fa - #312
Merged
Merged
Conversation
## Price book changes 32 models added, 18 models removed, 42 models changed. <details> <summary>Added</summary> - anthropic/claude-fable-5-2 - azure/claude-fable-5-2 - bedrock/anthropic.claude-fable-5-2 - bedrock/global.anthropic.claude-fable-5-2 - bedrock/global.moonshotai.kimi-k3.1 - bedrock/us.anthropic.claude-fable-5-2 - bedrock/us.moonshotai.kimi-k3.1 - copilot/claude-fable-5.2 - copilot/gemini-4-carbon - google/gemini-4-carbon - openrouter/anthropic/claude-fable-5.2 - openrouter/baidu/ernie-5.5-flash-preview:free - openrouter/baidu/ernie-light-dt-1.0-intl - openrouter/google/gemini-4-carbon - openrouter/google/gemini-omni-1.1-flash - openrouter/google/gemini-omni-1.2-flash - openrouter/kt/midm-k-3.0-pro - openrouter/liquid/lfm-3-1.7b - openrouter/liquid/lfm-3-1.7b:free - openrouter/meta/muse-ember - openrouter/motif-technologies/motif-3 - openrouter/nex-agi/nex-n2.6 - openrouter/thinkingmachines/inkling-2-small:free - openrouter/unbiased/pareto-26.10-preview - vercel/alibaba/qwen3.6-35b-a3b - vercel/anthropic/claude-fable-5.2 - vercel/anthropic/claude-fable-5.2-fast - vercel/deepseek/deepseek-v4.1-flash-1017-ultrafast - vercel/google/gemini-4-carbon - vercel/google/gemini-omni-1.2-flash - vercel/humansand/ampersand-v0.1 - vercel/meta/muse-ember </details> <details> <summary>Removed</summary> - openrouter/bytedance-seed/seed-1.6 - openrouter/bytedance-seed/seed-1.6-flash - openrouter/bytedance-seed/seed-2.0-code - openrouter/inception/mercury-2 - openrouter/inception/mercury-2.5 - openrouter/inception/mercury-3 - openrouter/minimax/minimax-01 - openrouter/minimax/minimax-m1 - openrouter/minimax/minimax-m2 - openrouter/minimax/minimax-m2-her - openrouter/minimax/minimax-m2.1 - openrouter/nvidia/nemotron-3.5-content-safety:free - openrouter/qwen/qwen-2.5-7b-instruct - openrouter/stealth/crouton-alpha - openrouter/xingchen-agi/xing4.0-29b-a4b:free - vercel/bytedance/seed-1.6 - vercel/bytedance/seed-1.8 - vercel/google/gemini-3.1-flash-image-preview </details> <details> <summary>Changed</summary> - openrouter/anthracite-org/magnum-v4-72b - openrouter/deepseek/deepseek-chat - openrouter/deepseek/deepseek-v4-flash - openrouter/deepseek/deepseek-v4-flash-0731 - openrouter/deepseek/deepseek-v4-flash-vision-exp - openrouter/deepseek/deepseek-v4-pro - openrouter/deepseek/deepseek-v4-pro-0813 - openrouter/deepseek/deepseek-v4.1-flash - openrouter/google/gemma-4-26b-a4b-it - openrouter/ibm-granite/granite-4.2-8b - openrouter/inclusionai/ling-3.1-flash - openrouter/mancer/weaver - openrouter/meta-llama/llama-3.1-8b-instruct - openrouter/meta-llama/llama-3.2-3b-instruct - openrouter/meta-llama/llama-3.3-70b-instruct - openrouter/minimax/minimax-m2.5 - openrouter/minimax/minimax-m2.7 - openrouter/mistralai/mistral-small-3.2-24b-instruct - openrouter/moonshotai/kimi-k2.5 - openrouter/moonshotai/kimi-k2.7-code - openrouter/moonshotai/kimi-k3.1-pro - openrouter/nvidia/nemotron-3-super-120b-a12b - openrouter/nvidia/nemotron-3.5-super-vl - openrouter/openai/gpt-oss-120b - openrouter/qwen/qwen3-14b - openrouter/qwen/qwen3-next-80b-a3b-instruct - openrouter/qwen/qwen3.5-397b-a17b - openrouter/qwen/qwen3.5-9b - openrouter/qwen/qwen3.6-27b - openrouter/reflection/beam-1.0-501b-a23b - openrouter/undi95/remm-slerp-l2-13b - openrouter/z-ai/glm-4.5-air - openrouter/z-ai/glm-5.2 - openrouter/z-ai/glm-5.3-flash - openrouter/~anthropic/claude-fable-latest - openrouter/~deepseek/deepseek-flash-latest - openrouter/~deepseek/deepseek-pro-latest - openrouter/~deepseek/deepseek-v4-flash-latest - openrouter/~moonshotai/kimi-latest - openrouter/~z-ai/glm-flash-latest - vercel/alibaba/qwen3.8-27b - vercel/nvidia/nemotron-3.5-lightning </details> ## Review notes Regenerated by `make gen/aibridge-prices` from the live [models.dev](https://models.dev) catalog. Both artifacts come from one snapshot, so they ship together: - `coderd/aibridge/prices/data/prices.json` - `site/src/modules/aiModels/knownModels/knownModelsGenerated.json` These are customer-visible cost numbers taken from upstream data, so this PR is never merged automatically. The summary above lists what moved; check the diff for exact figures before approving. Opened automatically by the [aigateway-prices-refresh workflow](https://github.com/coder/coder/actions/runs/43188102112). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Nested builtin tool input errors repeat an absolute schema path at every recursion level. Unwrap the validator's error chain to retain only the innermost path wrapper and its cause, with a comment explaining the dependency's wrapping behavior. Also remove the redundant sentence about exact property names and duplicate keys from the retry guidance. Existing schema-validation tests now assert complete tool error messages for root failures, nested properties, arrays, and maps. Validation behavior and diagnostics embedded in the cause are preserved. Refs coder#31541.
The code diff viewers (Agents git panel, inline `edit_files`/`write_file` diffs, `SyntaxHighlighter` diffs, audit log diff) rendered wrong colors in every theme. This PR applies the corrected standard dark palette and extrapolates it to the light and colorblind themes. Two causes: - The `--surface-git-*` token values were off, and there were no tokens for word-level highlights. - `@pierre/diffs` 1.5.1 uses `--diffs-bg-*-override` only as a `color-mix` target. In dark mode it renders changed lines as 80% code background and 20% token, so the tokens came out much darker than defined. coder#31867 routed the theme tokens into the viewer, which made this more visible. The new `DIFFS_GIT_COLOR_CSS` (passed as `unsafeCSS`) sets that mix to 0% on changed lines, so lines render the token exactly. Hover still tints changed lines. Changes: - `index.css`: new line colors for each theme, plus new `--surface-git-added-emphasis` and `--surface-git-deleted-emphasis` tokens for word highlights. - `diffsGitColors.ts`: one shared module for the diff style overrides and the CSS. `SyntaxHighlighter`, `DiffViewer`, and the tool diffs now all use it, so `SyntaxHighlighter` no longer keeps its own copy. - `DiffFileHeader` now uses `bg-surface-secondary`, matching the git panel header (`#18181B` in dark). - Git panel diff viewer: each file is a rounded `surface-secondary` card with the code inset 4px inside it, cards are 8px apart, and the header has no bottom border. `CodeView` computes item heights from `itemMetrics` rather than measuring them, so the 4px frame below the code is added to `paddingBottom`. - Git panel code background is pinned to `--surface-primary` (`#09090B` dark, white light). The app's `DiffsWorkerPoolProvider` theme (`coder-dark`/`coder-light`) replaces each viewer's `theme` option, and its editor background is the same gray as the card, so the code and header were indistinguishable. Storybook has no worker pool, which is why it looked correct there. - File headers (git panel and inline tool diffs) show plain colored `+N −N` counts through a shared `DiffStatsText` instead of badges. - Line numbers on changed lines keep a 25% blend with the code background, so the gutter is slightly darker than the line in every renderer. - Audit log diff highlights now use the emphasis tokens. - New `EditFilesSingleSuccess{Light,ProtanDeuter,Tritan}` stories, so Pixel has baselines outside the default dark theme. | Theme | Added line | Deleted line | Added word | Deleted word | |---|---|---|---|---| | dark | `#1F2F1F` | `#382423` | `#1F4F28` | `#5F2F2E` | | light | `#E2F7E2` | `#FFEBE9` | `#BDE8BC` | `#FFCDCA` | | dark-protan-deuter | `#182D3A` | `#37261D` | `#03496A` | `#5D321D` | | light-protan-deuter | `#E2F3FF` | `#FFECE3` | `#B6E1FF` | `#FFCFB9` | | dark-tritan | `#182D3A` | `#382423` | `#03496A` | `#5F2F2E` | | light-tritan | `#E2F3FF` | `#FFEBE9` | `#B6E1FF` | `#FFCDCA` | The colors were checked in Storybook with Playwright, reading computed styles inside the diff shadow DOM. Every theme and all three renderers match the table exactly, and the header is `#18181B` in dark and `#F4F4F5` in light. The card frame and the gaps were checked from painted pixels, and the gap between cards stays at exactly 8px while scrolling a large diff, which confirms the height metrics match the DOM. ### Screenshots Coder Agents git panel diff viewer, rendered with the app's `coder-dark`/`coder-light` highlighting theme (the one `DiffsWorkerPoolProvider` applies). | | Dark | Light | |---|---|---| | Standard | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-dark.png?raw=true" width="420" alt="Diff viewer, dark theme"> | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-light.png?raw=true" width="420" alt="Diff viewer, light theme"> | | Protanopia / deuteranopia | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-dark-protan-deuter.png?raw=true" width="420" alt="Diff viewer, dark protan-deuter theme"> | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-light-protan-deuter.png?raw=true" width="420" alt="Diff viewer, light protan-deuter theme"> | | Tritanopia | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-dark-tritan.png?raw=true" width="420" alt="Diff viewer, dark tritan theme"> | <img src="https://github.com/coder/coder/blob/06f580d535886fe44560a28cd68c8b62e593a699/diff-viewer-light-tritan.png?raw=true" width="420" alt="Diff viewer, light tritan theme"> | <details> <summary>Color derivation and decision log</summary> **Given (standard dark):** added line `#1F2F1F`, file header `#18181B`, added word highlight `#1F4F28`, deleted word highlight `#5F2F2E`. **Method:** convert the reference colors to OKLCH. Keep each role's lightness and chroma, and rotate the hue to the theme's added or deleted hue. This keeps perceived contrast consistent across hues. - Hues: green `144.6` and red `22.3` come from the references. Sky `238.1` (`199 89% 48%`) and orange `46.7` (`24 95% 53%`) come from the existing colorblind `--git-added`/`--git-deleted` tokens. - Dark deleted line (not supplied): uses the added line's lightness, with chroma scaled by the deleted/added word-highlight chroma ratio, so it stays as muted as the supplied red. Result: `#382423`. - Light themes: line L 0.955 and C 0.035, word highlight L 0.89 and C 0.075. The light red/green values come out almost identical to GitHub's light diff palette (`#FFEBE9`/`#FFCECB`), which is a useful sanity check. - Protan-deuter swaps to the sky/orange hues and tritan to sky/red, matching the existing palette rationale in `index.css`. - Chroma is reduced where needed to stay inside sRGB. HSL tokens are rounded so they map back to the same 8-bit hex. **Header:** `--surface-secondary` in dark is already `#18181B`, so the git panel header was correct. The inline tool diff header was transparent over the Shiki theme background (`#0A0C10`), so it now uses `bg-surface-secondary`. **Placement:** `diffsGitColors.ts` sits next to `shikiTheme.ts`, which is already the shared `@pierre/diffs` theming module used outside AgentsPage (for example by `DiffsWorkerPoolProvider`). **Risk:** `DIFFS_GIT_COLOR_CSS` depends on `--mix-light`, `--mix-dark`, and `--diffs-mixer`, which are internal to `@pierre/diffs` 1.5.1. The JSDoc says so; recheck after library upgrades. **Card layout:** taken from a dark-mode reference screenshot, measured by pixel: `#18181B` card on the `#09090B` page, code inset with rounded corners, plain-text stats, and a changed-line gutter slightly darker than the line. The inline tool diffs keep their existing bordered card and header border; only their stats changed, so both headers match. The reference also showed a collapse chevron, which is a new feature and is not included. Its added count is `#16A34A`; this keeps `--git-added-bright` (`#22C55E` in dark), so colorblind themes still apply. **Contrast:** in `light-protan-deuter`, the `--git-*-bright` stat text on `#F4F4F5` is about 2.6:1. The tokens and that contrast are unchanged from the previous badges. **Self-review:** ran frontend-deep-review (8 roles) and frontend-review (FE1 to FE10). Fixed: an inlined single-use constant, trimmed comments, renamed the module to avoid confusion with `AgentsPage/utils/diffColors`, and added theme stories (`SyntaxHighlighter` renders inside `data-pixel="ignore"`, so its stories would not give Pixel coverage). Left as is: a pre-existing near-duplicate between `DiffViewer`'s `HeaderContent` and `DiffFileHeader` (nit, out of scope). </details> > 🤖 This PR was generated by Coder Agents on behalf of @jaaydenh.
… events (coder#32080) The chat watch handler refetched every chat list on each root diff_status_change event. On dogfood a watch socket received 41 such events in 30 seconds, and each one aborted the list requests in flight and started new ones, so most chat list requests never completed. The event carries the changed diff status and the handler merges it into the cached rows, so the refetch only matters for lists whose membership depends on it. Refetch on diff_status_change only when the sidebar has a PR status filter. The event still cancels list refetches that are in flight. One started by something else is no longer restarted by this event.
Avoid provider validation requests when OAuthToken().Valid() is true. They count against the provider's API rate limit without changing which access token the chat resolver returns. Keep token refresh behavior for tokens within OAuth2's early-expiry margin or past expiry, and preserve provider validation for other external-auth callers. Refs CODAGT-1543
…le (coder#31632) A queued message whose model was disabled, had its provider disabled, or was deleted ran on the organization default, even when the chat was on another available model, and the chat then moved to the default. Promotion now tries the queued message's model, then the chat's last model, then the organization default, the order a message sent without a model already uses. Saving a queued edit without picking a model now sends the picker's model when the row's model is no longer selectable, as a history edit does. Refs CODAGT-971
…32063) ## Why Automations store a five-field cron expression and an IANA time zone. The scheduler and the management API will parse both with `coderd/schedule/cron`, as the "Schedules" section of the [Automations RFC](https://app.notion.com/p/3ded579be59281e39950e686df02fa3d) says. This adds the parser they will call. Part of CODAGT-1135. ## What changed - `cron.Standard(spec, timeZone)` parses a five-field spec that runs on the wall clock of an IANA zone. Every field can be restricted. It returns an error for an empty spec, a wrong field count, a `CRON_TZ=` or `TZ=` prefix, an empty or unknown zone, a zone name with an empty, `.` or `..` segment such as `./localtime`, a name that starts with `posix/` or `right/` (directories of zone data that some hosts have, with other versions of the zones), `Local` (a Go name for the host's zone), a name whose last segment is `localtime`, `posixrules` or `Factory` (files in a host's zone data that are not zones), and a spec that never runs, such as `0 0 30 2 *`. - `Next` on a `Standard` schedule follows the RFC's daylight saving rule. A repeated local time runs once, at its first instance. A nonexistent local time runs at the first local time after the change. `robfig/cron` does neither: in America/New_York it runs `30 1 * * *` twice on 2026-11-01 and skips `30 2 * * *` on 2026-03-08. So `Standard` walks the matching wall-clock readings and resolves each one to an instant from the zone's UTC offsets. Every loop has a fixed bound, and `Next` always returns a later time for a `Standard` schedule. It searches at least 16 years ahead, past the eight years between two leap days across 2100. `Weekly`, `Daily` and `TimeRange` keep their behavior. - `Schedule.MinInterval()` returns the shortest distance between two times of day at which the schedule runs, counted around the clock. One time of day gives 24 hours. The management API will compare it with the deployment's minimum interval. ## Scope This PR adds no minimum interval policy and no configuration. Nothing calls the new code yet. The scheduler loop and the API come in later PRs. ## Tradeoffs - `MinInterval` reads only the hour and minute fields, with no calendar. The RFC allows a minimum interval of one minute to 24 hours, so the value only has to be right below 24 hours, and a scan over the calendar kept missing cases. While the zone's UTC offset does not change, no two runs are closer than the value. The doc comment states two limits, and a test pins each. - A change of the UTC offset (daylight saving) can shorten a gap that spans it by up to the size of the change: `1,58 1,3 * * *` in America/New_York gives 57 minutes, and its runs on 2026-03-08 are 3 minutes apart. - A pair of times across midnight counts even when the day fields never match two days in a row: `0,58 0,23 * * 1` gives 2 minutes, but its runs are 58 minutes apart at least, so a check can reject a schedule that the minimum allows. - The RFC rule, read as written, means a wildcard schedule such as `*/15 * * * *` does not run during the second pass of a repeated hour. In America/New_York on 2026-11-01 it runs at 01:45 EDT and next at 02:00 EST. - `Standard` resolves a reading from the zone's offsets and does not use Go's zone period bounds, which are wrong after the last transition in a zone's data. ## Live check None. This is a library that nothing calls yet. --- _Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-sonnet-5-5` • Thinking: `xhigh`_
…ment (coder#31994) The doc-check agent posted the raw JSON of its review request as the summary comment on coder#31385 ([comment](coder#31385 (comment))), so GitHub showed `{"commit_id": ..., "event": "COMMENT", "body": "## Documentation Check\n..."}` with escaped newlines. The inline review on that run posted correctly. Of the latest summary comments on 42 PRs reviewed since 2026-10-25, this is the only malformed one. This changes `.claude/skills/doc-check/output.md` so the agent: - writes the review request to `review.json` and leaves the review `body` empty, which matches what every other run does; - writes the summary to its own `summary.md`, never reuses `review.json` for it, and posts or edits it with exact `gh api ... -F [email protected]` commands; - checks, when it reads the comment back, that the body starts with `## Documentation Check` and ends with the marker, and fixes it with `PATCH` if not. ### Follow-up: workflow guard (not in this PR yet) A workflow job that fails the run when the sticky summary comment does not start with `## Documentation Check` is ready, but the bot that opened this PR can't push changes under `.github/workflows/`. The patch adds a `check-summary-comment` job (`needs: doc-check`, `pull-requests: read`) at the end of `doc-check.yaml`, after `delete-workspace`, so it stays clear of the hunks coder#31720 changes. It passed `actionlint` (with shellcheck) and `zizmor --offline` with no findings, and a dry run against live comments failed on coder#31385 and passed on coder#31896 and coder#31934. Related open PRs: coder#31649 (draft) also edits `output.md`, and coder#31720 edits `doc-check.yaml`. Whichever lands second may need a small rebase. Supersedes coder#31966, reopened under a human author for attribution. Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
Uses the `cliui` output helpers from coder#30508. `coder provisioner keys create` printed the new key's secret as prose, so scripts provisioning external provisioners had to scrape it and look up the key's ID and tags separately. It now accepts `-o text|json`. JSON is the key as `provisioner keys list` shows it (ID, name, organization, tags, created at) plus the one-time `key`. **Behavior change:** Additive. Default text output is unchanged. The command now fetches the new key's metadata with the returned secret (`GET /api/v2/provisionerkeys/{key}`). If that fails, it prints a warning to stderr, falls back to the name, organization and tags it sent (leaving `id` and `created_at` unset), and still outputs the secret. <details> <summary>Decisions</summary> - `CreateProvisionerKey` only returns the secret, so the key's metadata comes from `GetProvisionerKey(secret)`, the same lookup `coder provisioner start` uses. This replaced an earlier list-and-match-by-name approach, per review. - A failed lookup never fails the command, because the key already exists and the secret can't be shown again. </details> Closes [CLI-36](https://linear.app/codercom/issue/CLI-36) _This PR was generated by Coder Agents on behalf of @nickvigilante._ --------- Co-authored-by: Jeremy Ruppel <[email protected]>
…coder#31299) On iOS, a chat opened by tapping a notification in the installed app could not swipe back to the chat list. The service worker opened the chat in a separate window that had no chat list to go back to. Adding a chat list entry to that window does not help: iOS closes the window once a back swipe reaches its first entry, which leaves a blank page with Safari's toolbar. On iOS 18.4 and later, a notification tap now opens the chat in the app's own window, including when the app is already running. A back swipe from that chat returns to the chat list. Browsers without Declarative Web Push, including iOS before 18.4, still open the chat in a separate window, so notifications there behave as they did before. Fixes CODAGT-1474
Adds a how-to guide for self-hosting a STUN server with coturn and pointing `CODER_DERP_SERVER_STUN_ADDRESSES` at it. The guide is linked from the STUN and NAT page, the networking overview, and the air-gapped comparison table. Refs coder#16537, DOCS-310 **Verification** - Both coturn install paths were run on an Ubuntu 24.04 VM and checked with `coder netcheck` against a v2.39.0 deployment configured with only self-hosted STUN servers: the coturn 4.6 package under systemd with the documented config, and the `coturn/coturn:4.18.0` container with a published UDP port. Hostname and IP entries in `CODER_DERP_SERVER_STUN_ADDRESSES` both worked. - A client on a separate home NAT network got `p2p` connections from `coder ping`, and the STUN servers logged requests from both the client and the agent. With the STUN servers stopped, connections fell back to DERP and `coder ping` printed the "could not connect to STUN over UDP" hints. Running workspaces picked up the new STUN list without a restart. - Custom relay map path, checked in-process only (a throwaway `derphealth` test, not committed): with a nil built-in region, `tailnet.NewDERPMap` drops `CODER_DERP_SERVER_STUN_ADDRESSES`, and hand-written STUN-only regions loaded from a relay map file report `can_stun: true`. The documented `jq` filter lists them for both built-in and custom maps. - Source-verified only: each address becomes its own STUN-only region (`tailnet.STUNRegions`), which backs the "two or more servers" advice. With the built-in relay off, a relay map that has only STUN-only nodes fails startup (`tailnet.NewDERPMap`, pinned by `TestNewDERPMap/RequireDERPNodes`), which backs the "keep at least one relay node" note. - Not tested: Kubernetes or ingress setups. The VM-only guidance follows Spike's comment on coder#16537. markdownlint, Vale, `lint/emdash`, `lint/docs-manifest`, and `lint/docs-html` pass on the changed files, and a doc-check self-check left no blocking findings. <details> <summary>Decision log</summary> - **Dropped `stund`.** It has no releases, packages, or container images, so the guide had readers build an unpinned binary from Tailscale's `main` branch with no distribution security updates. It also answers only binding requests that carry a `FINGERPRINT` attribute, so generic STUN test tools can't check it. Its only advantage over coturn is a smaller, memory-safe, STUN-only codebase, and coturn's `stun-only` mode covers the practical need. - **The built-in relay is optional unless you use `CODER_DERP_SERVER_STUN_ADDRESSES`.** `cli/server.go` sets the built-in region to `nil` when `CODER_DERP_SERVER_ENABLE=false`, and `tailnet.NewDERPMap` adds STUN regions only when that region exists, numbering them from its region ID. Deployments with a custom relay map add STUN-only regions to that map instead, so the prerequisite became a "Use a custom relay map" section under Configure Coder. The page doesn't drop the relay entirely, because the built-in relay is still required for `CODER_DERP_SERVER_STUN_ADDRESSES`, and a custom relay map still needs at least one relay node. - **Changed the `jq` filter.** The old filter matched generated `coder_stun_*` region codes, so it returned an empty list for STUN regions written into a custom relay map. The filter now selects nodes with `STUNOnly` set. </details> Supersedes coder#31802, reopened under a human author for attribution. --- _Generated with Coder Agents on behalf of @nickvigilante._ --------- Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
Removes `coder[bot]`, `blinkagent*`, and `blink-so*` from the CLA assistant allowlist in `.github/workflows/contrib.yaml`, so PRs authored by these bots are no longer exempt from the CLA check. Remaining bots in allowlist: * `dependabot*` for backport PRs * `coder-backporter-app[bot]` for backports
…the wait (coder#32097) The doc-check chat keeps running in Coder after the job stops waiting at 40 minutes, and it posts its own comment when it is done. When the local model is busy, reviews run past the wait and the check goes red even though nothing failed. 33 of 46 doc-check runs today ended red this way, including on coder#32088, coder#31788, coder#31621 and coder#31620. ## Changes - `continue-on-error` on the agents-chat-action step. - New step that ends with a notice when the wait timed out and the chat is still `running` or `pending`, and fails the job for every other error. Generated by Coder Agents on behalf of @bpmct.
…#31984) Agent Relay v0.15.0 made the reaper's 15-minute startup window configurable ([agent-relay#152](coder/agent-relay#152)) and added a reap delay ([agent-relay#134](coder/agent-relay#134)). - `configuration.md`: add `--reap-startup-grace` (Helm `reapStartupGrace`) and `--reap-delay`, plus the per-pool `reap_delay` field, under an intro that says how the two options differ. The Cursor `dispatch_deadline: 0` row now points at the startup grace. - `setup.md`: fix the script-ordering note and **Workspace lifecycle**, which hardcoded 15 minutes and said failed builds are deleted "on the next sweep". **Workspace lifecycle** now states the 30-second gap between sweeps, and **Choose cleanup settings** maps each goal to its setting. - `cursor.md`: fix the **Build deadline** bullet and the `pending` lifecycle row. - `troubleshooting.md`: the "session ended but its workspace remains" row mentions the reap delay. - `monitoring/index.md`: add the `delayed` verdict to `agent_relay_reaper_verdicts_total` and define it as a wait before `delete` or `failed`. Verification notes: - The chart has **no `reapDelay` value** at v0.15.0 (only `reapStartupGrace`; checked `values.yaml` and `templates/_helpers.tpl`), so the docs say to set `CODER_AGENT_RELAY_REAP_DELAY` through `extraEnv`. - Pending or starting builds wait `max(grace, dispatch_deadline)`. A finished build whose runner reports `pending` or nothing fails after the grace alone (`workspacereaper/lifecycle.go`). - The reap delay counts from the latest build's `Job.CompletedAt`, not from the worker's exit, so a session that ran longer than the delay gets no extra time (`reapDeadline` in `workspacereaper/reaper.go`). - `delayed` is only a metric label. A sweep records it when the verdict is `delete` or `failed` but the delay hasn't passed. The `Verdict` type has only `keep`, `delete`, `failed`, and `stuck`. - The reaper sleeps 30 seconds after it sweeps every pool, rather than running on a fixed ticker (`sweepLoop` in `servicereaper/reaper.go`). Stack 2/6. Review and merge in order: - coder#31834 (merged) - coder#31984 - coder#31985 - coder#31986 - coder#31987 - coder#32094 Refs DOCS-1171 > Generated by Coder Agents. --------- Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com> Co-authored-by: Bobby Ho <[email protected]>
Updates `monitoring/siem.md` to the log messages Agent Relay v0.15.0 writes. | Old `msg` | v0.15.0 `msg` | |---|---| | `workspace ready, runner handoff` | `workspace built, runner handoff` ([agent-relay#154](coder/agent-relay#154)) | | `workspace build passed the session deadline, reporting retryable and deleting` | `workspace build passed the session deadline, reporting failure` (also lists `workspace build succeeded after the session deadline`) | | `workspace build failed, reporting retryable and deleting` | `workspace build failed` | | `delete workspace failed, leaving for reconciliation` | `delete workspace failed, leaving it for the reaper` | The PR also adds the `agent_lifecycle` field, which appears on the handoff record and on reaper records. Verification notes: - Every other quoted `msg` in `siem.md` was checked by grepping `internal/` at `9b96578` and still matches. - `leaving for reconciliation` doesn't exist at v0.15.0. Its replacement comes from `Dispatcher.deleteWorkspace`. Stack 3/6. Review and merge in order: - coder#31834 (merged) - coder#31984 - coder#31985 - coder#31986 - coder#31987 - coder#32094 Refs DOCS-1171 > Generated by Coder Agents. Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
…coder#31975) ## Summary A feature `state` in `docs/manifest/` now applies to a route and all its descendants, so each state is set once on the highest route it applies to. `docsmanifestgen check` rejects a route that repeats an ancestor's state, and the repeated states on `main` are removed. ## State model - Put a state on the highest route it applies to. - Add a state to a descendant only when it is new, such as an early access page inside a Premium section. - The sidebar shows a pill on the route that sets the state and on descendants whose state differs. - Every page shows its full state, own plus inherited, under the title. ## Changes - `docsmanifestgen check` (`make lint/docs-manifest`) fails when a route repeats an ancestor's state, following include files and overlays, or lists a state twice. It runs only after the manifest builds cleanly. Table-driven tests in `scripts/docsmanifestgen/state_test.go`. - Keep `state: [premium]` on AI Governance and External provisioners only. Remove the 27 states their descendants repeat in `docs/manifest/ai-governance/**` and `docs/manifest/install/operate/provisioners.yml`, and regenerate `docs/manifest.json`. - Document the model in `contributing/documentation.md` (new "Feature states" section with a YAML example), `docs/.style/content-guidelines.md`, and the doc-check skill. > [!IMPORTANT] > Inherited pills under the page title and the new sidebar behavior need the matching docs-engine change ([DOCS-1440](https://linear.app/codercom/issue/DOCS-1440)). > Merge this after that ships, or child pages show no state pill until it does. ## Testing - `go test ./scripts/docsmanifestgen/... ./scripts/docgenenv/...` - `golangci-lint run ./scripts/docsmanifestgen/...` - `GOOS=windows` and `GOOS=darwin` `go vet ./scripts/docsmanifestgen/` - `make lint/docs-manifest`, `make lint/markdown`, `make lint/docs-redirects` - `make gen/docs-manifest` leaves the tree clean. <details> <summary>Decision log: rebase onto main after coder#31645</summary> - coder#31645 (merged 2026-11-04) moved AI Governance to a top-level section with Agent Firewall and AI Gateway nested under it, and added the `ai-coder/...` redirects. That covered this PR's move commits, link and URL updates, and redirects, which caused the conflicts. - The branch was rebuilt on `main`: the two move commits were dropped, and the four state-tooling and guidance commits were cherry-picked. The manifest cleanup was redone as a new commit against `main`'s layout, using the new lint's output as the list of repeated states. - Agent Relay is now top-level with `state: [premium, beta]` and no child states, so it needs no change. - Conflicts in `content-guidelines.md` and the doc-check skill were resolved to keep `main`'s newer text (Vale word-choice updates and relative redirect syntax) and apply only the feature-states lines. - The pre-rebase head was `a797f59737`. </details> > Generated by Coder Agents on behalf of @nickvigilante. Supersedes coder#31481, reopened under a human author for attribution. --------- Co-authored-by: default <[email protected]>
coder#30777) Removes two compliance claims in `docs/` that overstate what Coder provides. - `docs/install/server/rpm.md`: Iron Bank images are hardened and vulnerability-scanned, not accredited. The sentence now says that. - `docs/admin/setup/data-retention.md`: the "Compliance Considerations" list gave retention periods for SOC 2, HIPAA, PCI DSS, and GDPR. SOC 2 doesn't prescribe a period, and HIPAA's 6-year rule covers compliance documentation, not audit logs. The list is replaced with neutral guidance; the existing warning to consult security and compliance teams stays. Resolves DOCS-1218. <details> <summary>Decision log</summary> - **Cut the list instead of correcting it.** A corrected per-framework list would still need Security and Legal sign-off and ongoing upkeep, and it would read as Coder advising on the customer's obligations. The page's warning already routes readers to their compliance team. - **Sweep of `docs/`** for `compliant`, `certified`, `accredited`, `FIPS`, `FedRAMP`, `HIPAA`, `SOC 2`, `STIG`, `GDPR`, `DORA`, `CMMC`, `PCI`, and `Iron Bank`. No other claims that Coder itself is compliant, certified, or accredited. Remaining hits describe the customer's requirements, protocol conformance (OAuth 2.1, OIDC, SCIM), or a third-party plugin certification, and stay. - **Out of scope:** whether the Iron Bank image is current is tracked separately. - Checks: `markdownlint-cli2`, `vale`, `check_emdash.sh`, and the pre-commit hook pass locally. </details> --- _Generated by Coder Agents on behalf of @nickvigilante._
…der#31991) Adds a **Prepare for high-concurrency claims** section to the prebuilt workspaces page. It covers what admins should do when many developers create workspaces from the same preset at once, such as a training session or onboarding day: - Before the event: size the pool with headroom, give it time to fill, confirm `eligible` matches `desired`, and raise `CODER_PG_CONN_MAX_OPEN`. - During the event: don't publish template versions, invalidate presets, or lower `instances`; retry `409 Conflict` from API clients with jitter; watch the claim metrics. Also adds a short note to **Template updates and the prebuilt workspace lifecycle**: until the new version's prebuilds are eligible, new workspaces are built from scratch. ## Verified against code - Pool exhaustion falls back to a normal build (`coderd/workspaces.go`, `ErrNoClaimablePrebuiltWorkspaces`). - `409` comes from `wsbuilder` (`http.StatusConflict`, "A workspace build is already active."). - `CODER_PG_CONN_MAX_OPEN` default is `10` (server CLI reference). - Prebuild metrics carry `template_name`, `preset_name`, and `organization_name` labels (`enterprise/coderd/prebuilds/metricscollector.go`). ## Needs engineering confirmation before merge - [ ] The 20 to 30 percent headroom recommendation - [ ] Retry delay of 1 to 2 seconds with jitter - [ ] Whether to publish a recommended `CODER_PG_CONN_MAX_OPEN` range (field guidance was about 50 to 100 per replica; left out of the page until confirmed) - [ ] The line that a claim in progress can fail if its prebuild is deleted (known limitation noted in coder#31518; included as configure-around guidance per the content guidelines' bug exception) ## Intentionally left out - "Upgrade to v2.38.5 / v2.39.0+" for the concurrent-claim fix (coder#31518). That's version history, so per the content guidelines it belongs in the changelog or a Support KB article, not this page. Linear: DOCS-1729 Supersedes coder#31944, reopened under a human author for attribution. Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
…oder#31986) Brings `configuration.md` closer to Agent Relay v0.15.0 and answers review questions about repo-scoped Cursor pools. - The Cursor `repo_url` pool field. The row says the template clones the repository before the worker starts, and links to **Source control** in `cursor.md`. - `cursor.md` **Source control**: when to set `repo_url`, a two-pool example, and a link to Cursor's any-repo pools docs for routing, which Cursor decides. - Helm values: a commented YAML example with defaults replaces the table. - Removes the HTML source comment at the top of `configuration.md`, which named the private repository, internal paths, and a Linear issue. Per review, this PR no longer documents the status page, its TLS options, or `--dangerous-allow-parameter-credential-transport`. Verification notes: - `repo_url`: agent-relay `internal/services/servicecursorworkers/cursorworkers.go` (`repoOwnerName`, `RegisterPool`) and `dispatch.go` (`buildParameters`), plus the `agent-relay-cursor` module README, which says the template must clone `agent_relay_cursor_repo_url`. - Helm defaults: `helm/coder-agent-relay/values.yaml`. - `reapStartupGrace` is covered in 2/5. `reapDelay` has no Helm value (see 2/5). Stack 4/6. Review and merge in order: - coder#31834 (merged) - coder#31984 - coder#31985 - coder#31986 - coder#31987 - coder#32094 Refs DOCS-1171 > Generated by Coder Agents. --------- Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
Smaller fixes so the Agent Relay docs match v0.15.0. - `slack.md`: idle release comes from the pool's `idle_release_timeout`. Agent Relay sets `agent_relay_claude_code_release_idle_session_min` on every build, so the module's `release_idle_session_min` input is only a fallback (confirmed in the `agent-relay-claude-code` module's `main.tf`). This matches `claude-code.md`. - `setup.md`: replace "release binaries aren't published yet". `.github/workflows/release.yaml` builds `linux` and `darwin` binaries for `amd64` and `arm64`, plus `checksums.txt`, on tags (there is no goreleaser config). - `setup.md` step 6: check `credential_transport=secrets`, as the agent-relay README says. - `setup.md`, `index.md`: say which features need v0.15.0. - `setup.md` **Start the worker after workspace setup**: point to the agent-ready and runner-up metrics. - `monitoring/index.md`: add `reaper_sweeps_total`, `reaper_sweep_seconds`, `reaper_claim_to_runner_up_seconds`, `reaper_claim_to_agent_ready_seconds` ([agent-relay#154](coder/agent-relay#154)), `claude_code_polls_total`, `claude_code_last_poll_timestamp_seconds`, `claude_code_nacks_total`, `claude_code_pool_sessions`, `claude_code_issued_to_claimed_seconds`, `claude_code_queue_wait_seconds`, and the `client_platform`/`spawn_reason` labels on `work_orders_claimed_total`. - `configuration.md` **Pin a template version**: unpinned rebuilds move to the active version ([agent-relay#135](coder/agent-relay#135)), and a refused rebuild is non-retryable ([agent-relay#136](coder/agent-relay#136)). Verification notes: - Rebuild errors: the code treats both `400` and `403` as non-retryable (`dispatcher.go`, `retryable := ... != 400 && != 403`), so the docs mention both. - The release workflow creates a **draft** GitHub Release (`softprops/action-gh-release`, `draft: true`). The v0.15.0 release is now published, but coder/agent-relay is an internal repository, so customers can't see GitHub release assets. Needs a decision on where binaries are distributed before this wording ships. Stack 5/6. Review and merge in order: - coder#31834 (merged) - coder#31984 - coder#31985 - coder#31986 - coder#31987 - coder#32094 Refs DOCS-1171 > Generated by Coder Agents. --------- Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
Brings the Agent Relay docs up to v0.16.0, per Atif's request for a pass against the new release. Of the seven PRs in v0.16.0, only [agent-relay#155](coder/agent-relay#155) changes behavior users see. `main` already described most of it ahead of the release (coder#31896) as "newer than v0.15.0". This PR fills the remaining gaps: - `setup.md`, `troubleshooting.md`: "newer than v0.15.0" becomes "v0.16.0 and later". Both pages now say Claude Code skips its one retry when the failure comes later than `dispatch_deadline` after the build was created. - `setup.md` **Workspace lifecycle**: a row for failed or timed-out startup scripts, and a note that these don't wait for the startup grace. - `configuration.md` `--reap-startup-grace`: the "fails after this grace" bullet notes the faster startup-script failure. - `claude-code.md` **Build budget**: when a build succeeds but the runner never starts, Anthropic retries only on the session's first delivery and only within `dispatch_deadline`. Otherwise the session fails. In v0.15.0 that nack was always retryable. Verification notes (agent-relay `v0.15.0...v0.16.0`): - `serviceclaudecoderunners/reap.go`: for a `pending` runner, `retryable = !redelivered(attempt) && (dispatchDeadline == 0 || obs.Age < dispatchDeadline)`. `obs.Age` counts from the latest build's creation, not from the work order's issue. - `workspacereaper/reaper.go` `confirmStartupFailure`: the first `pending` read after `start_error` or `start_timeout` is stored. A later sweep confirms only when its sample's `CollectedAt` is newer, and a sweep that re-reads the same sample doesn't reset it. So the docs say "two `pending` reads, the second from a newer sample", not "two sweeps in a row". - `workspacereaper/lifecycle.go` `StartupFailure`: applies only to running builds whose status is `pending`. Not documented: - The example templates (agent-relay#157), because the repository is internal. - The older-coderd `include_agent_metadata` detection fix (agent-relay#146), which is a bug fix with no setting or behavior change. - The agent lifecycle in nack failure details, a minor diagnostic change. Stack 6/6. Review and merge in order: - coder#31834 (merged) - coder#31984 - coder#31985 - coder#31986 - coder#31987 - coder#32094 Refs DOCS-1171 > Generated by Coder Agents on behalf of @nickvigilante.
Docs previews at `coder.com/docs/@<branch>` share coder.com's origin and
cookies with the real site. This publishes each pull request's docs as
its own site on `docs.cdr-preview.dev`, a domain used only for previews
(repository variable `DOCS_PREVIEW_DOMAIN`), and points the existing
`docs-preview` comment's per-page links and checkboxes at it.
## URLs
- `https://pr-<n>.docs.cdr-preview.dev`: the PR head, re-aliased on
every build. A slower build of an older commit doesn't take it back.
- `https://pr-<n>-<first 9 of sha>.docs.cdr-preview.dev`: one per built
commit, listed newest first in a collapsible "Preview sites" list in the
PR's docs preview comment, so reviewers can step through the branch.
- Every URL is built from `vars.DOCS_PREVIEW_DOMAIN` (aliases, comment
links, cleanup); nothing hard-codes the domain. Previews moved off
`coderite.app`, which also hosts login-protected internal sites, so a
preview page whose content any coder/coder writer controls would have
been same-site with them. `cdr-preview.dev` hosts nothing else, and the
docs previews sit under `docs.` so other preview kinds can get their own
subdomain later. The jobs fail with a clear error if it is unset or a
`vercel.app` name, because `*.vercel.app` names are first-come across
all Vercel accounts and anyone could claim a preview's name before our
deploy or after cleanup frees it.
- Every preview carries the docs CSP and the other headers from
docs-engine's `apps/offlinedocs/vercel.json`, plus `X-Robots-Tag:
noindex`, which the deploy job prepends to the Build Output API
`config.json` routes without touching the existing ones.
- On merge or close, every deployment tagged `pr=<n>` and its aliases
are deleted. A weekly groom (Mondays 07:23 UTC, also
`workflow_dispatch`) deletes previews of any closed PR, in case a close
event was missed.
## Who gets previews
Only PRs from a branch in coder/coder, on every push that touches
`docs/**`. Every job in the deploy workflow, and the close path of the
cleanup, requires `github.event.pull_request.head.repo.full_name ==
github.repository`.
Fork PRs get no preview for now. Building fork content in a
`pull_request_target` run would share the base branch's Actions cache
scope, so a fork could poison main's cache, and it would sit beside the
private engine source. Fork previews come in a follow-up once the build
runs in a no-network sandbox (or the public builder kit ships). That
follow-up will gate on a maintainer stating the exact approved commit,
not on a label, so a push after approval can't slip in.
## One comment, posted only after a deploy
`docs-preview.yaml` is now a reusable workflow (`workflow_call` only).
The deploy workflow's `comment` job calls it after `deploy` succeeds, so
the per-page links never point at a preview that doesn't exist yet. I
chose this over moving the per-page logic into the deploy job: the
existing comment logic and its mapper test stay as they are, and only
the trigger changes.
Each PR gets at most one bot comment. The deploy job posts nothing; it
passes the built commit (`short_sha`) to `docs-preview.yaml`, which adds
a collapsible "Preview sites for each built commit" list to its comment,
newest first, read back from the comment on each run and capped at 100.
That comment is only posted when a non-generated page or an image
changed: a PR that changes only `docs/reference/**` (generated CLI and
API pages), or nothing previewable, gets no comment, and an earlier one
is deleted. Engineers found the earlier two-comment version too noisy.
If the comment is deleted that way and a later push brings it back, its
commit list starts over; the earlier previews still exist until the PR
closes.
## Three jobs, so PR content never runs beside a secret
1. `engine`: checks `DOCS_PREVIEW_DOMAIN` first, reads the docs-engine
commit pinned in `docs/.engine-ref` (from the PR head, falling back to
the base for a branch that predates the pin), mints a short-lived token
from a GitHub App installed only on coder/docs-engine, downscoped to
`contents: read` on that one repository, checks out with
`persist-credentials: false`, and uploads a tarball plus its sha256 as a
job output. Never touches PR content.
2. `build`: no secrets, `contents: read` only. Verifies the engine
tarball against the digest, sparse-checks out the PR's `docs/`, refuses
a `docs/` that is or contains a symbolic link (one could pull runner
files, such as the private engine source, into a public preview), builds
`apps/offlinedocs` with `DOCS_ROOT` as docs-engine's own
`docs-pr-preview.yml` does, and uploads only the static `out/` export.
3. `deploy`: in the `docs-preview` environment with
`VERCEL_PREVIEW_TOKEN`. Verifies the engine tarball against the digest
again (a compromised build job could replace an artifact, but not a job
output), refuses an export holding anything but regular files and
directories, lays the static files out with the engine's `build:output`
script, adds noindex, runs `vercel deploy --prebuilt` with meta `pr` and
`sha`, and sets both aliases through the Vercel API. It holds only
`pull-requests: read`, for the check that the PR head hasn't moved
before re-aliasing; the `comment` job posts the comment. It runs the
engine's trusted script rather than taking `config.json` from the build
job, because a Build Output directory from another job could carry
serverless functions or rewritten routes.
`docs-pr-preview-cleanup.yaml` keeps `pull_request_target: closed` so a
PR can't change its own cleanup; it checks out nothing and runs no PR
content, only Vercel and GitHub API calls. Fork PRs have no previews, so
their close is skipped.
PR-chosen strings never reach a log line unfiltered: the comment
workflow prints changed reference-page paths with every character
outside a path allowlist as `?`, so a file name can't forge a `::` or
`##[` workflow command, and the deploy job's errors name no path.
## Engine pin
`docs/.engine-ref` now pins docs-engine `main` at `eadb477`, the engine
`coder.com/docs` launched with on 2026-10-28 (was `e3c55c2`; an earlier
revision of this PR pinned `5584d67`). The commands the workflow runs
are unchanged between them. `e3c55c2` already had the `build:output`
script, but the newer engine refuses a symlinked docs root, renders
search hits without raw HTML, drops author-chosen heading ids that could
break hydration, and pins Node 22.23.4, which the build and deploy jobs
now use too. The commands the workflow runs (`pnpm turbo run build
--filter=@coder/offlinedocs` and
`apps/offlinedocs/scripts/build-output.mjs`) are unchanged at `5584d67`.
The pin must be a commit on docs-engine `main`. The `engine` job checks
docs-engine out with full history and fails before packing unless `git
merge-base --is-ancestor "$REF" origin/main` passes. Once docs-engine is
public, a commit pushed to any fork of it can be fetched by SHA through
`coder/docs-engine`, so the 40-hex format check alone would let a PR
build with unreviewed engine code. `test-docs-preview-mapper.sh` pins
that the check runs in the `engine` job, before the pack step, against a
full-history checkout.
## Before this can run
Checked on 2026-11-12: IT registered `cdr-preview.dev` in Vercel on team
`team_tGkWfhEGGelkkqUUm9nXq17r`, with Vercel nameservers, so
`*.docs.cdr-preview.dev` needs no DNS or wildcard step. IT also set
`docs.cdr-preview.dev` as the `coder-docs-pr-preview` project's own
preview deployment suffix and removed `coderite.app` from it, so the
project's generated deployment URLs land on the preview domain too, not
on the team's `coderite.app` suffix; the first deploy will confirm that.
The project has Vercel Authentication and password protection off. The
secrets `DOCS_ENGINE_APP_ID` and `DOCS_ENGINE_APP_PRIVATE_KEY` exist.
`DOCS_PREVIEW_DOMAIN` is set to `docs.cdr-preview.dev`. The
`docs-preview` environment exists (created 2026-10-28) with no
protection rules and no branch policy, and holds `VERCEL_PREVIEW_ORG_ID`
and `VERCEL_PREVIEW_PROJECT_ID`, and `VERCEL_PREVIEW_TOKEN` was stored
on 2026-11-12.
- [ ] **GitHub App** (org owner; requested in DOCS-1739). Confirm the
app behind `DOCS_ENGINE_APP_ID` is installed on coder/docs-engine only
("Only select repositories") with Repository permissions Contents:
Read-only and Metadata: Read-only and nothing else, at
https://github.com/organizations/coder/settings/installations. The
workflow also downscopes each token to `contents: read` on docs-engine,
so the installation is the outer bound.
- [x] **Repository variable**, set on 2026-11-12. Set it at repository
level, not on the environment, because the `engine` job and
`docs-preview.yaml` run outside it:
```sh
gh variable set DOCS_PREVIEW_DOMAIN -R coder/coder --body
docs.cdr-preview.dev
```
- [x] **Vercel Authentication off** on `coder-docs-pr-preview`
(`prj_RiVa1voPHmsfbEXkasFDXmYqAr0L`): checked on 2026-11-12,
`ssoProtection` and `passwordProtection` both report `enabled: false`.
- [x] **Preview domain** (IT): `cdr-preview.dev` registered with Vercel
nameservers, and `docs.cdr-preview.dev` set as the project's preview
deployment suffix.
- [x] **Project-scoped Vercel token**, 90-day expiry (created
2026-11-12, expires about 2027-02-10; a rotation reminder is set for
2027-02-09). The three checks below returned `200`, `404` and `403`.
Create it at https://vercel.com/account/settings/tokens, scoped to the
`coder-docs-pr-preview` project only (`vercel tokens create --project`
is refused for non-owners). Then check, with the new token in
`$VERCEL_PREVIEW_TOKEN`, that it can list the project's deployments
(`200`), reach the team-level alias API (`404`, not `403`), and cannot
see the production `coder-docs` project (`403` or `404`, never `200`):
```sh
curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer
$VERCEL_PREVIEW_TOKEN" \
"https://api.vercel.com/v6/deployments?teamId=team_tGkWfhEGGelkkqUUm9nXq17r&projectId=prj_RiVa1voPHmsfbEXkasFDXmYqAr0L&limit=1"
curl -sS -o /dev/null -w '%{http_code}\n' -X DELETE -H "Authorization:
Bearer $VERCEL_PREVIEW_TOKEN" \
"https://api.vercel.com/v2/aliases/pr-0.docs.cdr-preview.dev?teamId=team_tGkWfhEGGelkkqUUm9nXq17r"
curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer
$VERCEL_PREVIEW_TOKEN" \
"https://api.vercel.com/v6/deployments?teamId=team_tGkWfhEGGelkkqUUm9nXq17r&projectId=prj_pC4y7hjUgcsYYNoSDL7pNJnafzh3&limit=1"
```
- [x] **`docs-preview` environment**: it exists with no branch policy
(because `pull_request` runs on the merge ref) and its two variables are
set. Only the token is left:
```sh
gh secret set VERCEL_PREVIEW_TOKEN -R coder/coder --env docs-preview
```
`gh secret set` prompts for the token so it stays out of shell history.
- [ ] **Security sign-off** (Lisa), on these points:
- **Preview domain.** Previews now live on `docs.cdr-preview.dev`, which
hosts nothing else, so they are no longer same-site with the
login-protected sites on `coderite.app`. Previews are same-site with
each other, so one PR's preview could set a cookie the others receive.
Anything added to `cdr-preview.dev` later should stay outside `docs.`
and not rely on cookies scoped to the parent domain. The docs CSP allows
inline scripts, and any coder/coder writer controls a preview's content.
- Any coder/coder writer can reach `VERCEL_PREVIEW_TOKEN` by editing the
workflow on a branch, as with any secret a `pull_request` deploy uses.
The token is scoped to the one preview project to bound that; required
reviewers on the environment would close it, at the cost of an approval
per preview.
- The engine commit comes from the PR's `docs/.engine-ref`, so the
engine code that lays out the export in the deploy job is PR-chosen, but
only among commits on docs-engine `main`. It runs before, not in, the
step that holds the token.
- [ ] **Mark ready for review** once the items above are done and a docs
push to this PR has produced a working preview.
## Testing
`test-docs-preview-mapper.sh` checks that `docs-preview.yaml` reads the
domain from `vars.DOCS_PREVIEW_DOMAIN`, builds links on
`pr-<n>.<domain>` from the validated value with no `coder.com/docs/@` or
`vercel.app` link, and runs only as a reusable workflow called after
`deploy`. It also checks the per-commit list (this commit first, earlier
ones carried, repeats and other PRs' lines dropped, capped at 100), that
the list round-trips through the comment it renders without touching
checkbox state, and that the deploy job posts no comment and passes its
commit on. All 58 checks pass (run with GNU coreutils, sed, grep and awk
on macOS); the new workflow check failed before the change. `actionlint`
at the repo's pinned commit, with ShellCheck, reports nothing, and so
does the repo's pinned zizmor 1.11.0 (`--strict-collection
--persona=regular`). The noindex step was run against a `config.json`
from docs-engine's real `build-output.mjs`: the route count went from 11
to 12 with the CSP route intact. With the variable, environment and
token in place, the `engine` and `build` jobs pass on this PR, including
the check that the pinned engine commit is on docs-engine `main`. The
first deploy failed at `vercel pull` with "Could not retrieve Project
Settings": Vercel CLI 59.3.0 looks up the token's team (403 for a
project-scoped token) and gives up, although the token reads the project
(200). Run locally with the same token, 65.11.0 skips that lookup and
pulls the settings, so the workflow now pins 65.11.0, the newest release
more than a week old. The deploy, alias and cleanup calls have not
completed in CI yet.
---
🤖 Built with AI assistance.
…it panel header (coder#32128) Removes the bottom border between the branch header and the file list in the Git panel. Files now render as rounded cards, so the divider is redundant. Applies to both headers: - `RemoteDiffPanel.tsx`: PR/branch header (remote view) - `GitPanel.tsx`: `RepoHeader` (local view) <img width="1330" height="938" alt="image" src="https://github.com/user-attachments/assets/1a79cf00-fb84-418a-be24-db34eb0a29ba" /> > Generated by Coder Agents on behalf of @tracyjohnsonux.
…links, not buttons inside links (coder#31870) > [!NOTE] > This PR was generated by Coder Agents on behalf of @aqandrew. Each build row in the workspace build page sidebar (`/@user/workspace/builds/:number`) rendered as a `<button>` inside an `<a>`. That is invalid HTML and fails axe `nested-interactive`. Keyboard users had two tab stops per row, and screen readers could announce the row content twice. Each row is now a single react-router `Link` (`SidebarLink`) with `aria-current="page"` on the active build. Skeleton rows render as a non-interactive `div` (`SidebarItemSkeleton`) instead of empty buttons. The sidebar looks the same as before. No DEQ ticket matches this page. The existing `nested-interactive` tickets cover Audit Logs, Create Template, Templates Listing, Workspace Sharing and TemplateBuilder Step 2. This came up in review of coder#30819: coder#30819 (comment) <details> <summary>Notes and verification</summary> **Changes** - `Sidebar.tsx`: replace the `<button>` `SidebarItem` with `SidebarLink` (`LinkProps & { active: boolean }`, sets `aria-current` when active) and add `SidebarItemSkeleton`. - `WorkspaceBuildPageView.tsx`: render each build row as `<SidebarLink to active>` around `WorkspaceBuildData`, and use `SidebarItemSkeleton` for loading rows. - `WorkspaceBuildPageView.test.tsx` (new): asserts the active build is the link with `aria-current="page"`, and that Tab moves link to link with one stop per build. Pixel screenshots cannot catch either behavior. The test fails on main and passes with this change. **Decisions** - `NavLink` was considered and rejected. It ties the active state to the URL, but the view takes `activeBuildNumber` as a prop. **Out of scope** - `site/src/pages/WorkspacePage/HistorySidebar.tsx:48` skeleton rows still use the `<button>` `SidebarItem` from `components/FullPageLayout/Sidebar.tsx`, so they are focusable empty buttons. That belongs with the button-name work. **Verification** - `pnpm test` for `WorkspaceBuildPageView.test.tsx` and `WorkspaceBuildPage.test.tsx`: pass. - `pnpm lint:types`, biome: pass. - WorkspaceBuildPageView Storybook stories: pass. Before and after screenshots of the sidebar are pixel-identical. - frontend-deep-review: no blocking findings. Should-fix items (shared className, no-op classes, required `active`, fixture naming) are addressed. </details>
) Fixes the axe Auditor `speech-accessible-name-mismatch` findings (WCAG 2.5.3 Label in Name): the accessible name of each control now contains its visible text, so speech-input users can activate it by saying what they see. - **Filter search box** (shared `Filter`, plus the Icons page): `aria-label="Filter"` becomes `"Search"`, matching the `Search...` placeholder. - **Pagination**: numbered buttons are named `Page N` instead of `Current Page` / `First Page` / `Last Page`. The current page gets `aria-current="page"`. - **Build timeline bars**: the name now includes the duration shown next to the bar, for example `View plan details 1.07s`. - **Navbar user menu**: the `aria-label` override is replaced by sr-only `User menu` text after the avatar, so visible initials start the name (`TE User menu`). When the avatar image loads, the name is just `User menu`. - **New workspace template combobox**: the input label now matches its placeholder, `Type/select a workspace template`. There are no visual changes, only names and ARIA. Closes DEQ-12 Closes DEQ-52 Closes DEQ-193 Closes DEQ-275 Closes DEQ-400 Closes DEQ-514 Closes DEQ-540 Closes DEQ-578 | Ticket | UI surface | |---------|-----------------------------------------------| | DEQ-12 | Workspace build timeline bars | | DEQ-52 | Groups filter | | DEQ-193 | AI Gateway sessions filter | | DEQ-275 | Templates filter | | DEQ-400 | Users filter | | DEQ-514 | Navbar user menu | | DEQ-540 | Audit log filter and pagination | | DEQ-578 | Workspaces filter and new workspace combobox | **Not included:** DEQ-481, the workspace sharing "Search for user or group" trigger. Its name is already its visible text (the placeholder, or the selected value), so 2.5.3 passes. The real gap is that the field has no label once a value is selected, which needs a design decision. I explained this on the ticket and left it unassigned. **Dropped review finding:** I kept the visible placeholder `Type/select a workspace template` instead of renaming it to `Search workspace templates`. Renaming it would be a copy change outside this fix. <details> <summary>Grouping and decision log</summary> - One PR per axe rule across the product, following the existing preference for DEQ batches. - Six tickets share one root cause, the shared `Filter` `SearchField` label. One change fixes all of them. `IconsPage` had the same mismatch and was fixed too. - Filter: I chose `"Search"` over the auditor's suggested `"Filter Search..."`, which repeats words. Label-in-name ignores the trailing ellipsis. - Pagination: `Page N` contains the visible digit. I dropped first/last/current wording and use `aria-current` to convey the current page. - Timing bars: the duration reuses the string already rendered beside the bar, so there is only one formatting path. - User menu: I put sr-only text in the button instead of building the initials into `aria-label`, so the name uses the Avatar's own rendered fallback (grapheme-aware). Then the image and fallback states both work without duplicating that logic. - DEQ-481: the advisor and my own reading agree that this does not fail 2.5.3. Appending placeholder text globally in `Autocomplete` would be speculative. - Checks: `pnpm check`, `pnpm lint`, targeted Vitest (Filter, Pagination, WorkspaceTimings, Audit, ConnectionLog, dashboard, WorkspacesPage), and Storybook tests for the UserDropdown, WorkspaceTimings, GroupsPageView, TemplatesPage, and ListSessionsFilter stories. </details> 🤖 Generated by Coder Agents on behalf of @aqandrew.
…r their parents (coder#32017) Fixes out-of-order headings that Deque flagged on Settings > Security, Settings > Account, and the template builder's "Configure base template" step. - `SettingsHeaderTitle` defaults `level` to `h1`. The Password, Single Sign On, and Your groups sections passed `hierarchy="secondary"` without `level="h2"`, which every other secondary call site already passes. They now render as `h2` under the page's `h1`. - The base template's prerequisites markdown (taken from its README) starts at `##`, but it renders under the base template name's `h3`. The `Markdown` `components` prop now remaps `h2` to `h4` and `h3` to `h5`, and the existing size selectors move with them. Nothing changes visually: before and after screenshots of the new `WithPrerequisites` story are byte-identical. Closes DEQ-118 Closes DEQ-290 Closes DEQ-500 | Ticket | Surface | |---|---| | DEQ-118 | Settings > Security: "Password" and "Single Sign On" changed from h1 to h2 | | DEQ-290 | Settings > Account: "Your groups" changed from h1 to h2 | | DEQ-500 | Templates > New > Builder > Configure base template: prerequisites `##`/`###` changed from h2/h3 to h4/h5 | The changes are not visible (heading tags only, same classes), so there are no screenshots. <details> <summary>Grouping, decisions, and dropped review findings</summary> **Grouping.** There are two root causes, both small, so they ship in one PR (12 non-test lines): 1. Three call sites were missing `level="h2"` on `SettingsHeaderTitle`. I kept the primitive's default as is because all ~20 other secondary call sites already pass `level` explicitly. 2. README-derived markdown is rendered at a fixed depth. The fix is in `site/` because the README sources live under `coderd/templatebuilder/bases/`, and every one of them uses only `##` and `###` inside the prerequisites markers. **Verification.** Vitest outline tests fail on `main` and pass on this branch. I ran axe-core (wcag2a/aa, 21, 22, and best-practice) on the affected stories: `SecurityPageView/UsingOIDC`, `SecurityForm/Example`, `AccountUserGroups/Example`, and `BaseTemplateParametersStep/Default` and `WithPrerequisites`. The headings now nest correctly, and computed font size, weight, and margins of the prerequisites headings match `main`. **Dropped findings.** - *Remap h1 and h4 to h6 in prerequisites too* (SA/RO notes): I dropped this because prerequisites only come from the embedded base READMEs, which use only `##` and `###`. Mapping unused levels would be speculative. - *Heading-level assertions are DOM assertions, so they belong to screenshots* (FE1 notes): I dropped this because heading level is not visible (styles are identical), so a Pixel screenshot cannot catch a regression. Vitest is the only place that can. - *TS6: import an exported query-key constant in the new story*: I dropped this because `api/queries/templateBuilder.ts` exports no key constant, and adding one is out of scope for this fix. `templateBuilderBases().queryKey` matches how other stories read keys. **Pre-existing, not changed.** `EmptyState` hardcodes `<h5>` for its message. It is used app-wide, and on Security with OIDC and no providers it produces an axe `heading-order` (moderate) result after the Single Sign On h2. It is a separate root cause in a shared primitive, so I left it for its own ticket. </details> 🤖 Generated by Coder Agents on behalf of @jeremyruppel.
… filter (coder#32013) In the AI Gateway provider filter, each option showed the provider type's logo with `alt=""`. A provider named after something other than its type, such as `bedrock` beside the AWS logo, lost the type for screen reader users (WCAG 1.1.1). `ProviderIcon` now takes an optional `alt`, which defaults to `""`, so other callers don't change. `ProviderFilter` sets it to the type's display name (for example "AWS Bedrock") when the visible label doesn't already include it. A custom icon stays decorative because we don't know what it shows. Closes DEQ-330 | Ticket | UI surface | |---|---| | DEQ-330 | AI Gateway > Sessions, "All providers" filter options. Not visible: the only change is the accessible name, so no screenshots. | <details> <summary>Grouping and decision log</summary> - Batch `alt-text-missing-active`: DEQ-330 and DEQ-482 are eligible. Each has its own root cause, so this PR covers only DEQ-330. - DEQ-482 (template icons in the Templates table) is not in this PR. The icon is admin-chosen and there is no description source on `main`. coder#30728 adds `getBuiltinImageDescription()`, but it is still open and changes files outside `site/`. - Deque suggested the alt "AWS". "AWS Bedrock" comes from the page's existing `getProviderDisplayName`, which `ProvidersBadge` and `SessionSummaryTable` already use, so the wording matches. - When the label already contains the type label, the alt is left empty, so options like `anthropic-prod` aren't announced as "Anthropic anthropic-prod". - The fallback `Building2Icon` (an unknown type with no icon) ignores `alt`, because the generic icon carries no information. - Self-review: `frontend-review` passed all rules. `frontend-deep-review` raised three should-fix findings (which label helper to use, test queries, an inline fixture) and two nits, and all are fixed. The accessibility audit found no issues: the option's name becomes "AWS Bedrock bedrock", and the trigger keeps `aria-label="Select provider"`. - Not fixed here, noted for follow-up: `ProvidersBadge` has the same decorative icon next to a configured name, and `SelectFilter`'s trigger `aria-label` replaces its visible text. </details> 🤖 Generated by Coder Agents on behalf of @jeremyruppel.
…r#32127) Fixes [DES-22180](https://linear.app/codercom/issue/DES-22180/link-to-provider-api-key-creation-from-provider-form). The add/edit AI provider form now shows a **Create API key** link with the external-site icon under the API key field. The link appears for providers with a known upstream key page: Anthropic, Google, OpenAI, OpenRouter, and Vercel. Two design follow-ups ship with it: - Field descriptions on the provider forms render below the input, matching the Platform field. `FormField` gains an opt-in `descriptionPosition` prop; the default (`above`) leaves its other callers unchanged. - On the API key field, the validation error and the link share one line (error first). - The Platform select hides its chevron when it is disabled (fixed after creation). <details> <summary>Decision log</summary> - Azure, OpenAI-compatible, Copilot, Bedrock, and Claude Platform get no link: Azure and OpenAI-compatible have no single key page, Copilot uses GitHub OAuth, and Bedrock and Claude Platform use AWS or workspace credentials. - URLs were checked against each vendor: `console.anthropic.com/settings/keys` now redirects to `platform.claude.com/settings/keys`, and the Vercel URL is the AI Gateway API Keys dashboard link from Vercel's docs. - The chevron is hidden only on this field through a trigger class, not in the shared `Select`, to keep the change scoped. - `AddOpenRouter` story added for visual coverage of the issue's case; Vitest covers each provider's link `href`. </details> --- <img width="2000" height="2600" alt="image" src="https://github.com/user-attachments/assets/1f509f2a-9eda-41c0-84a9-45672d9d2b9a" /> <img width="1906" height="184" alt="image" src="https://github.com/user-attachments/assets/bb4f6806-841d-472c-81be-fb694cbec096" /> _Generated by Coder Agents on behalf of @tracyjohnsonux._
…yChatIDs (coder#31880) > Generated by Coder Agents on behalf of @cstyan.
…d focusable (coder#32018) Fixes the remaining axe `scrollable-region-focusable` violations (WCAG 2.1.1). Keyboard users could not reach two scroll containers to scroll them. - **Agent logs** (`AgentLogs`): the react-window scroll element is now a focusable `region` named "Agent logs". Its focus ring is drawn on an overlay so error and warning row backgrounds cannot cover it. In `AgentRow`, the log tab panel is no longer a tab stop, because the region inside already is. Without this, a per-source tab would have two stops in a row. - **AI Gateway tool call input** (`SessionTimeline`): the `overflow-x-auto` `<pre>` is now a focusable `region` named `<tool> input`, with a focus ring. This follows the existing `ScrollArea` `viewportTabIndex` / `viewportAriaLabel` pattern (`tabIndex=0`, `role="region"`, a name). Closes DEQ-122 Closes DEQ-269 Closes DEQ-295 Closes DEQ-458 Closes DEQ-570 | Ticket | Surface | Screenshots | | --- | --- | --- | | DEQ-122 | Workspace page, agent logs | [before/after](https://linear.app/codercom/issue/DEQ-122#comment-823a1c7d) | | DEQ-269, DEQ-295, DEQ-458, DEQ-570 | AI Gateway session threads, expanded tool call input | [before/after](https://linear.app/codercom/issue/DEQ-269#comment-409d0cbb) | DEQ-149, DEQ-218, and DEQ-228 (build timeline `ChartContent`) need no change: axe passes on main because coder#31656 made the bars inside focusable. Their Linear tickets have a comment that explains this. Not addressed (nits from self-review, left on purpose): - `landmark-unique` (best practice): several agents, or the same tool called twice, give regions with the same name. The AgentsPage `ToolCall.Scrollable` regions use fixed names the same way. Unique names for the agent logs would need extra plumbing, because react-window only passes `className`, `style`, `onScroll`, and `ref` to its outer element. - The tool call `<pre>` is a tab stop even when its content fits. This matches the `ScrollArea` precedent. <details> <summary>Verification and decision log</summary> - I ran axe-core 4.11.1 (`runOnly: scrollable-region-focusable`) against Storybook with Playwright: - `SessionTimeline/SearchFiltersToolCalls` at 500px: the violation reproduces on main and passes on this branch. - `AgentLogs/Default`: passes on main and on this branch, because the source icon buttons inside are focusable. The per-source tab (`showSourceIcons={false}`) has no focusable content, so it fails on main. Self-review confirmed that it passes on this branch. - `WorkspaceTimings/NavigateToPlanStage` and `NavigateToStartStage`: pass on main (DEQ-149, DEQ-218, DEQ-228). - Grouping: these are two root causes in one PR (one PR per axe rule). There are 31 non-test changed lines. - I used `outerElementType` because it is the only react-window v1 hook that sets attributes on the scroll element. `LogsViewport` is at module scope, so it stays stable across renders. - The `jsx-a11y/no-noninteractive-tabindex` disables follow the precedent in `SecretsTable.tsx`. A scrollable region must be focusable. - Tests: the AgentLogs tab-order test now expects the region first. A new SessionTimeline test checks that the tool call input region takes keyboard focus. </details> 🤖 Generated by Coder Agents on behalf of @aqandrew.
…d bar from the profile menu's accessibility tree (coder#32023) The profile menu (`role="menu"`) rendered the AI spend `UsageBar` (`role="progressbar"`) as a direct child. A menu cannot own a progressbar, so axe reports `aria-required-children` on the menu. The bar now sits inside an `aria-hidden` wrapper. The spend, limit, and period are still exposed as text, and the avatar trigger's accessible name already carries the warning and exceeded state. There is no visual change: before and after screenshots of `UserDropdown/WithAISpend` with the menu open are byte-identical, so no screenshots are attached. The existing AI spend stories now query the progressbar with `hidden: true`. Closes DEQ-307 | Ticket | UI surface | |---|---| | DEQ-307 | Navbar, profile menu: AI spend summary (shown when the user has an AI spend limit) | <details> <summary>Grouping and decision log</summary> - Batch `aria-required-children` has two eligible tickets, with two root causes. - DEQ-307 (profile menu, `[role=progressbar]`) is this PR. - DEQ-104 (Admin settings menu, `nav`) was already fixed on `main` by coder#31635, which listed only the `aria-required-parent` tickets in its `Closes` lines. axe reports 0 violations for it on `main`, so it went to a human to close. - Rejected: wrapping the block in `DropdownMenuGroup` (`role="group"`). axe 4.11 looks through groups inside a menu, and the progressbar stayed flagged. - Rejected: turning the block into a `DropdownMenuItem`, normal or disabled. That would present it as a command with no action, or as an unavailable one that Radix skips, and it changes hover and focus styling. - Not done: moving the spend summary outside `role="menu"`. That is cleaner for a rich account panel but is a structural change beyond this fix. Tradeoff: the spend text is in the accessibility tree but not reachable with menu arrow keys. That is unchanged from `main`. - Verification with axe-core 4.11.1 on the `UserDropdown` stories with the menu open: - `main`: 1 `aria-required-children` violation in each story that renders the bar (`WithAISpend`, `AISpendWarning`, `AISpendExceeded`). - This branch: 0 across `WithAISpend`, `AISpendWarning`, `AISpendAtLimit`, `AISpendExceeded`, `AISpendZeroSpend`, `AISpendZeroLimit`, `AISpendUnlimited`, and `UserDropdown`. - The full rule set shows no other difference. The remaining page-level results (`landmark-one-main`, `page-has-heading-one`, `region`) are story-isolation artifacts. - No new test. Vitest has no axe tooling, and FE1 rules out asserting attribute presence. axe was run by hand, as above. - Self-review: `frontend-review` found nothing. `frontend-deep-review` raised CD4 (the comment overstated the ARIA rule) and it is fixed; the other finding was an RO3 nit, below. `frontend-accessibility` found nothing blocking. - Dropped findings: - RO3 nit (lift the repeated progressbar lookup into a helper): the duplication predates this PR, and a helper would grow a one-argument change. - FE1 (assertions in the edited `play` functions): the pattern predates this PR. This PR only changes the query options in them. </details> 🤖 Generated by Coder Agents on behalf of @bartekgatzcoder.
…1827) Closes CLIENT-267 All prebuilt workspaces belong to the `prebuilds` system user, and the docs tell admins to find them with `owner:prebuilds`. However, the Owner filter on the Workspaces page never offers `prebuilds`, as its options come from `GET /api/v2/users`, which hides system users. There was no way to ask for them either, as the users search rejected `include_system:true`. So, the users search now accepts `include_system:true`, and the Owner filter sends it. Without the term, `/users` behaves exactly as before, and you still only get back users you're allowed to read. The other endpoints that share the users search (org members, group members and the MCP ACL picker) now accept the term too, but they still hide system users. The template ACL picker reuses the `/users` handler, so it'll list `prebuilds` if you ask for it. <img width="697" height="313" alt="image" src="https://github.com/user-attachments/assets/afdbfe89-f74c-46c5-8675-4aab231f7e25" />
… md (coder#32135) On the model settings page, the cost estimate fields stayed four columns down to `sm`, and the inline `USD/1M tokens` addon squeezed the price input until it overlapped or disappeared. - Move the unit to helper text below each field (`USD per 1M tokens`), linked with `aria-describedby`. - Use two columns below `md` (768px) and four columns at `md` and up. - Add a `CostEstimateTwoColumns` story at the phone viewport so Pixel captures the two-column layout. Fixes DES-22177 <details> <summary>Verification and review notes</summary> - Checked layout in Storybook with Playwright: two columns at 700px, four columns at 768px, 900px, and 1280px (inputs are 113px wide at 768px). On `main` at 900px, the price inputs collapse to zero width. - `pnpm check`, `pnpm lint`, `pnpm lint:types`, and `pnpm test:storybook` for `ModelForm.stories.tsx` (40 passed). - Ran frontend-deep-review. Fixed: removed an assertion from the new story's `play` and dropped a comment that restated the story. Not changed: the new story uses `aiModelPrices(...).queryKey` like the three cost estimate stories next to it, because adding a key helper to `api/queries` is out of scope. - No docs describe this UI, so no docs changes. </details> <img width="1260" height="1288" alt="image" src="https://github.com/user-attachments/assets/4bae8864-c1ec-4249-bc84-f49a2ae74d80" /> > Generated by Coder Agents on behalf of @tracyjohnsonux.
ibetitsmike
enabled auto-merge
November 14, 2026 05:00
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ibetitsmike
had a problem deploying
to
docs-preview
November 14, 2026 05:16 — with
GitHub Actions
Error
This was referenced Nov 14, 2026
This branch was successfully deployed
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.
Merges upstream
coder/codermain up to ab325b5.New upstream migrations and their routes:
This PR merges itself when fork-ci passes.
Opened by the fork-sync workflow.