You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix!: validate HostnameSuffix and SSHConfigOptions' (#26154) (#26226)
Backport of #26154 to `release/2.29`.
<details>
<summary>Backport notes (cherry-pick conflict resolution)</summary>
`codersdk/deployment.go` conflicted because `release/2.29` lacks the AI
Gateway options that surround the `workspaceHostnameSuffix` option on
`main`. Resolved by keeping the branch's existing structure and applying
only the upstream change to that region: the updated
`workspaceHostnameSuffix` description. The other four hunks (the
`unicode` import, the `ParseSSHConfigOption` rewrite plus `Validate*`
helpers, the SSH config options description, and
`SSHConfigResponse.Validate`) applied cleanly.
Verified on the branch: `go build ./codersdk/... ./cli/...
./enterprise/cli/...`, the new `codersdk` validation tests, and
golden/docs regeneration (`cli`/`enterprise/cli` `--help` and
`server-config.yaml` golden files plus `docs/reference/cli/server.md`)
all matched the cherry-picked content. Net diff is identical to the
original PR (11 files, +681/-39).
</details>
_Generated by Coder Agents on behalf of @jdomeracki-coder._
Co-authored-by: Cian Johnston <cian@coder.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
0 commit comments