mirror of
https://github.com/coder/coder.git
synced 2026-06-06 22:48:19 +00:00
1a774ab7ce99063a2e01beb94de3fcbccaf84dbe
12434 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b61a5d7c33 |
feat: replace the jetbrains-gateway module with the jetbrains toolbox (#19583)
Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> Co-authored-by: Atif Ali <atif@coder.com> |
||
|
|
abc946c5bd |
fix: don't show prebuild workspaces as tasks (#19572)
Fixes https://github.com/coder/coder/issues/19570 **Before:** <img width="2776" height="1274" alt="image" src="https://github.com/user-attachments/assets/bd260dbf-0868-4e4a-9997-b2fd3c99f33c" /> **After:** <img width="1624" height="970" alt="Screenshot 2025-08-27 at 09 11 31" src="https://github.com/user-attachments/assets/c85489d8-031c-4cbe-8298-6fee04e30b1f" /> **Things to notice:** - There is a task without a prompt at the end, it should not happen anymore - There is no test for this because we mock the API function and the fix was inside of it. It is a temp solution, the API should be ready to be used by the FE soon |
||
|
|
0ab345ca84 |
feat: add prebuild timing metrics to Prometheus (#19503)
## Description This PR introduces one counter and two histograms related to workspace creation and claiming. The goal is to provide clearer observability into how workspaces are created (regular vs prebuild) and the time cost of those operations. ### `coderd_workspace_creation_total` * Metric type: Counter * Name: `coderd_workspace_creation_total` * Labels: `organization_name`, `template_name`, `preset_name` This counter tracks whether a regular workspace (not created from a prebuild pool) was created using a preset or not. Currently, we already expose `coderd_prebuilt_workspaces_claimed_total` for claimed prebuilt workspaces, but we lack a comparable metric for regular workspace creations. This metric fills that gap, making it possible to compare regular creations against claims. Implementation notes: * Exposed as a `coderd_` metric, consistent with other workspace-related metrics (e.g. `coderd_api_workspace_latest_build`: https://github.com/coder/coder/blob/main/coderd/prometheusmetrics/prometheusmetrics.go#L149). * Every `defaultRefreshRate` (1 minute ), DB query `GetRegularWorkspaceCreateMetrics` is executed to fetch all regular workspaces (not created from a prebuild pool). * The counter is updated with the total from all time (not just since metric introduction). This differs from the histograms below, which only accumulate from their introduction forward. ### `coderd_workspace_creation_duration_seconds` & `coderd_prebuilt_workspace_claim_duration_seconds` * Metric types: Histogram * Names: * `coderd_workspace_creation_duration_seconds` * Labels: `organization_name`, `template_name`, `preset_name`, `type` (`regular`, `prebuild`) * `coderd_prebuilt_workspace_claim_duration_seconds` * Labels: `organization_name`, `template_name`, `preset_name` We already have `coderd_provisionerd_workspace_build_timings_seconds`, which tracks build run times for all workspace builds handled by the provisioner daemon. However, in the context of this issue, we are only interested in creation and claim build times, not all transitions; additionally, this metric does not include `preset_name`, and adding it there would significantly increase cardinality. Therefore, separate more focused metrics are introduced here: * `coderd_workspace_creation_duration_seconds`: Build time to create a workspace (either a regular workspace or the build into a prebuild pool, for prebuild initial provisioning build). * `coderd_prebuilt_workspace_claim_duration_seconds`: Time to claim a prebuilt workspace from the pool. The reason for two separate histograms is that: * Creation (regular or prebuild): provisioning builds with similar time magnitude, generally expected to take longer than a claim operation. * Claim: expected to be a much faster provisioning build. #### Native histogram usage Provisioning times vary widely between projects. Using static buckets risks unbalanced or poorly informative histograms. To address this, these metrics use [Prometheus native histograms](https://prometheus.io/docs/specs/native_histograms/): * First introduced in Prometheus v2.40.0 * Recommended stable usage from v2.45+ * Requires Go client `prometheus/client_golang` v1.15.0+ * Experimental and must be explicitly enabled on the server (`--enable-feature=native-histograms`) For compatibility, we also retain a classic bucket definition (aligned with the existing provisioner metric: https://github.com/coder/coder/blob/main/provisionerd/provisionerd.go#L182-L189). * If native histograms are enabled, Prometheus ingests the high-resolution histogram. * If not, it falls back to the predefined buckets. Implementation notes: * Unlike the counter, these histograms are updated in real-time at workspace build job completion. * They reflect data only from the point of introduction forward (no historical backfill). ## Relates to Closes: https://github.com/coder/coder/issues/19528 Native histograms tested in observability stack: https://github.com/coder/observability/pull/50 |
||
|
|
9fd33a7653 | chore(docs): set external workspaces as premium feature in manifest.json (#19615) | ||
|
|
8d6a322344 |
chore(docs): document automatic task naming (#19614)
Updates our experimental AI docs on how to automatically generate task names. --------- Co-authored-by: Ben Potter <ben@coder.com> |
||
|
|
347ab5b348 |
fix(coderd/taskname): ensure generated name is within 32 byte limit (#19612)
The previous logic verified a generated name was valid, _and then appended a suffix to it_. This was flawed as it would allow a 32 character name, and then append an extra 5 characters to it. Instead we now append the suffix _and then_ verify it is valid. |
||
|
|
8c731a087e |
chore(coderd/database/dbauthz): refactor TestPing, TestNew, TestInTX to use dbmock (#19604)
Part of https://github.com/coder/internal/issues/869 |
||
|
|
43fe44db50 |
chore: delete scaletest infrastructure (#19603)
We've successfully migrated the latest iteration of our scaletest infrastructure (`scaletest/terraform/action`) to https://github.com/coder/scaletest (private repo). This PR removes the older iterations, and the scriptsfor spinning up & running the load generators against that infrastructure (`scaletest.sh`). The tooling for generating load against a Coder deployment remains untouched, as does the public documentation for that tooling (i.e. `coder exp scaletest`). If we ever need that old scaletest Terraform code, it's always in the git history! |
||
|
|
74fb2aaf08 |
fix: fix flake in TestPatchCancelWorkspaceBuild/User_is_allowed_to_cancel (#19522)
Fixes: https://github.com/coder/internal/issues/885 |
||
|
|
33509f2c20 |
feat(docs): add docs for external workspaces (#19437)
## Description This PR introduces documentation for recently merged feature: external workspaces. https://github.com/coder/coder/pull/19285 https://github.com/coder/coder/pull/19286 https://github.com/coder/coder/pull/19287 https://github.com/coder/coder/pull/19288 --------- Co-authored-by: Atif Ali <atif@coder.com> |
||
|
|
be40b8ca3e | chore: set more explicit guards for serving bin files (#19597) | ||
|
|
0f1fc88d5a | chore: pin devcontainer-cli for .devcontainer config (#19594) | ||
|
|
252f7d461e |
chore: pin dependencies in Dockerfiles (#19587)
Fixes up some security issues related to lack of pinned dependencies |
||
|
|
b729c29ab9 |
chore: bump coder/cursor/coder from 1.3.1 to 1.3.2 in /dogfood/coder (#19593)
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
64c50534e7 |
chore: bump coder/windsurf/coder from 1.1.1 to 1.2.0 in /dogfood/coder (#19592)
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
dbf42612e2 |
chore: bump coder/coder-login/coder from 1.0.31 to 1.1.0 in /dogfood/coder-envbuilder (#19590)
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
58a3cfb9fd |
chore: bump coder/coder-login/coder from 1.0.31 to 1.1.0 in /dogfood/coder (#19586)
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
491977db90 |
refactor: remove activity column from workspaces table (#19555)
Fixes https://github.com/coder/coder/issues/19504 |
||
|
|
6c01a772eb |
feat: show warning in AppLink if hostname is long enough to break port forwarding (#19506)
closes #15178 <img width="1840" height="1191" alt="image" src="https://github.com/user-attachments/assets/26d2002a-fa2f-46eb-9c06-b29420123f0a" /> |
||
|
|
fe01ae767e |
chore: bump github.com/aws/aws-sdk-go-v2/config from 1.30.2 to 1.31.3 (#19582)
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) from 1.30.2 to 1.31.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/e1909a587c354bd1b2962eebaba94c16838669a5"><code>e1909a5</code></a> Release 2025-08-26</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/2dead494608f76e4d3fe649f643457f224dd434d"><code>2dead49</code></a> Regenerated Clients</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/8f87507c4d78351202d05ad1d75dcb8b40ad1882"><code>8f87507</code></a> Update endpoints model</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/9f13166e6c118ee340f5b2e666d44d67141c7327"><code>9f13166</code></a> Update API model</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/92833dd046ba7e5afe1aafc56d0542c6668b4faf"><code>92833dd</code></a> drop opsworks and opsworkscm (<a href="https://redirect.github.com/aws/aws-sdk-go-v2/issues/3172">#3172</a>)</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/50d1314f18412311633a2a9d9faec813e3998420"><code>50d1314</code></a> Release 2025-08-25.2</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/d163c8cb48dcb1bfa07f51c26cb3cbde0d191159"><code>d163c8c</code></a> Deprecate opsworks/opsworkscm (<a href="https://redirect.github.com/aws/aws-sdk-go-v2/issues/3171">#3171</a>)</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/f0a97a78c219cb6b0ceacfddc8107b850a87aa08"><code>f0a97a7</code></a> Release 2025-08-25</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/3b73a3be8423cd3e099e3754830ebeefb5518afe"><code>3b73a3b</code></a> Regenerated Clients</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/9c6a548460fe2cbd8a830ea5a6ed6bf62b667d82"><code>9c6a548</code></a> Update endpoints model</li> <li>Additional commits viewable in <a href="https://github.com/aws/aws-sdk-go-v2/compare/v1.30.2...config/v1.31.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
0b6f353b99 |
chore: override version of DOMPurify (#19574)
The [DOMPurify](https://github.com/cure53/DOMPurify) version used by the latest version of [monaco-editor](https://github.com/microsoft/monaco-editor) contains [at least one known CVE](https://security.snyk.io/package/npm/dompurify/3.1.7) https://github.com/coder/coder/issues/19445 https://github.com/coder/coder/pull/19446 This PR aims to override the version to resolve security issues: https://www.npmjs.com/package/dompurify/v/3.2.6 |
||
|
|
cc308d1754 |
chore(coderd/database/dbauthz): migrate TestWorkspace to mocked DB (#19306)
Related to https://github.com/coder/internal/issues/869 --------- Co-authored-by: Cian Johnston <cian@coder.com> |
||
|
|
4c0c7de918 |
chore: bump coder/claude-code/coder from 2.1.0 to 2.2.0 in /dogfood/coder (#19580)
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
2888055782 |
chore(coderd/database/dbauthz): migrate the ProvisionerJob and Organization tests to mocked DB (#19303)
Related to https://github.com/coder/internal/issues/869 --------- Co-authored-by: Steven Masley <stevenmasley@gmail.com> |
||
|
|
88c0edce24 |
chore(coderd/database/dbauthz): migrate the Notifications and Prebuilds tests to use mocked DB (#19302)
Related to https://github.com/coder/internal/issues/869 --------- Co-authored-by: Steven Masley <stevenmasley@gmail.com> |
||
|
|
a2945b00fd |
fix: revert github.com/mark3labs/mcp-go to 0.32.0 (#19578)
This PR reverts github.com/mark3labs/mcp-go to 0.32.0, which was the version used by https://github.com/coder/coder/pull/18670 that introduced MCP HTTP support in Coder, and ensures dependabot doesn't upgrade it automatically. A bug has been introduced in a recent version of mcp-go that causes some HTTP MCP requests to fail with the error message ``` [erro] coderd.mcp: Failed to handle sampling response: no active session found for session mcp-session-e3cb7333-284f-46bd-a009-d611f1b690f6 ``` The bug may be related to this issue: https://github.com/mark3labs/mcp-go/issues/554. |
||
|
|
4e9ee80882 |
feat(enterprise/coderd): allow system users to be added to groups (#19518)
closes https://github.com/coder/coder/issues/18274 This pull request makes system users visible in various group related queries so that they can be added to and removed from groups. This allows system user quotas to be configured. System users are still ignored in certain queries, such as when license seat consumption is determined. This pull request further ensures the existence of a "coder_prebuilt_workspaces" group in any organization that needs prebuilt workspaces --------- Co-authored-by: Susana Ferreira <susana@coder.com> |
||
|
|
dbc6c980b9 |
fix(coderd): filter out non-task workspaces in api.tasksList (#19559)
Quick fix for following issue in CLI: ``` $ go run ./cmd/coder exp task list Encountered an error running "coder exp task list", see "coder exp task list --help" for more information error: Trace=[list tasks: ] Internal error fetching task prompts and states. workspace 14d548f4-aaad-40dd-833b-6ffe9c9d31bc is not an AI task workspace exit status 1 ``` This occurs in a short time window directly after creating a new task. I took a stab at writing a test for this, but ran out of time. I'm not entirely sure what causes non-AI-task workspaces to be returned in the query but I suspect it's when a workspace build is pending or running. |
||
|
|
5f68807713 |
chore(dogfood): update workspace lifecycle ignore_changes with env and entrypoint (#19571)
Update the dogfood "Write Coder on Coder" template to ignore env and entrypoint changes in workspace's lifecycle block according to https://coder.com/docs/admin/templates/extending-templates/prebuilt-workspaces#template-configuration-best-practices Related to internal thread: https://codercom.slack.com/archives/C07GRNNRW03/p1756295446304449 Related to Prebuilt claim notifications <img width="1320" height="980" alt="Screenshot 2025-08-27 at 13 55 21" src="https://github.com/user-attachments/assets/b475d057-76c8-4e9d-8e6d-559b292aafe1" /> |
||
|
|
fcef2ec3a5 |
test: dial socket when testing coder ssh unix socket forwarding (#19563)
Closes https://github.com/coder/internal/issues/942 The flakey test, `RemoteForwardUnixSocket`, was using `netstat` to check if the unix socket was forwarded properly. In the flake, it looks like netstat was hanging. This PR has `RemoteForwardUnixSocket` be rewritten to match the implementation of `RemoteForwardMultipleUnixSockets`, where we send bytes over the socket in-process instead. More importantly, that test hasn't flaked (yet). Note: The implementation has been copied directly from the other test, comments and all. |
||
|
|
5c2022e08c |
fix(coderd): fix devcontainer mock recreate flaky test (#19568)
Fix https://github.com/coder/internal/issues/826 I wasn't able to recreate the flake, but my underlying assumption (from reading the logs we have) is that there is a race condition where the test will begin cleanup before the dev container recreation goroutine has a chance to call `devcontainer up`. I've refactored the test slightly and made it so that the test will not finish until either the context has timed out, or `Up` has been called. |
||
|
|
bd139f3a43 |
fix(coderd/provisionerdserver): workaround lack of coder_ai_task resource on stop transition (#19560)
This works around the issue where a task may "disappear" on stop. Re-using the previous value of `has_ai_task` and `sidebar_app_id` on a stop transition. --------- Co-authored-by: Mathias Fredriksson <mafredri@gmail.com> |
||
|
|
8083d9d5c8 |
fix(cli): attach org option to task create (#19554)
Attaches the org context options to the exp task create cmd |
||
|
|
f0cf0adcc8 |
feat: log additional known non-sensitive query param fields in the httpmw logger (#19532)
Blink helped here but it's suggestion was to have a set map of sensitive fields based on predefined constants in various files, such as the api token string names. For now we'll add additional query param logging for fields we know are safe/that we want to log, such as query pagination/limit fields and ID list counts which may help identify P99 DB query latencies. --------- Signed-off-by: Callum Styan <callumstyan@gmail.com> |
||
|
|
d274f832b3 |
chore: improve scroll behavior of DashboardLayout wrapped pages (#19396)
Updates the the `DashboardLayout` to create a singular scroll area between the top nav bar and the deployment banner on the bottom. Also improves the scroll behavior of the org settings pages. <img width="2122" height="1413" alt="CleanShot 2025-08-18 at 13 53 01" src="https://github.com/user-attachments/assets/a9920509-69e7-471d-ac0d-853cb212fcae" /> https://github.com/user-attachments/assets/128be43d-433f-4a0f-af5b-bbfb7d646345 |
||
|
|
59525f879b |
feat: display startup script logs while agent is starting (#19530)
Closes https://github.com/coder/coder/issues/19363 **Screenshot:** <img width="1318" height="753" alt="Screenshot 2025-08-25 at 11 02 25" src="https://github.com/user-attachments/assets/6fa1d4c7-dddb-4db9-a9f0-86986b3628d8" /> **Demo:** https://github.com/user-attachments/assets/07a68e30-b776-44f9-b4ca-e2dd8d124281 |
||
|
|
a1546b5414 |
refactor: replace task prompt by workspace name in the topbar (#19531)
Fixes https://github.com/coder/coder/issues/19524 **Screenshot:** <img width="1512" height="773" alt="Screenshot 2025-08-25 at 14 59 11" src="https://github.com/user-attachments/assets/5d958302-04b3-4cd6-8e59-41a3048798be" /> **Demo:** https://github.com/user-attachments/assets/040490ea-b276-48d7-9f3a-d8261d982bb5 **Changes:** - Change "View workspace" button to icon + "Workspace" - Updated the title to use the workspace name instead of the prompt - Added a prompt button, so the user can see what is the prompt that is running + copy it easily |
||
|
|
5baaf2747d |
feat(cli): implement exp task status command (#19533)
Closes https://github.com/coder/internal/issues/900 - Implements `coder exp task status` - Adds `testutil.MustURL` helper |
||
|
|
c19f430f35 |
fix(cli): display workspace created at time instead of current time (#19553)
Applying a suggestion from https://github.com/coder/coder/pull/19492#discussion_r2301175791 |
||
|
|
ef0d74fb75 |
chore: improve performance of 'GetLatestWorkspaceBuildsByWorkspaceIDs' (#19452)
Closes https://github.com/coder/internal/issues/716 This prevents a scan over the entire `workspace_build` table by removing a `join`. This is still imperfect as we are still scanning over the number of builds for the workspaces in the arguments. Ideally we would have some index or something precomputed. Then we could skip scanning over the builds for the correct workspaces that are not the latest. |
||
|
|
63c1325ad5 |
feat(cli): add exp task create command (#19492)
Partially implements https://github.com/coder/internal/issues/893 This isn't the full implementation of `coder exp tasks create` as defined in the issue, but it is the minimum required to create a task. |
||
|
|
73544a1cc8 |
chore: bump github.com/mark3labs/mcp-go from 0.37.0 to 0.38.0 (#19544)
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go) from 0.37.0 to 0.38.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mark3labs/mcp-go/releases">github.com/mark3labs/mcp-go's releases</a>.</em></p> <blockquote> <h2>Release v0.38.0</h2> <h2>What's Changed</h2> <ul> <li>fix: resolve stdio transport race condition for concurrent tool calls by <a href="https://github.com/ezynda3"><code>@ezynda3</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/529">mark3labs/mcp-go#529</a></li> <li>fix CallToolResult json marshaling and unmarshaling: need structuredC… by <a href="https://github.com/sunfuze"><code>@sunfuze</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/523">mark3labs/mcp-go#523</a></li> <li>feat: refactor constants for resource content types by <a href="https://github.com/CocaineCong"><code>@CocaineCong</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/489">mark3labs/mcp-go#489</a></li> <li>feat: add missing SetPrompts, DeleteResources, and SetResources methods by <a href="https://github.com/vasayxtx"><code>@vasayxtx</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/445">mark3labs/mcp-go#445</a></li> <li>feat: support creating tools using go-struct-style input schema by <a href="https://github.com/Grivn"><code>@Grivn</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/534">mark3labs/mcp-go#534</a></li> <li>fix: remove duplicate methods server.SetPrompts & server.SetResources by <a href="https://github.com/matthisholleville"><code>@matthisholleville</code></a> in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/542">mark3labs/mcp-go#542</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/sunfuze"><code>@sunfuze</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/523">mark3labs/mcp-go#523</a></li> <li><a href="https://github.com/Grivn"><code>@Grivn</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/534">mark3labs/mcp-go#534</a></li> <li><a href="https://github.com/matthisholleville"><code>@matthisholleville</code></a> made their first contribution in <a href="https://redirect.github.com/mark3labs/mcp-go/pull/542">mark3labs/mcp-go#542</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/mark3labs/mcp-go/compare/v0.37.0...v0.38.0">https://github.com/mark3labs/mcp-go/compare/v0.37.0...v0.38.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mark3labs/mcp-go/commit/35ebaa54ae30076f93c4beb1f7269004cf0e90be"><code>35ebaa5</code></a> Add releases notification</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/9f16336f83e17d0659fc49798f233f9dcd910da0"><code>9f16336</code></a> fix: remove duplicate methods server.SetPrompts & server.SetResources (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/542">#542</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/8a18f594dd9ec9df1daa382aa611d83eba8f809c"><code>8a18f59</code></a> feat: support creating tools using go-struct-style input schema (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/534">#534</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/a3d34d980b9a6bfbbaa78cfc0cfb9c78d9b6f7da"><code>a3d34d9</code></a> feat: add missing SetPrompts, DeleteResources, and SetResources methods (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/445">#445</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/8a88d013b3bf38cc37f0ef7fa0b4d7b957b8a6fc"><code>8a88d01</code></a> feat:add constants for resource content types (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/489">#489</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/9c5d30312932f87f51257af2575936976d1c1622"><code>9c5d303</code></a> fix CallToolResult json marshaling and unmarshaling: need structuredC… (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/523">#523</a>)</li> <li><a href="https://github.com/mark3labs/mcp-go/commit/93935261086dda133e3e4b6447304e24deb56a21"><code>9393526</code></a> fix: resolve stdio transport race condition for concurrent tool calls (<a href="https://redirect.github.com/mark3labs/mcp-go/issues/529">#529</a>)</li> <li>See full diff in <a href="https://github.com/mark3labs/mcp-go/compare/v0.37.0...v0.38.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
7b0a2dc2a0 |
chore: bump github.com/valyala/fasthttp from 1.64.0 to 1.65.0 (#19539)
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.64.0 to 1.65.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/valyala/fasthttp/releases">github.com/valyala/fasthttp's releases</a>.</em></p> <blockquote> <h2>v1.65.0</h2> <h2>‼️ ⚠️ backwards incompatibility! ⚠️ ‼️</h2> <p>In this version of fasthttp, headers delimited by just <code>\n</code> (instead of <code>\r\n</code>) are no longer supported!</p> <h2>What's Changed</h2> <ul> <li>Rewrite header parsing to improve spec compliance by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2030">valyala/fasthttp#2030</a></li> <li>Simplify Client.Do function and lock usage by <a href="https://github.com/byte0o"><code>@byte0o</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2038">valyala/fasthttp#2038</a></li> <li>chore(deps): bump securego/gosec from 2.22.5 to 2.22.7 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/valyala/fasthttp/pull/2039">valyala/fasthttp#2039</a></li> <li>Fix trailer security by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2043">valyala/fasthttp#2043</a></li> <li>Fix RequestHeader.ContentLength() if disableSpecialHeader is true by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2042">valyala/fasthttp#2042</a></li> <li>Add reuseport support for Solaris by <a href="https://github.com/jwntree"><code>@jwntree</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2046">valyala/fasthttp#2046</a></li> <li>test: replace atomic operations with atomic types by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2048">valyala/fasthttp#2048</a></li> <li>chore(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/valyala/fasthttp/pull/2049">valyala/fasthttp#2049</a></li> <li>Optimize fs to have 0 allocations by <a href="https://github.com/erikdubbelboer"><code>@erikdubbelboer</code></a> in <a href="https://redirect.github.com/valyala/fasthttp/pull/2052">valyala/fasthttp#2052</a></li> <li>chore(deps): bump actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/valyala/fasthttp/pull/2055">valyala/fasthttp#2055</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/jwntree"><code>@jwntree</code></a> made their first contribution in <a href="https://redirect.github.com/valyala/fasthttp/pull/2046">valyala/fasthttp#2046</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/valyala/fasthttp/compare/v1.64.0...v1.65.0">https://github.com/valyala/fasthttp/compare/v1.64.0...v1.65.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/valyala/fasthttp/commit/f9d84d7c5242423b3ddac7ce6c671ff817274296"><code>f9d84d7</code></a> Rewrite header parsing to improve spec compliance (<a href="https://redirect.github.com/valyala/fasthttp/issues/2030">#2030</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/89010cb2c614d1b0454440ffd4fe54e9d08505b4"><code>89010cb</code></a> chore(deps): bump actions/checkout from 4 to 5 (<a href="https://redirect.github.com/valyala/fasthttp/issues/2055">#2055</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/1828bd4eee29b489a516b8c01446e621b3a6953e"><code>1828bd4</code></a> Optimize fs to have 0 allocations (<a href="https://redirect.github.com/valyala/fasthttp/issues/2052">#2052</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/81ebee8c79ae193cb2e30ed2b326ece3681278a8"><code>81ebee8</code></a> Fix PeekKeys()</li> <li><a href="https://github.com/valyala/fasthttp/commit/c20414a496d520c50299276aab29b43261e54d7c"><code>c20414a</code></a> Remove BenchmarkCoarseTimeNow</li> <li><a href="https://github.com/valyala/fasthttp/commit/3f641c3246225546dc80ffbdffaafb7ac38e4b82"><code>3f641c3</code></a> chore(deps): bump golang.org/x/net from 0.42.0 to 0.43.0 (<a href="https://redirect.github.com/valyala/fasthttp/issues/2049">#2049</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/51b494732003f551d59bf466e3927d9986f96eae"><code>51b4947</code></a> test: replace atomic operations with atomic types (<a href="https://redirect.github.com/valyala/fasthttp/issues/2048">#2048</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/1d8fe19359b6f308806a2773713bfde7f13ddf29"><code>1d8fe19</code></a> Add reuseport support for Solaris (<a href="https://redirect.github.com/valyala/fasthttp/issues/2046">#2046</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/01d533ad1561d9f2b8878f14e2267e12fc37db1a"><code>01d533a</code></a> Fix RequestHeader.ContentLength() if disableSpecialHeader is true (<a href="https://redirect.github.com/valyala/fasthttp/issues/2042">#2042</a>)</li> <li><a href="https://github.com/valyala/fasthttp/commit/a1c842f19eda39be4b4a60b9d5989aa41e0ba166"><code>a1c842f</code></a> Fix trailer security (<a href="https://redirect.github.com/valyala/fasthttp/issues/2043">#2043</a>)</li> <li>Additional commits viewable in <a href="https://github.com/valyala/fasthttp/compare/v1.64.0...v1.65.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
2c1406ffe2 |
chore: bump github.com/brianvoe/gofakeit/v7 from 7.3.0 to 7.4.0 (#19537)
Bumps [github.com/brianvoe/gofakeit/v7](https://github.com/brianvoe/gofakeit) from 7.3.0 to 7.4.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/brianvoe/gofakeit/commit/e2348ee0ad38880e92a28467eefeea73e83bea49"><code>e2348ee</code></a> address - added unit</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/4f7e2ec5cb004701c50b8552eb7a2f7ac4f8453e"><code>4f7e2ec</code></a> Merge pull request <a href="https://redirect.github.com/brianvoe/gofakeit/issues/384">#384</a> from Kzamirtay/fix-iso4217</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/de10081cdaf64c754743d8e16356e8ab49697059"><code>de10081</code></a> fix wrong codes data currency by iso 4217</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/08d115b2b7886c80aa1024449e6f8f915964f6d0"><code>08d115b</code></a> readme - added merch link</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/13e15a3392936b0c3f94d408f95562dd991c7577"><code>13e15a3</code></a> image - merch image</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/6b938f8ba0fd43d6f76a4340889c4a3f6ec2b66c"><code>6b938f8</code></a> readme - added isbn</li> <li>See full diff in <a href="https://github.com/brianvoe/gofakeit/compare/v7.3.0...v7.4.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
8416882ebb |
chore: bump go.uber.org/mock from 0.5.0 to 0.6.0 (#19538)
Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.5.0 to 0.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/uber/mock/releases">go.uber.org/mock's releases</a>.</em></p> <blockquote> <h2>v0.6.0</h2> <h2>0.6.0 (18 Aug 2025)</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/258">#258</a>[]: Archive mode: a new mockgen mode that generates mocks out of archive files.</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/276">#276</a>[]: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/258">#258</a>: <a href="https://redirect.github.com/uber-go/mock/pull/258">uber-go/mock#258</a> <a href="https://redirect.github.com/uber/mock/issues/276">#276</a>: <a href="https://redirect.github.com/uber-go/mock/pull/276">uber-go/mock#276</a></p> <h2>v0.5.2</h2> <h2>0.5.2 (28 Apr 2025)</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/248">#248</a>[]: Fixed an issue with type aliases not being included in generated code correctly.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/248">#248</a>: <a href="https://redirect.github.com/uber-go/mock/pull/248">uber-go/mock#248</a></p> <h2>v0.5.1</h2> <h2>0.5.1 (7 Apr 2025)</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/220">#220</a>[]: Package mode will now generate code that uses aliases of types when they are used in the source.</li> <li><a href="https://redirect.github.com/uber/mock/issues/219">#219</a>[]: Fixed a collision between function argument names and package names in generated code.</li> <li><a href="https://redirect.github.com/uber/mock/issues/165">#165</a>[]: Fixed an issue where aliases specified by <code>-imports</code> were not being respected in generated code.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/220">#220</a>: <a href="https://redirect.github.com/uber-go/mock/pull/220">uber-go/mock#220</a> <a href="https://redirect.github.com/uber/mock/issues/219">#219</a>: <a href="https://redirect.github.com/uber-go/mock/pull/219">uber-go/mock#219</a> <a href="https://redirect.github.com/uber/mock/issues/165">#165</a>: <a href="https://redirect.github.com/uber-go/mock/pull/165">uber-go/mock#165</a></p> <p>Thanks to <a href="https://github.com/mtoader"><code>@mtoader</code></a> and <a href="https://github.com/bstncartwright"><code>@bstncartwright</code></a> for their contributions to this release.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/uber-go/mock/blob/main/CHANGELOG.md">go.uber.org/mock's changelog</a>.</em></p> <blockquote> <h2>0.6.0 (18 Aug 2025)</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/258">#258</a>[]: Archive mode: a new mockgen mode that generates mocks out of archive files.</li> <li><a href="https://redirect.github.com/uber/mock/issues/262">#262</a>[]: Support for specifying mock names when using the <code>_gomock_archive</code> bazel rule.</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/276">#276</a>[]: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/258">#258</a>: <a href="https://redirect.github.com/uber-go/mock/pull/258">uber-go/mock#258</a> <a href="https://redirect.github.com/uber/mock/issues/262">#262</a>: <a href="https://redirect.github.com/uber-go/mock/pull/262">uber-go/mock#262</a> <a href="https://redirect.github.com/uber/mock/issues/276">#276</a>: <a href="https://redirect.github.com/uber-go/mock/pull/276">uber-go/mock#276</a></p> <h2>0.5.2 (28 Apr 2025)</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/248">#248</a>[]: Fixed an issue with type aliases not being included in generated code correctly.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/248">#248</a>: <a href="https://redirect.github.com/uber-go/mock/pull/248">uber-go/mock#248</a></p> <h2>0.5.1 (7 Apr 2025)</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/uber/mock/issues/220">#220</a>[]: Package mode will now generate code that uses aliases of types when they are used in the source.</li> <li><a href="https://redirect.github.com/uber/mock/issues/219">#219</a>[]: Fixed a collision between function argument names and package names in generated code.</li> <li><a href="https://redirect.github.com/uber/mock/issues/165">#165</a>[]: Fixed an issue where aliases specified by <code>-imports</code> were not being respected in generated code.</li> </ul> <p><a href="https://redirect.github.com/uber/mock/issues/220">#220</a>: <a href="https://redirect.github.com/uber-go/mock/pull/220">uber-go/mock#220</a> <a href="https://redirect.github.com/uber/mock/issues/219">#219</a>: <a href="https://redirect.github.com/uber-go/mock/pull/219">uber-go/mock#219</a> <a href="https://redirect.github.com/uber/mock/issues/165">#165</a>: <a href="https://redirect.github.com/uber-go/mock/pull/165">uber-go/mock#165</a></p> <p>Thanks to <a href="https://github.com/mtoader"><code>@mtoader</code></a> and <a href="https://github.com/bstncartwright"><code>@bstncartwright</code></a> for their contributions to this release.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/uber-go/mock/commit/2d1c58167e30f380cf78e44a43b100a14767e817"><code>2d1c581</code></a> Prepare release v0.6.0 (<a href="https://redirect.github.com/uber/mock/issues/278">#278</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/c65419553997ae71c1542dc7733358c020d03880"><code>c654195</code></a> Update CI to run 1.24/1.25 (<a href="https://redirect.github.com/uber/mock/issues/277">#277</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/5900c74f02ff1a28eeb59f3e2a0ef6c27e217148"><code>5900c74</code></a> update golang.org/x/tools to v0.36.0 (<a href="https://redirect.github.com/uber/mock/issues/276">#276</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/6a0445c87f2d82e304033c553dadd34d2a1a8120"><code>6a0445c</code></a> feat(bazel): mock_names flag support in archive mode (<a href="https://redirect.github.com/uber/mock/issues/262">#262</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/aa11bfcd02f7339576f4cef5b8c697f980f607d2"><code>aa11bfc</code></a> feat(bazel): support archive mode (<a href="https://redirect.github.com/uber/mock/issues/259">#259</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/359202c7b2fe16fad86eae73a0ff732f8cb363b9"><code>359202c</code></a> Support for archive mode (<a href="https://redirect.github.com/uber/mock/issues/258">#258</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/871d86bb6f8b22d0c4d250ebca1f9d674f6e6d1e"><code>871d86b</code></a> Back to development (<a href="https://redirect.github.com/uber/mock/issues/251">#251</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/0b8095f698fe3b6414a8d1321e990100ba8ce5bc"><code>0b8095f</code></a> Prepare release v0.5.2 (<a href="https://redirect.github.com/uber/mock/issues/250">#250</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/8ce01ac54df4c2f4443bbe7de345188289af8c4e"><code>8ce01ac</code></a> Bump go.mod to 1.23 and remove alias replacements (<a href="https://redirect.github.com/uber/mock/issues/248">#248</a>)</li> <li><a href="https://github.com/uber-go/mock/commit/6568d888c79f7c03d45c396af40b608782fae4df"><code>6568d88</code></a> Back to development. (<a href="https://redirect.github.com/uber/mock/issues/242">#242</a>)</li> <li>Additional commits viewable in <a href="https://github.com/uber/mock/compare/v0.5.0...v0.6.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
df28da677a |
chore: bump github.com/aws/aws-sdk-go-v2 from 1.37.2 to 1.38.1 (#19536)
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.37.2 to 1.38.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/ba4ee4da236306b260326a7a913f61cb19355110"><code>ba4ee4d</code></a> Release 2025-08-21</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/40e3d871f1507d7b7a10b101dd65c5c85ec183c2"><code>40e3d87</code></a> Regenerated Clients</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/b2be01902dbbdbdec11e3fe7a9ca56aa45c9edcd"><code>b2be019</code></a> Update partitions file</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/dece4e78c3752a54cc2393bf375672ca7b66b260"><code>dece4e7</code></a> Update endpoints model</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/294af1979f20160f82f273fd00790466bc8f7daa"><code>294af19</code></a> Update API model</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/0df860a876d097b792f61fd35caea13c86247d46"><code>0df860a</code></a> changelog</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/df2bca243bed6101bdee10478def6146a7f7e647"><code>df2bca2</code></a> feature(s3/manager): add option to control default checksums (<a href="https://redirect.github.com/aws/aws-sdk-go-v2/issues/3151">#3151</a>)</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/315de9ca18b06a3bc807313c9f79b56e2956009a"><code>315de9c</code></a> Release 2025-08-20</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/1a9d79d3c8d2dcf70265875f2ed6a8af678454d5"><code>1a9d79d</code></a> Regenerated Clients</li> <li><a href="https://github.com/aws/aws-sdk-go-v2/commit/79594120103fbf7a5aa836f8c640b9c255453835"><code>7959412</code></a> Update endpoints model</li> <li>Additional commits viewable in <a href="https://github.com/aws/aws-sdk-go-v2/compare/v1.37.2...v1.38.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
f008b599f9 |
chore: bump google.golang.org/grpc from 1.74.2 to 1.75.0 (#19535)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.74.2 to 1.75.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's releases</a>.</em></p> <blockquote> <h2>Release 1.75.0</h2> <h1>Behavior Changes</h1> <ul> <li>xds: Remove support for GRPC_EXPERIMENTAL_XDS_FALLBACK environment variable. Fallback support can no longer be disabled. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8482">#8482</a>)</li> <li>stats: Introduce <code>DelayedPickComplete</code> event, a type alias of <code>PickerUpdated</code>. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8465">#8465</a>) <ul> <li>This (combined) event will now be emitted only once per call, when a transport is successfully selected for the attempt.</li> <li>OpenTelemetry metrics will no longer have multiple "Delayed LB pick complete" events in Go, matching other gRPC languages.</li> <li>A future release will delete the <code>PickerUpdated</code> symbol.</li> </ul> </li> <li>credentials: Properly apply <code>grpc.WithAuthority</code> as the highest-priority option for setting authority, above the setting in the credentials themselves. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8488">#8488</a>) <ul> <li>Now that this <code>WithAuthority</code> is available, the credentials should not be used to override the authority.</li> </ul> </li> <li>round_robin: Randomize the order in which addresses are connected to in order to spread out initial RPC load between clients. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8438">#8438</a>)</li> <li>server: Return status code INTERNAL when a client sends more than one request in unary and server streaming RPC. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8385">#8385</a>) <ul> <li>This is a behavior change but also a bug fix to bring gRPC-Go in line with the gRPC spec.</li> </ul> </li> </ul> <h1>New Features</h1> <ul> <li>dns: Add an environment variable (<code>GRPC_ENABLE_TXT_SERVICE_CONFIG</code>) to provide a way to disable TXT lookups in the DNS resolver (by setting it to <code>false</code>). By default, TXT lookups are enabled, as they were previously. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8377">#8377</a>)</li> </ul> <h1>Bug Fixes</h1> <ul> <li>xds: Fix regression preventing empty node IDs in xDS bootstrap configuration. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8476">#8476</a>) <ul> <li>Special Thanks: <a href="https://github.com/davinci26"><code>@davinci26</code></a></li> </ul> </li> <li>xds: Fix possible panic when certain invalid resources are encountered. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8412">#8412</a>) <ul> <li>Special Thanks: <a href="https://github.com/wooffie"><code>@wooffie</code></a></li> </ul> </li> <li>xdsclient: Fix a rare panic caused by processing a response from a closed server. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8389">#8389</a>)</li> <li>stats: Fix metric unit formatting by enclosing non-standard units like <code>call</code> and <code>endpoint</code> in curly braces to comply with UCUM and gRPC OpenTelemetry guidelines. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8481">#8481</a>)</li> <li>xds: Fix possible panic when clusters are removed from the xds configuration. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8428">#8428</a>)</li> <li>xdsclient: Fix a race causing "resource doesn not exist" when rapidly subscribing and unsubscribing to the same resource. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8369">#8369</a>)</li> <li>client: When determining the authority, properly percent-encode (if needed, which is unlikely) when the target string omits the hostname and only specifies a port (<code>grpc.NewClient(":<port-number-or-name>")</code>). (<a href="https://redirect.github.com/grpc/grpc-go/issues/8488">#8488</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/grpc/grpc-go/commit/b9788ef265596eda98a4391079c70c3992ed47cb"><code>b9788ef</code></a> Change version to 1.75.0 (<a href="https://redirect.github.com/grpc/grpc-go/issues/8493">#8493</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/2bd74b28f5a7d464de4ed6927aef4b69abc0d3af"><code>2bd74b2</code></a> credentials: fix behavior of grpc.WithAuthority and credential handshake prec...</li> <li><a href="https://github.com/grpc/grpc-go/commit/9fa3267859958a7fa0141a8180102850f3d5842c"><code>9fa3267</code></a> xds: remove xds client fallback environment variable (<a href="https://redirect.github.com/grpc/grpc-go/issues/8482">#8482</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/62ec29fd9b3f9ea3cea6dc08a31e837aa92678b7"><code>62ec29f</code></a> grpc: Fix cardinality violations in non-client streaming RPCs. (<a href="https://redirect.github.com/grpc/grpc-go/issues/8385">#8385</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/85240a5b02defe7b653ccba66866b4370c982b6a"><code>85240a5</code></a> stats: change non-standard units to annotations (<a href="https://redirect.github.com/grpc/grpc-go/issues/8481">#8481</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/ac13172781fae5593fd97ce07c3019c4044a71cd"><code>ac13172</code></a> update deps (<a href="https://redirect.github.com/grpc/grpc-go/issues/8478">#8478</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/0a895bc971a89c68c00070f792a28cc533846780"><code>0a895bc</code></a> examples/opentelemetry: use experimental metrics in example (<a href="https://redirect.github.com/grpc/grpc-go/issues/8441">#8441</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/8b61e8f7b8fe9b0a4217336f6a4a31731338c3b2"><code>8b61e8f</code></a> xdsclient: do not process updates from closed server channels (<a href="https://redirect.github.com/grpc/grpc-go/issues/8389">#8389</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/7238ab1822875fdc2864e06fb224236dc7cbf3bf"><code>7238ab1</code></a> Allow empty nodeID (<a href="https://redirect.github.com/grpc/grpc-go/issues/8476">#8476</a>)</li> <li><a href="https://github.com/grpc/grpc-go/commit/9186ebd774370e3b3232d1b202914ff8fc2c56d6"><code>9186ebd</code></a> cleanup: use slices.Equal to simplify code (<a href="https://redirect.github.com/grpc/grpc-go/issues/8472">#8472</a>)</li> <li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.74.2...v1.75.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
9b7d41dbea |
chore: update terraform to 1.13.0 (#19509)
Co-authored-by: Jon Ayers <jon@coder.com> |
||
|
|
e7591aa453 |
chore: preload inter and ibm mono fonts in storybook (#19455)
This aims to solve font rendering issues in Storybook like the inconsistent snapshot below. **Inconsistent snapshot:** <img width="3022" height="1552" alt="image" src="https://github.com/user-attachments/assets/ad0e1060-89cc-4255-b601-97ed59286080" /> **References:** - https://www.chromatic.com/docs/troubleshooting-snapshots/#why-are-fonts-in-my-graph-component-rendering-inconsistently - https://fontsource.org/docs/getting-started/preload |
||
|
|
836324e641 |
feat(cli): add coder exp tasks list (#19496)
Fixes coder/internal#892 Fixes coder/internal#896 Example output: ``` ❯ coder exp task list ID NAME STATUS STATE STATE CHANGED MESSAGE a7a27450-ca16-4553-a6c5-9d6f04808569 task-hardcore-herschel-bd08 running idle 5h22m3s ago Listed root directory contents, working directory reset 50f92138-f463-4f2b-abad-1816264b065f task-musing-dewdney-f058 running idle 6h3m8s ago Completed arithmetic calculation ``` |