Muhammad Atif Ali
f0b4badf74
ci: add arm64 and amd64 portable binaries to winget ( #11030 )
...
* ci: add arm64 and amd64 portable binaries to winget
This PR updates `release.yaml` workflow to automate updates for `arm64` and `x64` zip installers to winget. This has recently been merged into [winget](https://github.com/microsoft/winget-pkgs/pull/129175 ).
Thanks to @mdanish-kh for the upstream PR.
* fixup!
* remove extra `--urls` flags
* remove architecture override.
`wingetcreate` does not need architecture override as it now supports parsing the URL for `amd64` and correctly marking it as x64 architecture.
Reference:
1. https://github.com/microsoft/winget-create/blob/08baf0e61e62dabcb2487397984fc69fad6a7499/src/WingetCreateCore/Common/PackageParser.cs#L594C56-L594C61
2. PR: https://github.com/microsoft/winget-create/pull/445
2. This has been available since version https://github.com/microsoft/winget-create/releases/tag/v1.5.3.0
* fixup!
* Update release.yaml
2023-12-05 17:06:39 +03:00
Cian Johnston
5fad611020
feat(coderd): add last_seen_at and version to provisioner_daemons table ( #11033 )
...
Related to #10676
- Adds columns last_seen_at and version to provisioner_daemons table
- Adds the above to codersdk.ProvisionerDaemons struct
2023-12-05 13:54:38 +00:00
Michael Smith
dd1f8331de
fix: disable prefetches for audits table ( #11040 )
2023-12-05 08:49:11 -05:00
Cian Johnston
1b2ed5bc9b
ci: add missing go tools to offlinedocs build step ( #11034 )
2023-12-05 12:03:29 +00:00
Mathias Fredriksson
e300b036be
feat(scaletest): add greedy agent test to runner ( #10559 )
2023-12-05 12:37:10 +02:00
Spike Curtis
dca8125263
fix: update tailscale to include fix to prevent race ( #11032 )
...
fixes #10876
2023-12-05 14:30:19 +04:00
Dean Sheather
695f57f7ff
fix: use header flags in wsproxy server ( #10985 )
2023-12-05 14:13:42 +04:00
Dean Sheather
b07b40b346
chore: revert nix dogfood image ( #11022 )
...
The nix image isn't used because it doesn't work, and we haven't been
updating our "pre-nix" tag since the changes were made. Reverts back to
being a regular Dockerfile.
2023-12-05 09:02:57 +00:00
Cian Johnston
d70f9ea26c
chore(docs): apply async suggestions from #10915 ( #10976 )
2023-12-05 09:01:03 +00:00
Bruno Quaresma
dff53d0787
fix(site): fix filter font size ( #11028 )
2023-12-04 18:17:43 -03:00
Kayla Washburn
185400db11
refactor: remove usage of <Box> and sx ( #10702 )
2023-12-04 12:09:04 -07:00
Garrett Delfosse and Dean Sheather
1e6ea6133c
fix: pass in time parameter to prevent flakes ( #11023 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-12-04 12:20:22 -05:00
Marcin Tojek
a42b6c185d
fix(site): e2e: use click instead of check ( #11024 )
2023-12-04 18:02:46 +01:00
dependabot[bot]
b8e9262c51
chore: bump the scripts-docker group in /scripts with 1 update ( #11020 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 10:38:58 -06:00
Garrett Delfosse
ccd5e1a749
fix: use database for user creation to prevent flake ( #10992 )
2023-12-04 11:05:17 -05:00
Steven Masley
2f54f769be
feat: allow IDP to return single string for roles/groups claim ( #10993 )
...
* feat: allow IDP to return single string instead of array for roles/groups claim
This is to support ADFS
2023-12-04 10:01:45 -06:00
dependabot[bot] and Parkreiner
3883d7181d
chore: bump the offlinedocs group in /offlinedocs with 6 updates ( #11014 )
...
* chore: bump the offlinedocs group in /offlinedocs with 6 updates
Bumps the offlinedocs group in /offlinedocs with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [fs-extra](https://github.com/jprichardson/node-fs-extra ) | `11.1.1` | `11.2.0` |
| [react-markdown](https://github.com/remarkjs/react-markdown ) | `8.0.3` | `9.0.1` |
| [rehype-raw](https://github.com/rehypejs/rehype-raw ) | `6.1.1` | `7.0.0` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `18.18.1` | `18.19.2` |
| [eslint](https://github.com/eslint/eslint ) | `8.53.0` | `8.55.0` |
| [typescript](https://github.com/Microsoft/TypeScript ) | `5.1.6` | `5.3.2` |
Updates `fs-extra` from 11.1.1 to 11.2.0
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/11.1.1...11.2.0 )
Updates `react-markdown` from 8.0.3 to 9.0.1
- [Release notes](https://github.com/remarkjs/react-markdown/releases )
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md )
- [Commits](https://github.com/remarkjs/react-markdown/compare/8.0.3...9.0.1 )
Updates `rehype-raw` from 6.1.1 to 7.0.0
- [Release notes](https://github.com/rehypejs/rehype-raw/releases )
- [Commits](https://github.com/rehypejs/rehype-raw/compare/6.1.1...7.0.0 )
Updates `@types/node` from 18.18.1 to 18.19.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `eslint` from 8.53.0 to 8.55.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.55.0 )
Updates `typescript` from 5.1.6 to 5.3.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.3.2 )
---
updated-dependencies:
- dependency-name: fs-extra
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: react-markdown
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: offlinedocs
- dependency-name: rehype-raw
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: offlinedocs
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: offlinedocs
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: install react-gfm v4 and update type signatures
* fix: update link-nesting for a11y/hydration issue
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Parkreiner <michaelsmith@coder.com >
2023-12-04 10:11:01 -05:00
dependabot[bot]
2443a9f861
ci: bump the github-actions group with 2 updates ( #11018 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 16:57:44 +03:00
sharkymark
676e215a91
chore: path app IDEs ( #11007 )
2023-12-04 11:22:22 +00:00
Mathias Fredriksson
70cede8f7a
test(agent): improve TestAgent_Dial tests ( #11013 )
...
Refs #11008
2023-12-04 13:11:30 +02:00
Muhammad Atif Ali and Dean Sheather
b212bd4ac5
chore: deploy workspace proxies on fly.io ( #10983 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-12-04 12:12:22 +03:00
Spike Curtis
dbadae5a9c
Revert "chore(helm): gitignore and rm helm chart tarballs from vcs ( #10951 )" ( #11009 )
...
This reverts commit 7f62085a02 .
2023-12-04 06:59:06 +00:00
Spike Curtis
0536b58b48
fix: parse username/workspace correctly on coder state push --build ( #10974 )
...
Fixes the same issue as #10884 but for state push
2023-12-04 09:58:35 +04:00
baf3bf6b9c
feat: add workspace_id, owner_name to agent manifest ( #10199 )
...
Co-authored-by: Kyle Carberry <kyle@carberry.com >
Co-authored-by: Atif Ali <atif@coder.com >
2023-12-04 00:41:54 +03:00
Michael Smith
28eca2e53f
fix: create centralized PaginationContainer component ( #10967 )
...
* chore: add Pagination component, add new test, and update other pagination tests
* fix: add back temp spacing for WorkspacesPageView
* chore: update AuditPage to use Pagination
* chore: update UsersPage to use Pagination
* refactor: move parts of Pagination into WorkspacesPageView
* fix: handle empty states for pagination labels better
* docs: rewrite comment for clarity
* refactor: rename components/properties for clarity
* fix: rename component files for clarity
* chore: add story for PaginationContainer
* chore: rename story for clarity
* fix: handle undefined case better
* fix: update imports for PaginationContainer mocks
* fix: update story values for clarity
* fix: update scroll logic to go to the bottom instead of the top
* fix: update mock setup for test
* fix: update stories
* fix: remove scrolling functionality
* fix: remove deprecated property
* refactor: rename prop
* fix: remove debounce flake
2023-12-02 17:37:59 -05:00
Dean Sheather
d9a169556a
chore: run deploy job on regular runner
2023-12-02 10:08:33 -08:00
Colin Adler
6b3c4c00a2
fix: UpdateWorkspaceDormantDeletingAt interval out of range ( #11000 )
2023-12-02 11:47:08 -06:00
Colin Adler
49ed66c7ad
chore: remove ALTER TYPE .. ADD VALUE from migration 65 ( #10998 )
...
Follow up of Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:40:23 -06:00
Colin Adler
cbcf7561e5
chore: remove ALTER TYPE .. ADD VALUE from migration 46 ( #10997 )
...
Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:38:12 -06:00
Colin Adler
427572199e
chore: remove ALTER TYPE .. ADD VALUE from migration 18 ( #10996 )
...
Follow up of https://github.com/coder/coder/pull/10966
2023-12-02 11:35:25 -06:00
Dean Sheather
c82e878b50
chore: disable legacy dogfood deploy ( #10999 )
2023-12-03 02:20:19 +10:00
Colin Adler
8e684c8195
feat: run all migrations in a transaction ( #10966 )
...
Updates coder/customers#365
This PR updates our migration framework to run all migrations in a single transaction. This is the same behavior we had in v1 and ensures that failed migrations don't bring the whole deployment down. If a migration fails now, it will automatically be rolled back to the previous version, allowing the deployment to continue functioning.
2023-12-01 16:11:10 -06:00
Garrett Delfosse
60d0aa6930
fix: handle 404 on unknown top level routes ( #10964 )
2023-12-01 12:35:44 -05:00
Bruno Quaresma
2aa79369a2
refactor(site): improve health check page sidebar ( #10960 )
2023-12-01 12:43:51 -03:00
Cian Johnston
432925df31
ci: make offlinedocs required ( #10980 )
2023-12-01 14:37:47 +00:00
Mathias Fredriksson
6fe84025aa
chore(Makefile): exclude .terraform directories ( #10988 )
2023-12-01 15:13:51 +02:00
Marcin Tojek
13b89f79df
feat: purge old provisioner daemons ( #10949 )
2023-12-01 12:43:05 +00:00
Dean Sheather
153abd5003
chore: fix build job pt.3 ( #10986 )
2023-12-01 12:25:06 +00:00
Dean Sheather
122cbaa134
chore: fix build job ( #10984 )
2023-12-01 12:08:10 +00:00
Dean Sheather
15875a76ae
chore: add new deploy job for new dogfood ( #10852 )
2023-12-01 03:16:49 -08:00
Cian Johnston
9ad96288b2
fix(helm/provisioner): run helm dependency update ( #10982 )
2023-12-01 10:30:00 +00:00
Cian Johnston
7f62085a02
chore(helm): gitignore and rm helm chart tarballs from vcs ( #10951 )
2023-12-01 09:52:54 +00:00
Cian Johnston
d49bcc93fe
fix(docs): remove anchor links from headings in admin/healthcheck.md ( #10975 )
...
Relates to #8965
* Fixes offlinedocs that broke from change in feat(coderd/healthcheck): add access URL error codes and healthcheck doc #10915 by removing the offending anchor links from the page subheadings.
* Makes offlinedocs also conditional on changes to docs
2023-12-01 09:49:18 +00:00
Spike Curtis
b267497c6d
fix: parse username/workspace correctly on coder state pull --build ( #10973 )
...
fixes #10884
2023-12-01 13:03:49 +04:00
Spike Curtis
46d95cb0f0
fix: wait for dial goroutine to complete ( #10959 )
...
Fixes flake seen here: https://github.com/coder/coder/runs/19170327767
The goroutine that attempts to dial the socket didn't complete before the test did. Here we add an explicit wait for it to complete in each run of the loop.
2023-12-01 11:37:32 +04:00
Spike Curtis
812fb95273
fix: prevent connIO from panicking in race between Close and Enqueue ( #10948 )
...
Spotted during a code read. ConnIO unlocks the mutex before attempting to write to the response channel, which could allow another goroutine to call Close() and close the channel, causing a panic.
Fix is to hold the mutex. This won't cause a deadlock because the `select{}` has a `default` case, so we won't block even if the receiver isn't keeping up.
2023-12-01 10:23:29 +04:00
Spike Curtis
612e67a53b
feat: add cleanup of lost tailnet peers and tunnels to PGCoordinator ( #10939 )
...
Adds the "lost" peer cleanup queries to PGCoordinator, including tests.
2023-12-01 10:13:29 +04:00
dependabot[bot]
d9ccd97d36
chore: bump @adobe/css-tools from 4.3.1 to 4.3.2 in /site ( #10970 )
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-01 09:09:33 +03:00
Spike Curtis
571d358e4b
feat: add queries to clean lost connections in PGCoordinator ( #10938 )
...
Adds cleanup queries to clean out "lost" peer and tunnel state after 24 hours. We leave this state in the database so that anything trying to connect to the peer can see that it was lost, but clean it up after 24 hours to ensure our table doesn't grow without bounds.
2023-12-01 10:02:30 +04:00
Spike Curtis
0cab6e7763
feat: support graceful disconnect in PGCoordinator ( #10937 )
...
Adds support for graceful disconnect to PGCoordinator. When peers gracefully disconnect, they send a disconnect message. This triggers the peer to be disconnected from all tunneled peers.
The Multi-Agent Client supports graceful disconnect, since it is in memory and we know that when it is closed, we really mean to disconnect.
The v1 agent and client Websocket connections do not support graceful disconnect, since the v1 protocol doesn't have this feature. That means that if a v1 peer connects to a v2 peer, when the v1 peer's coordinator connection is closed, the v2 peer will
see it as "lost" since we don't know whether the v1 peer meant to disconnect, or it just lost connectivity to the coordinator.
2023-12-01 09:55:25 +04:00