Bruno Quaresma
0f3858ecc9
feat: display provisioner jobs and daemons for an organization ( #16532 )
...
**Jobs:**
<img width="1624" alt="Screenshot 2025-02-13 at 09 26 31"
src="https://github.com/user-attachments/assets/dc1f24de-48e8-4f91-b128-8e4f3b109328 "
/>
[Figma
Link](https://www.figma.com/design/JYW69pbgOMr21fCMiQsPXg/Provisioners?node-id=10-2005&m=dev )
**Daemons:**
<img width="1624" alt="Screenshot 2025-02-13 at 09 26 53"
src="https://github.com/user-attachments/assets/429d77ee-2b4f-45d1-924f-796145901fd8 "
/>
[Figma
Link](https://www.figma.com/design/JYW69pbgOMr21fCMiQsPXg/Provisioners?node-id=26-4038&m=dev )
Close https://github.com/coder/coder/issues/15192 and
https://github.com/coder/coder/issues/15193
2025-02-18 11:27:51 -03:00
Bruno Quaresma
ebf97527fd
chore: add biome to devcontainer.json ( #16605 )
2025-02-18 11:25:05 -03:00
Cian Johnston
3a773758a2
feat(coderd/httpapi): add QueryParamParser.JSONStringMap ( #16578 )
...
This PR provides a convenience function for parsing a
`map[string]string` from a query parameter.
Context:
https://github.com/coder/coder/pull/16558#discussion_r1956190615
2025-02-18 14:14:30 +00:00
Sas Swart
a17cf03980
feat(site): add support for presets to the create workspace page ( #16567 )
...
This pull request adds support for presets to the create workspace page.
This behaviour can be seen in the storybook. This will not be visible in
dogfood until we merge support for presets in the provisioners.
There is more frontend work to be done before this is ready for a
general release, but this should be sufficient for dogfood testing
2025-02-18 15:26:55 +02:00
Marcin Tojek
7fd04d4c54
docs: update ssh key description ( #16602 )
...
Fixes: https://github.com/coder/coder/issues/15672
2025-02-18 13:06:19 +01:00
Thomas Kosiewski
420855dc55
fix(helm): ensure coder can be deployed in a non-default namespace ( #16579 )
...
Added namespace to all resources in the helm chart and added tests to ensure that coder can be deployed in non-default namespaces, as specified via the namespace flag in the helm command.
Ways to verify this:
- current state:
```bash
$ helm template my-coder coder -n coder --version 2.19.0 --repo https://helm.coder.com/v2 | yq '.metadata.namespace'
null
---
null
---
null
---
null
---
null
```
- fixed state when checking out this PR:
```bash
$ helm template my-coder ./helm/coder -n coder --set coder.image.tag=latest | yq '.metadata.namespace'
coder
---
coder
---
coder
---
coder
---
coder
```
Change-Id: Ib66d4be9bcc4984dfe15709362e1fe0dcd3e847f
Signed-off-by: Thomas Kosiewski <tk@coder.com >
2025-02-18 12:50:35 +01:00
Colin Adler and Cian Johnston
a777c2694e
chore: upgrade terraform to 1.10.5 ( #16519 )
...
- Updates `terraform` to
[v1.10.5](https://github.com/hashicorp/terraform/blob/v1.10.5/CHANGELOG.md#1105-january-22-2025 )
- Updates provider to >=2.0.0 in provider testdata fixtures
- Fixes provider to required release version for resource monitors
- Fixes missing leading / in volumes in resource monitor tests
---------
Co-authored-by: Cian Johnston <cian@coder.com >
2025-02-18 11:45:22 +00:00
Edward Angert
f66a59f381
docs: highlight the tip in coder-preview section and move step ( #16597 )
...
- moves the step out of the tip and the tip into the step
- adds some context to what to do with the URL
2025-02-17 12:36:06 -05:00
Danielle Maywood
d6b9806098
chore: implement oom/ood processing component ( #16436 )
...
Implements the processing logic as set out in the OOM/OOD RFC.
2025-02-17 16:56:52 +00:00
Mathias Fredriksson
b5329ae1cd
feat: add workspace agent connect and app open audit types ( #16493 )
...
This commit adds new audit resource types for workspace agents and
workspace apps, as well as connect/disconnect and open/close actions.
The idea is that we will log new audit events for connecting to the
agent via SSH/editor.
Likewise, we will log openings of `coder_app`s.
This change also introduces support for filtering by `request_id`.
Updates #15139
2025-02-17 13:02:30 +00:00
Marcin Tojek
42f6b716f2
fix: add link to troubleshooting ( #16592 )
...
Fixes: https://github.com/coder/coder/issues/14933
2025-02-17 14:00:51 +01:00
dependabot[bot]
e39f39ee20
ci: bump the github-actions group with 2 updates ( #16593 )
...
Bumps the github-actions group with 2 updates:
[step-security/harden-runner](https://github.com/step-security/harden-runner )
and [crate-ci/typos](https://github.com/crate-ci/typos ).
Updates `step-security/harden-runner` from 2.10.4 to 2.11.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/step-security/harden-runner/releases ">step-security/harden-runner's
releases</a>.</em></p>
<blockquote>
<h2>v2.11.0</h2>
<h2>What's Changed</h2>
<p>Release v2.11.0 in <a
href="https://redirect.github.com/step-security/harden-runner/issues/498 ">#498</a>
Harden-Runner Enterprise tier now supports the use of eBPF for DNS
resolution and network call monitoring</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/step-security/harden-runner/compare/v2...v2.11.0 ">https://github.com/step-security/harden-runner/compare/v2...v2.11.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/step-security/harden-runner/commit/4d991eb9b905ef189e4c376166672c3f2f230481 "><code>4d991eb</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/498 ">#498</a>
from step-security/rc-18</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/4ea872f89714b83576609e6f89476dfb114a6246 "><code>4ea872f</code></a>
Update README.md</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/65d6f6e4ee070283fc8739e8d8295eb6c554029a "><code>65d6f6e</code></a>
Add workflows</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/1034c9a80544b55a7706ed377ea64ded8b0c7ea4 "><code>1034c9a</code></a>
Update package-lock.json</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/ab221e2d7a450f54fde8ccb211cea73c5bcf1e2a "><code>ab221e2</code></a>
Update agent</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/7cb6c2fb524eafc78ce834c51af420c289690789 "><code>7cb6c2f</code></a>
Update agent</li>
<li>See full diff in <a
href="https://github.com/step-security/harden-runner/compare/cb605e52c26070c328afc4562f0b4ada7618a84e...4d991eb9b905ef189e4c376166672c3f2f230481 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `crate-ci/typos` from 1.29.5 to 1.29.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/crate-ci/typos/releases ">crate-ci/typos's
releases</a>.</em></p>
<blockquote>
<h2>v1.29.7</h2>
<h2>[1.29.7] - 2025-02-13</h2>
<h3>Fixes</h3>
<ul>
<li>Don't correct <code>implementors</code></li>
</ul>
<h2>v1.29.6</h2>
<h2>[1.29.6] - 2025-02-13</h2>
<h3>Features</h3>
<ul>
<li>Updated the dictionary with the <a
href="https://redirect.github.com/crate-ci/typos/issues/1200 ">January
2025</a> changes</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/crate-ci/typos/blob/master/CHANGELOG.md ">crate-ci/typos's
changelog</a>.</em></p>
<blockquote>
<h1>Change Log</h1>
<p>All notable changes to this project will be documented in this
file.</p>
<p>The format is based on <a href="http://keepachangelog.com/ ">Keep a
Changelog</a>
and this project adheres to <a href="http://semver.org/ ">Semantic
Versioning</a>.</p>
<!-- raw HTML omitted -->
<h2>[Unreleased] - ReleaseDate</h2>
<h2>[1.29.7] - 2025-02-13</h2>
<h3>Fixes</h3>
<ul>
<li>Don't correct <code>implementors</code></li>
</ul>
<h2>[1.29.6] - 2025-02-13</h2>
<h3>Features</h3>
<ul>
<li>Updated the dictionary with the <a
href="https://redirect.github.com/crate-ci/typos/issues/1200 ">January
2025</a> changes</li>
</ul>
<h2>[1.29.5] - 2025-01-30</h2>
<h3>Internal</h3>
<ul>
<li>Update a dependency</li>
</ul>
<h2>[1.29.4] - 2025-01-03</h2>
<h2>[1.29.3] - 2025-01-02</h2>
<h2>[1.29.2] - 2025-01-02</h2>
<h2>[1.29.1] - 2025-01-02</h2>
<h3>Fixes</h3>
<ul>
<li>Don't correct <code>deriver</code></li>
</ul>
<h2>[1.29.0] - 2024-12-31</h2>
<h3>Features</h3>
<ul>
<li>Updated the dictionary with the <a
href="https://redirect.github.com/crate-ci/typos/issues/1156 ">December
2024</a> changes</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Sped up dictionary lookups</li>
</ul>
<h2>[1.28.4] - 2024-12-16</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/crate-ci/typos/commit/51f257b946f503b768e522781f56e9b7b5570d48 "><code>51f257b</code></a>
chore: Release</li>
<li><a
href="https://github.com/crate-ci/typos/commit/26abf5bab7c077003c530d632ba2d194dcb50eaf "><code>26abf5b</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/crate-ci/typos/commit/70356ad394aed5f2198728ae716d07306284545d "><code>70356ad</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-ci/typos/issues/1229 ">#1229</a>
from epage/english</li>
<li><a
href="https://github.com/crate-ci/typos/commit/1121a62d94115d9a7196fbfd6920b2690cbb427f "><code>1121a62</code></a>
fix(dict): Don't correct implementors</li>
<li><a
href="https://github.com/crate-ci/typos/commit/991878ee7836dc567b3478ec87191e3bd2e3db73 "><code>991878e</code></a>
chore: Release</li>
<li><a
href="https://github.com/crate-ci/typos/commit/c89d673ca19e503777d7d71b76908d4dab2b5138 "><code>c89d673</code></a>
chore(ci): Update builder image</li>
<li><a
href="https://github.com/crate-ci/typos/commit/0fad3ddc6e0fedf679217dcc61886fbeabd09346 "><code>0fad3dd</code></a>
chore(deps): Update compatible (<a
href="https://redirect.github.com/crate-ci/typos/issues/1223 ">#1223</a>)</li>
<li><a
href="https://github.com/crate-ci/typos/commit/b65799a5c4a8931f965b1d7cbabca95913c2ab0a "><code>b65799a</code></a>
chore: Release</li>
<li><a
href="https://github.com/crate-ci/typos/commit/2c0968908d0d79fa0acaa67f017f9b539fab24c5 "><code>2c09689</code></a>
docs: Update changelog</li>
<li><a
href="https://github.com/crate-ci/typos/commit/4af6a01f528aaca60cc5571e741ce05eb2d3f267 "><code>4af6a01</code></a>
Merge pull request <a
href="https://redirect.github.com/crate-ci/typos/issues/1222 ">#1222</a>
from epage/jan</li>
<li>Additional commits viewable in <a
href="https://github.com/crate-ci/typos/compare/11ca4583f2f3f74c7e7785c0ecb20fe2c99a4308...51f257b946f503b768e522781f56e9b7b5570d48 ">compare
view</a></li>
</ul>
</details>
<br />
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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 12:49:20 +00:00
Edward Angert and M Atif Ali
a5643b6f8c
docs: add doc on how to try a coder-preview build ( #16314 )
...
Co-authored-by: M Atif Ali <atif@coder.com >
2025-02-17 12:36:14 +00:00
dependabot[bot]
228691fa31
chore: bump google.golang.org/api from 0.220.0 to 0.221.0 ( #16591 )
...
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client )
from 0.220.0 to 0.221.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases ">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.221.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.220.0...v0.221.0 ">0.221.0</a>
(2025-02-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2998 ">#2998</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/0735943f3ce83bc93bb80b4755adc5c3061b306a ">0735943</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3002 ">#3002</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/28be0d71ce4b23d0cd98a1c375d538903d704424 ">28be0d7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3004 ">#3004</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/aa95c21176974fd82e932b4da6bb09681e54c95e ">aa95c21</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3005 ">#3005</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9550afc4b4012032dc7bfc388bad03a2982cf902 ">9550afc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3007 ">#3007</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/28149bcdf3231fc5e30da2d7d32cd297acfd7d2b ">28149bc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3010 ">#3010</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/c4543383039650895c75b232a81830fff85c32aa ">c454338</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3013 ">#3013</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/a34f3f45051ac976f1a4b662d0b33c8e9cb377be ">a34f3f4</a>)</li>
<li><strong>option/internaloption:</strong> Add new allowHardBoundTokens
option (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2975 ">#2975</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/1cc19b7b23410d9ec0732c29552fd23c56149b42 ">1cc19b7</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md ">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.220.0...v0.221.0 ">0.221.0</a>
(2025-02-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2998 ">#2998</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/0735943f3ce83bc93bb80b4755adc5c3061b306a ">0735943</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3002 ">#3002</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/28be0d71ce4b23d0cd98a1c375d538903d704424 ">28be0d7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3004 ">#3004</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/aa95c21176974fd82e932b4da6bb09681e54c95e ">aa95c21</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3005 ">#3005</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9550afc4b4012032dc7bfc388bad03a2982cf902 ">9550afc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3007 ">#3007</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/28149bcdf3231fc5e30da2d7d32cd297acfd7d2b ">28149bc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3010 ">#3010</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/c4543383039650895c75b232a81830fff85c32aa ">c454338</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3013 ">#3013</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/a34f3f45051ac976f1a4b662d0b33c8e9cb377be ">a34f3f4</a>)</li>
<li><strong>option/internaloption:</strong> Add new allowHardBoundTokens
option (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2975 ">#2975</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/1cc19b7b23410d9ec0732c29552fd23c56149b42 ">1cc19b7</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/3bdd389e11a1e0a1f80cd832aad6b91a6530f88c "><code>3bdd389</code></a>
chore(main): release 0.221.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2999 ">#2999</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/a34f3f45051ac976f1a4b662d0b33c8e9cb377be "><code>a34f3f4</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3013 ">#3013</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/c4543383039650895c75b232a81830fff85c32aa "><code>c454338</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3010 ">#3010</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/1cc19b7b23410d9ec0732c29552fd23c56149b42 "><code>1cc19b7</code></a>
feat(option/internaloption): add new allowHardBoundTokens option (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2975 ">#2975</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/6f4d4cddb8cf560b8cef21aa47df0f0f08e2032b "><code>6f4d4cd</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3006 ">#3006</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/28149bcdf3231fc5e30da2d7d32cd297acfd7d2b "><code>28149bc</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3007 ">#3007</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/9550afc4b4012032dc7bfc388bad03a2982cf902 "><code>9550afc</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3005 ">#3005</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/aa95c21176974fd82e932b4da6bb09681e54c95e "><code>aa95c21</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3004 ">#3004</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/28be0d71ce4b23d0cd98a1c375d538903d704424 "><code>28be0d7</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3002 ">#3002</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/0735943f3ce83bc93bb80b4755adc5c3061b306a "><code>0735943</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2998 ">#2998</a>)</li>
<li>See full diff in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.220.0...v0.221.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-02-17 12:34:57 +00:00
Mathias Fredriksson
7f061b9faf
fix(coderd): add stricter authorization for provisioners endpoint ( #16587 )
...
References #16558
2025-02-17 14:34:47 +02:00
dependabot[bot]
fbea757b8b
chore: bump github.com/go-playground/validator/v10 from 10.24.0 to 10.25.0 ( #16590 )
...
Bumps
[github.com/go-playground/validator/v10](https://github.com/go-playground/validator )
from 10.24.0 to 10.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/go-playground/validator/releases ">github.com/go-playground/validator/v10's
releases</a>.</em></p>
<blockquote>
<h2>Release 10.25.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix postcode_iso3166_alpha2_field validation by <a
href="https://github.com/ddevcap "><code>@ddevcap</code></a> in <a
href="https://redirect.github.com/go-playground/validator/pull/1359 ">go-playground/validator#1359</a></li>
<li>Update README to replace the Travis CI badge with a GitHub Actions
badge by <a
href="https://github.com/nodivbyzero "><code>@nodivbyzero</code></a> in
<a
href="https://redirect.github.com/go-playground/validator/pull/1362 ">go-playground/validator#1362</a></li>
<li>chore: using errors.As instead of type assertion by <a
href="https://github.com/fatelei "><code>@fatelei</code></a> in <a
href="https://redirect.github.com/go-playground/validator/pull/1346 ">go-playground/validator#1346</a></li>
<li>Fix/remove issue template md by <a
href="https://github.com/ganeshdipdumbare "><code>@ganeshdipdumbare</code></a>
in <a
href="https://redirect.github.com/go-playground/validator/pull/1375 ">go-playground/validator#1375</a></li>
<li>feat: Add support for omitting empty and zero values in validation
(including nil pointer and empty content of pointer) by <a
href="https://github.com/zeewell "><code>@zeewell</code></a> in <a
href="https://redirect.github.com/go-playground/validator/pull/1289 ">go-playground/validator#1289</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/ddevcap "><code>@ddevcap</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-playground/validator/pull/1359 ">go-playground/validator#1359</a></li>
<li><a href="https://github.com/fatelei "><code>@fatelei</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-playground/validator/pull/1346 ">go-playground/validator#1346</a></li>
<li><a href="https://github.com/zeewell "><code>@zeewell</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-playground/validator/pull/1289 ">go-playground/validator#1289</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/go-playground/validator/compare/v10.24.0...v10.25.0 ">https://github.com/go-playground/validator/compare/v10.24.0...v10.25.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/go-playground/validator/commit/02409170a8b58d92ee6f4ae5fa2889b9adef5bf0 "><code>0240917</code></a>
Update README.md</li>
<li><a
href="https://github.com/go-playground/validator/commit/f5f02dcb442ff50ac385d5963e9a7b75b01b6544 "><code>f5f02dc</code></a>
feat: Add support for omitting empty and zero values in validation
(including...</li>
<li><a
href="https://github.com/go-playground/validator/commit/c171f2df3cf4e21424033e3a856d1c8535de1a6f "><code>c171f2d</code></a>
Fix/remove issue template md (<a
href="https://redirect.github.com/go-playground/validator/issues/1375 ">#1375</a>)</li>
<li><a
href="https://github.com/go-playground/validator/commit/e564451a1e151ec5a714cbe14b0dd344e05bb39d "><code>e564451</code></a>
chore: using errors.As instead of type assertion (<a
href="https://redirect.github.com/go-playground/validator/issues/1346 ">#1346</a>)</li>
<li><a
href="https://github.com/go-playground/validator/commit/57dcfdc2e8c27e1be511d1eb6faac2f4772d0015 "><code>57dcfdc</code></a>
Update README to replace the Travis CI badge with a GitHub Actions badge
(<a
href="https://redirect.github.com/go-playground/validator/issues/1362 ">#1362</a>)</li>
<li><a
href="https://github.com/go-playground/validator/commit/b1111542c1b3658f1a90fd070f7fd2b4f27a3fcc "><code>b111154</code></a>
Fix postcode_iso3166_alpha2_field validation (<a
href="https://redirect.github.com/go-playground/validator/issues/1359 ">#1359</a>)</li>
<li>See full diff in <a
href="https://github.com/go-playground/validator/compare/v10.24.0...v10.25.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-02-17 12:23:55 +00:00
dependabot[bot]
5b7b5e9faa
chore: bump the x group with 2 updates ( #16589 )
...
Bumps the x group with 2 updates:
[golang.org/x/net](https://github.com/golang/net ) and
[golang.org/x/tools](https://github.com/golang/tools ).
Updates `golang.org/x/net` from 0.34.0 to 0.35.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/net/commit/df97a48b7bf2f79d63b98d48185389824125a2cf "><code>df97a48</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/net/commit/2dab271ff1b7396498746703d88fefcddcc5cec7 "><code>2dab271</code></a>
route: treat short sockaddr lengths as unspecified</li>
<li><a
href="https://github.com/golang/net/commit/b914489dfb743e20a8cef8c4586d9329303f7511 "><code>b914489</code></a>
internal/http3: refactor in prep for sharing transport/server code</li>
<li><a
href="https://github.com/golang/net/commit/ebd23f8b4b6645821a91bf9da4a10b3d30a98fb2 "><code>ebd23f8</code></a>
route: fix parsing network address of length zero</li>
<li><a
href="https://github.com/golang/net/commit/938a9fb94e41285a443b0882dbc46f2a4c6ed484 "><code>938a9fb</code></a>
internal/http3: add request/response body transfer</li>
<li><a
href="https://github.com/golang/net/commit/145b2d7b6deef8ae469696157bcb974d045cfc05 "><code>145b2d7</code></a>
internal/http3: add RoundTrip</li>
<li><a
href="https://github.com/golang/net/commit/5bda71aec0d0242e8b2cc529863c6484c0f1f24b "><code>5bda71a</code></a>
internal/http3: define connection and stream error types</li>
<li><a
href="https://github.com/golang/net/commit/3c1185a39b172f62f67243986cf710bd74776347 "><code>3c1185a</code></a>
internal/http3: return error on mid-frame EOF</li>
<li><a
href="https://github.com/golang/net/commit/a6c2c7f3642a8abe22535078b3b40ba3e4fcb9f0 "><code>a6c2c7f</code></a>
http2, internal/httpcommon: factor out common request header logic for
h2/h3</li>
<li><a
href="https://github.com/golang/net/commit/c72e89d6a9e44335237356faeef3b98d5c1fa770 "><code>c72e89d</code></a>
internal/http3: QPACK encoding and decoding</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/net/compare/v0.34.0...v0.35.0 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `golang.org/x/tools` from 0.29.0 to 0.30.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/tools/commit/09747cdf594a7924dcecb506312be3bd6e437962 "><code>09747cd</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/tools/commit/dc9353b60ee791ae31f3be19b8ae7ea5450e5e62 "><code>dc9353b</code></a>
gopls/internal/analysis/modernize: appendclipped: unclip</li>
<li><a
href="https://github.com/golang/tools/commit/a886a1c2ed0dee2af11f465e11bf48b11dda984c "><code>a886a1c</code></a>
internal/analysisinternal: AddImport handles dot imports</li>
<li><a
href="https://github.com/golang/tools/commit/94c3c49c41819ed247e0423acff990ab4ed12cf9 "><code>94c3c49</code></a>
go/analysis/analysistest: RunWithSuggestedFix: assume valid fixes</li>
<li><a
href="https://github.com/golang/tools/commit/5f9967d63b2b964daae36c6f0fa3e1eecdd8eb06 "><code>5f9967d</code></a>
gopls/internal/analysis/modernize: strings.Split -> SplitSeq</li>
<li><a
href="https://github.com/golang/tools/commit/a1eb5fda89ed74fd8906e27269623f679dbd0ac1 "><code>a1eb5fd</code></a>
go/analysis/passes/framepointer: support arm64</li>
<li><a
href="https://github.com/golang/tools/commit/9c087d9bfa108039bfcaa605c16fe467d8c47940 "><code>9c087d9</code></a>
internal/analysis/gofix: change "forward" back to
"inline"</li>
<li><a
href="https://github.com/golang/tools/commit/82317cea8a3807ada2a9b6a794188f227b55595f "><code>82317ce</code></a>
gopls/internal/analysis/modernize: slices.Delete: import slices</li>
<li><a
href="https://github.com/golang/tools/commit/e65ea150db54e65bce06700111515e5a4598900c "><code>e65ea15</code></a>
go/analysis/internal/checker: implement three-way merge</li>
<li><a
href="https://github.com/golang/tools/commit/a9bf6fdf9803c2872968caff08802cf427eb875c "><code>a9bf6fd</code></a>
gopls/internal/analysis/modernize: remove SortStable</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/tools/compare/v0.29.0...v0.30.0 ">compare
view</a></li>
</ul>
</details>
<br />
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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 12:23:04 +00:00
Mathias Fredriksson
5ba7ba6bfc
fix(coderd): add strict org ID joins for provisioner job metadata ( #16588 )
...
References #16558
2025-02-17 14:16:45 +02:00
Sas Swart
46e04c68e3
feat(provisioner): add support for presets to coder provisioners ( #16574 )
...
This pull request adds support for presets to coder provisioners.
If a template defines presets using a compatible version of the
provider, then this PR will allow those presets to be persisted to the
control plane database for use in workspace creation.
2025-02-17 13:00:44 +02:00
Sas Swart
a845370231
chore: upgrade terraform-provider-coder to v2 ( #16586 )
2025-02-17 10:58:35 +02:00
brettkolodny
1ce4dfe058
fix: stop text from overflowing on delete org button ( #16549 )
...
Closes #16433
I also took the opportunity to convert the components to tailwind. Since
there aren't designs for this piece of UI yet I tried to match it as
closely as possible using the existing tailwind config

2025-02-14 11:13:28 -05:00
Mathias Fredriksson
77306f3de1
feat(coderd): add filters and fix template for provisioner daemons ( #16558 )
...
This change adds provisioner daemon ID filter to the provisioner daemons
endpoint, and also implements the limiting to 50 results.
Test coverage is greatly improved and template information for jobs
associated to the daemon was also fixed.
Updates #15084
Updates #15192
Related #16532
2025-02-14 17:26:46 +02:00
Ben Potter and EdwardAngert
a69961bbd2
docs: add mention of CLI command to create token on behalf of another user ( #15138 )
...
this was completed by #14813 , but not documented
---------
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-02-14 07:53:19 -06:00
Marcin Tojek
5ce4cc07de
fix: switch engagement chart to linear ( #16576 )
...
Fixes: https://github.com/coder/internal/issues/363
2025-02-14 13:13:32 +00:00
Marcin Tojek
1c5a0425c5
fix: include origin in support link ( #16572 )
...
Fixes: https://github.com/coder/coder/issues/15542
2025-02-14 13:07:59 +00:00
M Atif Ali
014922272c
chore: add top level permission to docs-ci ( #16573 )
...
This should bump OpenSSF Score added in #14879
2025-02-14 11:44:16 +00:00
M Atif Ali
b1d53b091c
feat(site): add Keycloak icon ( #16569 )
...
https://www.keycloak.org/
2025-02-14 09:37:12 +00:00
Vincent Vielle
bc609d0056
feat: integrate agentAPI with resources monitoring logic ( #16438 )
...
As part of the new resources monitoring logic - more specifically for
OOM & OOD Notifications , we need to update the AgentAPI , and the
agents logic.
This PR aims to do it, and more specifically :
We are updating the AgentAPI & TailnetAPI to version 24 to add two new
methods in the AgentAPI :
- One method to fetch the resources monitoring configuration
- One method to push the datapoints for the resources monitoring.
Also, this PR adds a new logic on the agent side, with a routine running
and ticking - fetching the resources usage each time , but also storing
it in a FIFO like queue.
Finally, this PR fixes a problem we had with RBAC logic on the resources
monitoring model, applying the same logic than we have for similar
entities.
2025-02-14 10:28:15 +01:00
Ethan
edd982e852
fix(vpn/tunnel): fix panic when starting tunnel with headers ( #16565 )
...
`http.Header` is a map so it needs to be initialized ..
2025-02-14 03:11:51 +00:00
brettkolodny
b23e3f9132
fix: change resource icon colors in the delete modal based on the set theme ( #16550 )
2025-02-13 17:41:02 -05:00
brettkolodny
db767286b9
chore: change returned response for missing permissions to 403 from 404 ( #16562 )
2025-02-13 17:05:20 -05:00
Stephen Kirby and EdwardAngert
766c05cfc6
chore(docs): update list of events in notification docs ( #16516 )
...
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-02-13 14:42:28 -06:00
Jaayden Halko
00e76b881f
chore: migrate to tailwind ( #16543 )
...
Moving styles to Tailwind
2025-02-13 14:45:38 -05:00
Mathias Fredriksson
e38bd27183
feat(coderd): add support for provisioner job id and tag filter ( #16556 )
...
This change adds to new filters to the provisionerjobs endpoint, id
(array) and tags (map).
Updates #15084
Updates #15192
Related #16532
2025-02-13 18:24:27 +02:00
Edward Angert and EdwardAngert
ade0a53ddb
docs: add markdown fields in webhook payloads ( #16542 )
...
These changes were made in #14931 but didn't make it into the
restructured docs
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com >
2025-02-13 10:35:05 -05:00
Yevhenii Shcherbina
981cf8c333
fix: display the correct response for coder list ( #16547 )
...
Closes https://github.com/coder/coder/issues/16312
We intend to modify the behavior of the CLI handler based on the
specified output format. However, the output format is currently only
accessible within the `OutputFormatter` structure. Therefore, I propose
extending `OutputFormatter` by introducing a public `FormatID` method,
which will allow us to retrieve the format identifier and use it to
customize the behavior of the CLI handler accordingly.
2025-02-13 10:13:20 -05:00
Jullian Pepito
d52d2397ea
docs: fix link to CODER_QUIET_HOURS_DEFAULT_SCHEDULE in schedule doc ( #16545 )
...
Corrects incorrect reference to env variable
`CODER_DEFAULT_QUIET_HOURS_SCHEDULE`. Changes to
`CODER_QUIET_HOURS_DEFAULT_SCHEDULE`. Also hyperlinks to the server flag
(similar to `CODER_ALLOW_CUSTOM_QUIET_HOURS`)
2025-02-12 16:16:42 -05:00
Jaayden Halko
ea1358ce76
chore: update table component and styles ( #16541 )
...
- migrate styles to tailwind
- migrate to new Table component
2025-02-12 14:59:18 -05:00
brettkolodny
f1c26050b1
fix: add correct size to storybook icon buttons ( #16539 )
...
Jaayden and I noticed that the icon button in storybooks didn't look
correct. This PR fixes that by adding the correct size argument.
2025-02-12 14:28:15 -05:00
Andrey
f65051966c
feat: add run_as_non_root=True to Kubernetes Starter template ( #16512 )
...
This document sounds like `run_as_non_root=True` should be enabled for
workspaces.
https://coder.com/docs/install/kubernetes#kubernetes-security-reference
> All containers must run as non-root user
> - Control plane - ...
> - Workspaces - Workspace pod UID is [set in the Terraform template
here](https://github.com/coder/coder/blob/f57ce97b5aadd825ddb9a9a129bb823a3725252b/examples/templates/kubernetes/main.tf#L274-L276 ),
and are not required to run as root.
Administrators of the Kubernetes of a cluster I am working on have added
a security check on it, and prevent creating pods, without
`run_as_non_root=True`. So, I need to set it every time I create a
template.
According to the docs used with `run_as_user=1000` it should not have
negative effects and could be safely added.
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/
2025-02-12 10:58:33 -05:00
Marcin Tojek
d7614a4b02
fix: display error on deleted workspace build ( #16536 )
...
Fixes: https://github.com/coder/coder/issues/15058
2025-02-12 16:43:05 +01:00
Sas Swart
71cbf735e5
feat(coderd): add support for presets to the coder API ( #16526 )
...
This pull request builds on the existing migrations and queries to add
support for presets to the coder API.
2025-02-12 14:41:14 +02:00
Cian Johnston
ec50a35c08
chore(cli): disable agent devcontainer integration by default ( #16531 )
...
Until we have more of the building blocks in place, disable the agent
devcontainer integration by default. We'll enable it by default at a
later date.
2025-02-12 10:47:25 +00:00
Marcin Tojek
b3964087c4
fix: handle urls with multiple slashes ( #16527 )
...
Fixes: https://github.com/coder/coder/issues/9877
This PR introduces another middleware to rewrite URLs when multiple
slashes are used.
2025-02-12 09:23:28 +01:00
Ethan
5ec385b36b
feat(cli): support deleting tokens by id ( #16341 )
...
Since API keys can be created without a name, and we already perform the
deletion by ID, it makes sense to be able to delete tokens with *just*
the ID.
2025-02-12 18:18:17 +11:00
Cian Johnston
25d256e7e0
chore(site/e2e): increase timeout for waitForPort from 30s to 60s ( #16528 )
...
Relates to https://github.com/coder/internal/issues/356
This is just a temporary fix; we may need to remove the hardcoded ports
to avoid this flake entirely.
2025-02-11 18:45:12 +00:00
Bruno Quaresma
6f6b1c2b94
chore: enable forward ports to Coder UI using any host for Vite dev server ( #16530 )
...
This enables forward ports to Coder UI using custom domains.
2025-02-11 18:04:39 +00:00
Bruno Quaresma
e85da8b02b
chore: return template data for provisioner daemons ( #16514 )
...
Return template data in provisioner jobs to be displayed in the
provisioners page.
2025-02-11 14:22:34 -03:00
Cian Johnston
35901028d2
feat(agent): add CODER_AGENT_DEVCONTAINERS_ENABLE option ( #16525 )
2025-02-11 15:29:59 +00:00
Sas Swart
34b46f9205
feat(coderd/database): add support for presets ( #16509 )
...
This pull requests adds the necessary migrations and queries to support
presets within the coderd database. Future PRs will build functionality
to the provisioners and the frontend.
2025-02-11 13:55:09 +02:00