Hugo Dutka
bdf227c1f9
chore(coderd/database/dbgen): remove dbmem from tests ( #18152 )
...
Related to https://github.com/coder/coder/issues/15109
2025-06-02 14:05:40 +02:00
Hugo Dutka
d3ed6fe652
chore(coderd/autobuild): use dbtestutil.WillUsePostgres instead of os.Getenv in test ( #18145 )
...
Standardizing on `WillUsePostgres` will make it easier to remove the
check entirely once dbmem is removed.
Related to https://github.com/coder/coder/issues/15109 .
2025-06-02 13:58:07 +02:00
Hugo Dutka
782d01bae2
chore(coderd/httpmw): remove dbmem usage from tests ( #18146 )
...
Related to https://github.com/coder/coder/issues/15109
2025-06-02 13:57:56 +02:00
dependabot[bot]
f986d13a9c
chore: bump github.com/fergusstrange/embedded-postgres from 1.30.0 to 1.31.0 ( #18174 )
...
Bumps
[github.com/fergusstrange/embedded-postgres](https://github.com/fergusstrange/embedded-postgres )
from 1.30.0 to 1.31.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fergusstrange/embedded-postgres/releases ">github.com/fergusstrange/embedded-postgres's
releases</a>.</em></p>
<blockquote>
<h2>v1.31.0</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: prevent panic when <code>*http.Response</code> is nil by <a
href="https://github.com/dannykopping "><code>@dannykopping</code></a>
in <a
href="https://redirect.github.com/fergusstrange/embedded-postgres/pull/156 ">fergusstrange/embedded-postgres#156</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/dannykopping "><code>@dannykopping</code></a>
made their first contribution in <a
href="https://redirect.github.com/fergusstrange/embedded-postgres/pull/156 ">fergusstrange/embedded-postgres#156</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/fergusstrange/embedded-postgres/compare/v1.30.0...v1.31.0 ">https://github.com/fergusstrange/embedded-postgres/compare/v1.30.0...v1.31.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/fergusstrange/embedded-postgres/commit/4fb7ddc646853d24521dfbb119c9a3fbf6f8a675 "><code>4fb7ddc</code></a>
fix: prevent panic when <code>*http.Response</code> is nil (<a
href="https://redirect.github.com/fergusstrange/embedded-postgres/issues/156 ">#156</a>)</li>
<li>See full diff in <a
href="https://github.com/fergusstrange/embedded-postgres/compare/v1.30.0...v1.31.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>
2025-06-02 11:57:40 +00:00
Hugo Dutka
9a28cb0545
chore(coderd/telemetry): remove dbmem from tests ( #18148 )
...
Related to https://github.com/coder/coder/issues/15109
2025-06-02 13:57:27 +02:00
Hugo Dutka
9812162190
chore(coderd/database/dbrollup): remove dbmem from tests ( #18153 )
...
Related to https://github.com/coder/coder/issues/15109
2025-06-02 13:56:50 +02:00
dependabot[bot]
33c87a2e03
chore: bump github.com/mocktools/go-smtp-mock/v2 from 2.4.0 to 2.5.0 ( #18170 )
...
Bumps
[github.com/mocktools/go-smtp-mock/v2](https://github.com/mocktools/go-smtp-mock )
from 2.4.0 to 2.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mocktools/go-smtp-mock/releases ">github.com/mocktools/go-smtp-mock/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.5.0</h2>
<h2>Changelog</h2>
<ul>
<li>46310364e58e3d77f47a7fe9c2e890b59ecfc01d Feature/Support custom
logger implementations (<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/201 ">#201</a>)</li>
<li>379ac4b84f86882d2ee896c956b1ccdc92a15d55 Merge pull request <a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/204 ">#204</a>
from mocktools/develop</li>
<li>f26d8693f3ecc39d6118dedcfd680d0e8048a67c Technical/Update changelog
(<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/203 ">#203</a>)</li>
<li>33f8c5c4dd1d35517152129b999372dcc711dd78 Technical/Update readme (<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/202 ">#202</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mocktools/go-smtp-mock/blob/master/CHANGELOG.md ">github.com/mocktools/go-smtp-mock/v2's
changelog</a>.</em></p>
<blockquote>
<h2>[2.5.0] - 2025-05-31</h2>
<h3>Added</h3>
<ul>
<li>Added <a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/171 ">ability
to use a custom logger</a>, <code>WithLogger()</code> method. Thanks <a
href="https://github.com/Hsn723 "><code>@Hsn723</code></a> for PR</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mocktools/go-smtp-mock/commit/379ac4b84f86882d2ee896c956b1ccdc92a15d55 "><code>379ac4b</code></a>
Merge pull request <a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/204 ">#204</a>
from mocktools/develop</li>
<li><a
href="https://github.com/mocktools/go-smtp-mock/commit/f26d8693f3ecc39d6118dedcfd680d0e8048a67c "><code>f26d869</code></a>
Technical/Update changelog (<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/203 ">#203</a>)</li>
<li><a
href="https://github.com/mocktools/go-smtp-mock/commit/33f8c5c4dd1d35517152129b999372dcc711dd78 "><code>33f8c5c</code></a>
Technical/Update readme (<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/202 ">#202</a>)</li>
<li><a
href="https://github.com/mocktools/go-smtp-mock/commit/46310364e58e3d77f47a7fe9c2e890b59ecfc01d "><code>4631036</code></a>
Feature/Support custom logger implementations (<a
href="https://redirect.github.com/mocktools/go-smtp-mock/issues/201 ">#201</a>)</li>
<li>See full diff in <a
href="https://github.com/mocktools/go-smtp-mock/compare/v2.4.0...v2.5.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>
2025-06-02 11:54:58 +00:00
dependabot[bot]
ef17def4af
chore: bump github.com/mark3labs/mcp-go from 0.30.0 to 0.31.0 ( #18168 )
...
Bumps [github.com/mark3labs/mcp-go](https://github.com/mark3labs/mcp-go )
from 0.30.0 to 0.31.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.31.0</h2>
<h2>What's Changed</h2>
<ul>
<li>[feat] separate request struct by <a
href="https://github.com/OswinWu "><code>@OswinWu</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/333 ">mark3labs/mcp-go#333</a></li>
<li>fix: logo on website is squashed by <a
href="https://github.com/corani "><code>@corani</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/349 ">mark3labs/mcp-go#349</a></li>
<li>fix: panic when streamable HTTP server sends notification by <a
href="https://github.com/dugenkui03 "><code>@dugenkui03</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/348 ">mark3labs/mcp-go#348</a></li>
<li>fix: move styles.css to www/docs by <a
href="https://github.com/corani "><code>@corani</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/354 ">mark3labs/mcp-go#354</a></li>
<li>fix(server): resolve stdio server context cancellation bug by <a
href="https://github.com/sonirico "><code>@sonirico</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/331 ">mark3labs/mcp-go#331</a></li>
<li>Add option to StreamableHTTPServer to allow custom http server
instance by <a
href="https://github.com/yash025 "><code>@yash025</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/347 ">mark3labs/mcp-go#347</a></li>
<li>fix(Srv/stream): add ID field to <code>PingRequest</code> by <a
href="https://github.com/cryo-zd "><code>@cryo-zd</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/353 ">mark3labs/mcp-go#353</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/OswinWu "><code>@OswinWu</code></a> made
their first contribution in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/333 ">mark3labs/mcp-go#333</a></li>
<li><a href="https://github.com/corani "><code>@corani</code></a> made
their first contribution in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/349 ">mark3labs/mcp-go#349</a></li>
<li><a href="https://github.com/sonirico "><code>@sonirico</code></a>
made their first contribution in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/331 ">mark3labs/mcp-go#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/mark3labs/mcp-go/compare/v0.30.1...v0.31.0 ">https://github.com/mark3labs/mcp-go/compare/v0.30.1...v0.31.0 </a></p>
<h2>Release v0.30.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(server): Implement MCP version negotiation. by <a
href="https://github.com/octo "><code>@octo</code></a> in <a
href="https://redirect.github.com/mark3labs/mcp-go/pull/341 ">mark3labs/mcp-go#341</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/mark3labs/mcp-go/compare/v0.30.0...v0.30.1 ">https://github.com/mark3labs/mcp-go/compare/v0.30.0...v0.30.1 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/4b7117679253667c34c385f47e5982e3b18ba90a "><code>4b71176</code></a>
fix(Srv/stream): add ID field to <code>PingRequest</code> (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/353 ">#353</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/7f2ea88dea96ed9b804168ad91e19a19363eb03f "><code>7f2ea88</code></a>
Add option to StreamableHTTPServer to allow custom http server instance
(<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/347 ">#347</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/d250b380fbc71f43a41a276f86703085f87ca963 "><code>d250b38</code></a>
fix(server): resolve stdio server context cancellation bug (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/331 ">#331</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/d5847c0fadb7ea4115562e8b92cf5e1ffe9b288b "><code>d5847c0</code></a>
fix: move styles.css to www/docs (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/354 ">#354</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/e744c1925c709a4e7c02d31500cdded5b1d0e935 "><code>e744c19</code></a>
fix: panic when streamable HTTP server sends notification (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/348 ">#348</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/991b31c2a0a9d2f304f6dcb46554fe651c14b6af "><code>991b31c</code></a>
fix: logo on website is squashed (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/349 ">#349</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/bfc377391e4c1d7ff3883950fd91c4a499b4f2bf "><code>bfc3773</code></a>
Merge pull request <a
href="https://redirect.github.com/mark3labs/mcp-go/issues/333 ">#333</a>
from OswinWu/feat/separate-CallToolRequstParams</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/a283d2336d42040d7910d88e33cbd0937545e1c9 "><code>a283d23</code></a>
Merge branch 'main' into feat/separate-CallToolRequstParams</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/c7c0e13ad2675746f78b2580ad4a8de57b2bbbc6 "><code>c7c0e13</code></a>
fix(server): Implement MCP protocol negotiation. (<a
href="https://redirect.github.com/mark3labs/mcp-go/issues/341 ">#341</a>)</li>
<li><a
href="https://github.com/mark3labs/mcp-go/commit/96f1b3bbd89345adb1f3668558c919b80a769c1a "><code>96f1b3b</code></a>
[style] change naming style of structs</li>
<li>Additional commits viewable in <a
href="https://github.com/mark3labs/mcp-go/compare/v0.30.0...v0.31.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>
2025-06-02 11:49:30 +00:00
Danny Kopping
2c8e6b91d6
chore: upgrade fergusstrange/embedded-postgres after bugfix ( #18167 )
...
https://github.com/fergusstrange/embedded-postgres/pull/156 was merged
and
[v1.31.0](https://github.com/fergusstrange/embedded-postgres/releases/tag/v1.31.0 )
was cut.
Signed-off-by: Danny Kopping <dannykopping@gmail.com >
2025-06-02 11:44:08 +00:00
Ben Potter and Claude
1e407fb4e2
fix: improve build reliability with fallback apt mirrors ( #18155 )
...
## Summary
- Fixes image build failure by adding fallback to kernel.org mirrors
when Ubuntu/Debian repositories fail
- Ensures unzip is available during Bun installation process
- Improves apt repository configuration to prevent 403 errors in CI
## Root Cause
The build was failing for two reasons:
1. Network issues with Ubuntu/Debian package repositories returning 403
Forbidden errors
2. Unzip package not being reliably available in the image layer where
Bun installation happens
## Fix
- Added fallback mirrors for apt repositories using kernel.org mirrors
- Explicitly installed unzip before using it in the Bun installation
- Added proper cleanup after package installations to keep image size
down
## Test plan
- The CI workflow that was previously failing should now succeed
- Build the dogfood image locally with `cd dogfood/coder && docker build
-t codercom/oss-dogfood:test .`
- Verify Bun is correctly installed and can be used
Fixes build failure from PR #18154 (original PR that added Bun)
🤖 Generated with [Claude Code](https://claude.ai/code )
---------
Co-authored-by: Claude <noreply@anthropic.com >
2025-06-01 19:01:35 -05:00
Ben Potter and Claude
bf07a14c27
feat: add Bun v1.2.15 to dogfood image ( #18154 )
...
## Summary
- Adds Bun JavaScript runtime (v1.2.15) to the dogfood image
- Installs Bun to /usr/local/bin to ensure persistence when /home/coder
is mounted
- Verified that Bun works correctly in the built container
## Test plan
1. Build the dogfood image with `cd dogfood/coder && docker build -t
codercom/oss-dogfood:test .`
2. Run the container with `docker run --rm -it codercom/oss-dogfood:test
bash`
3. Test Bun in the container with:
- `bun --version` (should output 1.2.15)
- `cd /tmp && echo "console.log('Hello from Bun\!');" > test.js && bun
run test.js`
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com >
2025-06-01 16:07:04 -05:00
Jaayden Halko
854ef5b07c
fix: improve create workspace page for dynamic parameters ( #18139 )
...
- Avoid scrolling on workspace creation
- hide auth required badge when authenticated
2025-05-30 17:13:16 -04:00
Bruno Quaresma
19745a2dee
feat: filter tasks by user ( #18130 )
...
Demo:
https://github.com/user-attachments/assets/4f3a39c5-6b41-4493-a1c0-56eedadb7798
2025-05-30 15:31:06 -03:00
Bruno Quaresma
9fbccc032d
chore: improve iframe loading time ( #18134 )
...
- Pre-load all the embed app iframes
- Avoid reloading the iframe when the selected app changes
2025-05-30 15:30:35 -03:00
Bruno Quaresma
00502dc653
feat: hide parent apps on devcontainer agents ( #18120 )
...
**Demo:**
https://github.com/user-attachments/assets/d68cbc33-5199-426b-8f97-35ee1c3ae133
2025-05-30 14:59:26 -03:00
Bruno Quaresma
696d264da8
refactor: remove app column from tasks table ( #18135 )
...
Remove the "app" column from the tasks table since the user can click on the task and use apps there.
2025-05-30 14:47:24 -03:00
Kyle Carberry
d44d8abcd1
fix: improve task report tool complete status ( #18138 )
2025-05-30 17:46:19 +00:00
Jaayden Halko
9b53e69e32
feat: add early access badges for dynamic parameters ( #18114 )
...
Workspace creation page
<img width="1438" alt="Screenshot 2025-05-30 at 13 38 22"
src="https://github.com/user-attachments/assets/bac94f3a-b695-4662-9a89-7777d03d8f74 "
/>
Workspace parameter settings
<img width="1432" alt="Screenshot 2025-05-30 at 13 37 19"
src="https://github.com/user-attachments/assets/f1f803a6-b99a-416c-a085-38bafc2ef4e4 "
/>
<img width="1429" alt="Screenshot 2025-05-30 at 13 43 27"
src="https://github.com/user-attachments/assets/cb1d37a4-8b79-4858-846e-3b1deb0a63cf "
/>
2025-05-30 13:17:17 -04:00
Steven Masley
9db114d17c
feat: add filecache prometheus metrics ( #18089 )
...
Dynamic parameters has an in memory file cache. This adds prometheus
metrics to monitor said cache.
2025-05-30 11:54:54 -05:00
Danielle Maywood
562c4696de
fix(coderd/database/dbmem): fill DisplayGroup field for InsertWorkspaceApp ( #18136 )
...
It appears `dbmem` was missed in the new app groups feature
https://github.com/coder/coder/pull/17977 .
2025-05-30 17:52:31 +01:00
Cian Johnston
9afdd33e64
fix(coderd/database/dbmem): apply rlock/runlock on GetTelemetryItems ( #18133 )
...
Fixes https://github.com/coder/coder/issues/18132
2025-05-30 16:39:32 +01:00
Steven Masley
216fe441cf
chore: align CSRF settings with deployment config ( #18116 )
2025-05-30 09:30:49 -05:00
Marcin Tojek
1fba4195fb
docs: add backend contributing guide ( #18077 )
2025-05-30 16:24:46 +02:00
Steven Masley
4597142467
feat: set default workspace proxy based on latency ( #17812 )
...
Auto select the proxy on first load (stored in local storage, so per
browser), then defer to user selection. The auto selected proxy will not
update again once set.
2025-05-30 09:24:16 -05:00
dependabot[bot]
80b7947a0e
chore: bump next from 14.2.26 to 15.2.4 in /offlinedocs ( #18131 )
...
Bumps [next](https://github.com/vercel/next.js ) from 14.2.26 to 15.2.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases ">next's
releases</a>.</em></p>
<blockquote>
<h2>v15.1.8</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: Merge link header from middleware with the ones from React (<a
href="https://redirect.github.com/vercel/next.js/issues/73431 ">#73431</a>)</li>
<li>fix(edge): run after() if request is cancelled mid-streaming (<a
href="https://redirect.github.com/vercel/next.js/issues/76013 ">#76013</a>)</li>
<li>gate segmentCache branch in base-server (<a
href="https://redirect.github.com/vercel/next.js/issues/79505 ">#79505</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/amannn "><code>@amannn</code></a>, <a
href="https://github.com/lubieowoce "><code>@lubieowoce</code></a>, and
<a href="https://github.com/ztanner "><code>@ztanner</code></a> for
helping!</p>
<h2>v14.2.29</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Only share incremental cache for edge in next start (<a
href="https://redirect.github.com/vercel/next.js/issues/79389 ">#79389</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ijjk "><code>@ijjk</code></a> for helping!</p>
<h2>v14.2.28</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: node.js module import error when using middleware (<a
href="https://redirect.github.com/vercel/next.js/issues/77945 ">#77945</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner "><code>@ztanner</code></a> for
helping!</p>
<h2>v14.2.27</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix dynamic route interception not working when deployed with
middleware (<a
href="https://redirect.github.com/vercel/next.js/issues/64923 ">#64923</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner "><code>@ztanner</code></a> for
helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/804aa35c71cc65cf3ddc29cdadcd29f06b368285 "><code>804aa35</code></a>
v15.2.4</li>
<li><a
href="https://github.com/vercel/next.js/commit/ecb72ee9ead86aaa1e3992b427bfb43b046aa08d "><code>ecb72ee</code></a>
Match subrequest handling for edge and node (<a
href="https://redirect.github.com/vercel/next.js/issues/77474 ">#77474</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/25f810b596cdb6875d1f068ae8d203f1a5df7a46 "><code>25f810b</code></a>
exclude images and static media from dev origin check (<a
href="https://redirect.github.com/vercel/next.js/issues/77417 ">#77417</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/d9bcb833dd2a8dd5c13f30775d688f7015cd75b1 "><code>d9bcb83</code></a>
ensure /__next middleware URLs are included in the origin check (<a
href="https://redirect.github.com/vercel/next.js/issues/77416 ">#77416</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/cfeaa86fa718f1fecce9fb5f5fad3c310117fc53 "><code>cfeaa86</code></a>
remove direct ip/port bypass in dev origin check (<a
href="https://redirect.github.com/vercel/next.js/issues/77414 ">#77414</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/f84730266087817b39c9b87c42ccf1c3bb7de0c5 "><code>f847302</code></a>
switch development origin verification to be opt-in rather than opt-out
(<a
href="https://redirect.github.com/vercel/next.js/issues/77395 ">#77395</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/535e26d3c69de49df8bd17618a424cbe65ec897b "><code>535e26d</code></a>
v15.2.3</li>
<li><a
href="https://github.com/vercel/next.js/commit/2fcae1d7e3079874ff633b5b8311adb584c80ce6 "><code>2fcae1d</code></a>
Update default allowed origins list (<a
href="https://redirect.github.com/vercel/next.js/issues/77212 ">#77212</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/adf5462b5f269963395b0a2ef12a1b66e8cadabc "><code>adf5462</code></a>
unify allowed origin detection handling (<a
href="https://redirect.github.com/vercel/next.js/issues/77053 ">#77053</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/5e59da1f5c8b9e8b3a759048bd371efcd77813ae "><code>5e59da1</code></a>
Add dev warning for cross-origin and stabilize allowedDevOrigins (<a
href="https://redirect.github.com/vercel/next.js/issues/77044 ">#77044</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.26...v15.2.4 ">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)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/coder/coder/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 14:07:38 +00:00
Bruno Quaresma
be8474a8a0
feat: add textarea auto size ( #18127 )
...
Demo:
https://github.com/user-attachments/assets/aa179ac2-6f2f-43a6-8d74-8a936eea5a29
2025-05-30 11:00:53 -03:00
Bruno Quaresma
f974add373
chore: rollback PR #18025 ( #18118 )
...
Rollback https://github.com/coder/coder/pull/18025
2025-05-30 11:00:26 -03:00
Bruno Quaresma
a19539ce83
refactor: improve app status and statuses ( #18121 )
...
#### 1. Gray out status icons when the workspace is not running.
**Before:**
<img width="1624" alt="Screenshot 2025-05-29 at 21 33 45"
src="https://github.com/user-attachments/assets/7916e707-e5ae-4226-8234-39c42f0ec8c4 "
/>
**After:**
<img width="1624" alt="Screenshot 2025-05-29 at 21 35 07"
src="https://github.com/user-attachments/assets/52fd8553-414d-4c49-a44e-7a530f0d522d "
/>
#### 2. Truncate long messages
**Before**
<img width="1213" alt="Screenshot 2025-05-29 at 21 28 50"
src="https://github.com/user-attachments/assets/b76b7a4d-7ef0-41a0-822c-c32c98f997fc "
/>
**After**
<img width="1206" alt="Screenshot 2025-05-29 at 21 25 42"
src="https://github.com/user-attachments/assets/fb3f3916-a4a4-4697-b7d1-0b4873b6e528 "
/>
#### 3. Disable "show more" button if there is one single status
2025-05-29 22:39:18 -03:00
Ethan
e5c254888a
fix(cli): handle nil unwrap errors when formatting ( #18099 )
...
Discovered an unhelpful error when running a CLI command without internet (I didn't know I didn't have internet!):
```
$ coder ls
Encountered an error running "coder list", see "coder list --help" for more information
error: <nil>
```
The source of this was that calling `Unwrap()` on `net.DNSError` can return nil, causing the whole error trace to get replaced by it. Instead, we'll just treat a nil `Unwrap()` return value as if there was nothing to unwrap.
The result is:
```
$ coder ls
Encountered an error running "coder list", see "coder list --help" for more information
error: query workspaces: Get "https://dev.coder.com/api/v2/workspaces?q=owner%3Ame ": dial tcp: lookup dev.coder.com: no such host
```
2025-05-30 11:31:51 +10:00
Atif Ali and EdwardAngert
25e2146200
docs: reorganize JetBrains docs ( #17995 )
...
This pull request introduces significant updates to documentation and
references related to JetBrains IDEs, including rebranding,
restructuring, and adding new guides.
[Preview](https://coder.com/docs/@atif%2Fjetbrains-reorganization )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-05-29 17:56:44 -07:00
Kyle Carberry
bedeb4710b
fix: improve task reporting tool description ( #18119 )
...
In my (albeit subjective) testing, this dramatically improved the
reporting ability - both in frequency and accuracy.
2025-05-30 00:00:12 +00:00
Steven Masley and Atif Ali
4e0acdce1e
chore: implement dogfood template to select region based on user group ( #18115 )
...
Co-authored-by: Atif Ali <atif@coder.com >
2025-05-29 15:02:16 -05:00
ケイラ
232c72ffd6
feat: group apps together on workspace page ( #18018 )
2025-05-29 12:01:51 -06:00
Edward Angert and EdwardAngert
e906ce2b65
docs: separate coder desktop sections into install and use pages ( #18068 )
...
[preview](https://coder.com/docs/@coder-desktop-section/user-guides/desktop )
we should consider the "Connect" naming in future PRs
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-05-29 17:42:14 +00:00
Bruno Quaresma
e0718a600e
feat: group external apps on task page ( #18107 )
...
https://github.com/user-attachments/assets/ac03f9ad-9b89-400b-aabe-fade2997319b
2025-05-29 14:10:27 -03:00
Bruno Quaresma
a85351f2bf
fix: fix usage of wrong attribute ( #18109 )
...
Caused by https://github.com/coder/coder/pull/18104
2025-05-29 14:02:34 -03:00
Atif Ali
b80e5d7cc5
chore(dogfood): update jetbrains toolbox module to use multi-select ( #18011 )
2025-05-29 21:57:05 +05:00
Bruno Quaresma
458780d059
fix: handle empty display_name on templates ( #18106 )
2025-05-29 13:13:15 -03:00
Bruno Quaresma
d06eff2b2f
feat: add view workspace button in task page ( #18105 )
...
<img width="1613" alt="Screenshot 2025-05-29 at 12 57 41"
src="https://github.com/user-attachments/assets/7ae199c2-7e36-47d2-84cc-d0ae820ff372 "
/>
2025-05-29 13:12:58 -03:00
Bruno Quaresma
d779126ee3
chore: rollback PR #18081 ( #18104 )
...
Rollback https://github.com/coder/coder/pull/18081
2025-05-29 13:12:13 -03:00
345001ffd1
docs: update the GitHub Auth section ( #17769 )
...
Addresses https://github.com/coder/coder/issues/17752
[preview](https://coder.com/docs/@hugodutka%2Fgithub%2Dauth%2Dorg%2Ddocs/admin/users/github-auth )
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com >
2025-05-29 15:38:45 +00:00
Jaayden Halko and Steven Masley
177bda3187
fix: autofill with workspace build parameters from the latest build ( #18091 )
...
Set the form parameters using autofill parameters based on the workspace
build parameters for the latest build
---------
Co-authored-by: Steven Masley <stevenmasley@gmail.com >
2025-05-29 11:24:55 -04:00
Steven Masley
e4648b6fc1
feat: allow iframing urls on the same domain as the deployment ( #18102 )
...
Used for AI tasks. We should eventually add regions to this csp header.
2025-05-29 10:07:57 -05:00
Bruno Quaresma
201b0b10e8
chore: simplify AgentRow interface ( #18087 )
2025-05-29 11:45:50 -03:00
Steven Masley
8387dd27ab
chore: add form_type parameter argument to db ( #17920 )
...
`form_type` is a new parameter field in the terraform provider. Bring
that field into coder/coder.
Validation for `multi-select` has also been added.
2025-05-29 08:55:19 -05:00
Cian Johnston
776c144128
fix(coderd): ensure agent timings are non-zero on insert ( #18065 )
...
Relates to https://github.com/coder/coder/issues/15432
Ensures that no workspace build timings with zero values for started_at or ended_at are inserted into the DB or returned from the API.
2025-05-29 13:36:06 +01:00
Bruno Quaresma
5f34d01906
refactor: replace MUI components and refactor styles ( #18082 )
...
**Before:**
<img width="1196" alt="Screenshot 2025-05-28 at 13 26 03"
src="https://github.com/user-attachments/assets/86c2830e-6777-441c-aedc-64fef472e369 "
/>
**After:**
<img width="1197" alt="Screenshot 2025-05-28 at 13 24 19"
src="https://github.com/user-attachments/assets/08e2dc4e-424a-43d8-a343-0ac8e03c9948 "
/>
2025-05-29 08:27:52 -03:00
Danielle Maywood
b712d0b23f
feat(coderd/agentapi): implement sub agent api ( #17823 )
...
Closes https://github.com/coder/internal/issues/619
Implement the `coderd` side of the AgentAPI for the upcoming
dev-container agents work.
`agent/agenttest/client.go` is left unimplemented for a future PR
working to implement the agent side of this feature.
2025-05-29 12:15:47 +01:00
Danny Kopping
bc83de2a72
feat: add prebuilt workspaces telemetry ( #18084 )
...
Adds telemetry for a _global_ account of prebuilt workspaces created,
failed to build, and claimed.
Partitioning this data by template/preset tuple is not currently in
scope.
---------
Signed-off-by: Danny Kopping <dannykopping@gmail.com >
2025-05-29 13:13:44 +02:00
Bruno Quaresma
69c90064a8
fix: rename build.workspace_owner_name to build.workspace_owner_username ( #18078 )
...
I forgot to update the the build logs to use username instead of name.
Introduced on: https://github.com/coder/coder/pull/18025
2025-05-29 06:52:25 -03:00