Kyle Carberry
75078fafa2
chore: try removing cache from fmt and lint ( #8001 )
2023-06-13 10:48:53 -05:00
Steven Masley
9cf3c582cb
test: add unit test that deletes abandoned workspace ( #7990 )
...
* test: add unit test that deletes abandoned workspace
This is to ensure we do not break this functionality in future.
This is important incase this edge case happens, an admin can
clean up the abandoned resources.
2023-06-13 10:42:18 -05:00
Mathias Fredriksson
c916a9e67f
fix(agent): guard against multiple rpty race for same id ( #7998 )
...
* fix(agent): guard against multiple rpty race for same id
* fix(agent): ensure pty is closed on error
2023-06-13 15:14:07 +00:00
Kyle Carberry
9440b3da66
chore: rename dbgen package files and remove small file ( #7997 )
2023-06-13 09:21:12 -05:00
Mathias Fredriksson
1d0fae83a2
fix(coderd): prevent lost messages in watchWorkspaceAgentMetadata ( #7934 )
...
* fix(codersdk): wait for subscription in WatchWorkspaceAgentMetadata
* fix(coderd): subscribe before sending initial metadata event
* test(coderd): add retries to TestWorkspaceAgent_Metadata to avoid flake
2023-06-13 12:21:06 +00:00
Mathias Fredriksson
518300a26c
fix(coderd/database): improve pubsub closure and context cancellation ( #7993 )
2023-06-13 15:19:56 +03:00
Ben Potter
aba5cb8377
fix(docs): capture and export audit logs ( #7991 )
...
* hotfix(docs): Capturing/exporting audit logs
We frequntly get questions about this!
* fmt
2023-06-12 23:06:58 -05:00
Jon Ayers
31bd2b0bdc
chore: update legacy parameters in envbox template ( #7898 )
2023-06-12 20:53:12 -05:00
Colin Adler
ac605bad3d
ci: scan images with prisma ( #7988 )
2023-06-12 23:11:45 +00:00
Kyle Carberry
28f35393e7
chore: generate and order dbfake funcs automatically ( #7986 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
* chore: add generation to dbfake
* Auto gen on make gen
* Fix preserving imports
* gen dbfake
* Add goimports
* Fix the makefile
* Make it panic instead of a comment
2023-06-12 17:40:58 -05:00
Kyle Carberry
685abfc6d7
chore: rename databasefake to dbfake ( #7979 )
...
* chore: rename `databasefake` to `dbfake`
* Remove unused method
2023-06-12 16:05:37 -05:00
Asher
4a0ac13bb7
docs: document CORS behavior between forwarded apps ( #7944 )
...
* docs: document CORS behavior
* docs: move CORS documentation under dashboard section
None of this applies to ports forwarded in other ways.
2023-06-12 20:59:47 +00:00
Kyle Carberry
6ac7d86c93
chore: prevent gen from rerunning every time ( #7985 )
2023-06-12 14:45:17 -05:00
Steven Masley
b70d2b1767
fix: correct the correct cli output for 'template version list --output=json' ( #7984 )
...
* fix: correct 'template version list --output=json' cli cmd
2023-06-12 14:35:51 -05:00
Kira Pilot
f13632cea8
feat: add impending deletion filter to workspaces page ( #7860 )
...
* add workspace deletion dialog
* add deleting_by query param
* added test
* filtering on workspaces to be deleted
* cleaned up form
* added story
* added banner filter
* PR feedback
* fix lint and stories
* PR feedback
* added enterprise test
* added unit tests in search_test.go
* remove unused fn
* unstaged changes
2023-06-12 11:55:51 -07:00
Mathias Fredriksson
4068f70d2b
fix(coderd): avoid deadlock in (*logFollower).follow ( #7983 )
2023-06-12 18:38:46 +00:00
Ammar Bandukwala
aa9dbf2eb3
ci: reduce Windows parallelism ( #7981 )
...
We have seen an uptick in Windows failures.
2023-06-12 18:24:54 +00:00
dependabot[bot]
0d71314ae1
chore: Bump aquasecurity/trivy-action from 0.10.0 to 0.11.2 ( #7967 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.10.0 to 0.11.2.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/e5f43133f6e8736992c9f3c1b3296e24b37e17f2...41f05d9ecffa2ed3f1580af306000f734b733e54 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 21:22:10 +03:00
Ammar Bandukwala
a540e629e5
ci: improve caching ( #7954 )
2023-06-12 12:09:54 -05:00
Mathias Fredriksson
4bc4e63637
fix(cli/ssh): fix lint error ( #7974 )
2023-06-12 16:17:41 +00:00
Muhammad Atif Ali
68ebf93fdb
ci: add fmt and lint to required tests ( #7975 )
2023-06-12 10:43:45 -05:00
Ammar Bandukwala
5de1084639
feat(cli/ssh): simplify log file flags ( #7863 )
...
And, fix a race condition.
2023-06-12 09:18:33 +04:00
Dean Sheather
ec7b117878
chore: add gen and test-go-race to required check ( #7952 )
2023-06-10 04:07:17 +00:00
dependabot[bot] and Rodrigo Maia
1ec463d74d
chore: bump i18next from 21.9.1 to 22.5.0 in /site ( #7812 )
...
* chore: Bump i18next from 21.9.1 to 22.5.0 in /site
Bumps [i18next](https://github.com/i18next/i18next ) from 21.9.1 to 22.5.0.
- [Release notes](https://github.com/i18next/i18next/releases )
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/i18next/compare/v21.9.1...v22.5.0 )
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix i18n types
* prettier
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Maia <rodrigo.maia.pereira@gmail.com >
2023-06-09 18:54:17 -05:00
Dean Sheather and Atif Ali
634e146032
ci: skip ts or go tests based on changed files ( #7134 )
...
* chore: skip ts or go tests based on files changed
* comments
* chore: add 'required' job
* fixup! chore: add 'required' job
* fake go modification
* merge main into dean/skip-tests-fe-be
* fix typo
* remove x_test.go
* remove duplicate setup-node action
* condition test-go-race too
* skip ete on docs changes
* allows tests to run if changes are made .github directory
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-10 02:53:16 +03:00
Ammar Bandukwala
71c908974c
ci: improve caching ( #7943 )
2023-06-09 16:46:44 -05:00
Cian Johnston and Mathias Fredriksson
2bbe650eb0
chore: scaletest: collect database metrics using prometheus-postgres-exporter ( #7945 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-06-09 21:21:08 +00:00
Muhammad Atif Ali
175561bf36
docs: update CONTRIBUTING.md ( #7937 )
2023-06-09 19:38:16 +03:00
Steven Masley
065206345e
test: add golden files to enterprise cli ( #7924 )
...
* test: Add golden files to enterprise cli
2023-06-09 11:35:20 -05:00
Dean Sheather
4f9d3155c9
ci: use macos-latest-xl runners ( #7938 )
2023-06-09 11:22:29 -05:00
Muhammad Atif Ali
16ebe10ff2
docs(admin/workspace-proxies): add instructions to run using the Docker image ( #7915 )
...
* docs(admin/workspace-proxies): add instructions to run using the Docker image.
* make fmt
v0.24.0
2023-06-09 10:53:04 -05:00
Eric Paulsen
53969415ec
docs: add multi git providers to enterprise chart ( #7941 )
...
* docs: add multi git providers to enterprise chart
* make: fmt
2023-06-09 14:52:51 +00:00
Dean Sheather
c60ea38691
chore: use gcr.io for postgres image in CI ( #7935 )
2023-06-09 13:39:55 +00:00
Mathias Fredriksson
e4744686ec
fix(codersdk): handle API older than client for startup script behavior ( #7933 )
2023-06-09 13:01:56 +00:00
Colin Adler
30a635aa5f
fix(enterprise): ensure scim usernames are validated ( #7925 )
2023-06-08 17:59:49 -05:00
Steven Masley
a4cc883be1
chore: add proxy health interval flag/env config ( #7919 )
...
* chore: plumbing for proxy health interval from flag/env
2023-06-08 12:58:24 -05:00
Steven Masley
fa8153a0fd
chore: make default workspace proxy editable ( #7903 )
...
* chore: add editing the default workspace proxy
2023-06-08 10:30:15 -05:00
Steven Masley
5e647ba07a
chore: improve workspace proxy create cli flow ( #7907 )
...
* chore: improve workspace proxy create cli flow
2023-06-08 10:02:35 -05:00
Muhammad Atif Ali
26f575e284
ci: prevent running nightly-gauntlet.yaml on PRs ( #7920 )
2023-06-08 14:57:39 +00:00
Mathias Fredriksson
976d23e3dc
docs(templates): fix docs for updated --wait flag ( #7918 )
2023-06-08 14:31:22 +00:00
Mathias Fredriksson
03034dc508
chore(cli/configssh): add comment about wait and skip proxy ( #7917 )
2023-06-08 14:23:03 +00:00
Mathias Fredriksson
fa91e11105
fix(cli/help): show deprecation notice properly for flags ( #7904 )
2023-06-08 14:14:42 +00:00
Mathias Fredriksson
a1c32954d9
feat(cli/configssh): add support for wait yes/no/auto ( #7893 )
...
Refs #7768
2023-06-08 14:06:50 +00:00
Mathias Fredriksson
94aa9be33a
feat(cli/ssh): implement wait options and deprecate no-wait ( #7894 )
...
Fixes #7768
Refs #7893
2023-06-08 16:52:44 +03:00
Steven Masley
b2324325fa
chore: add warning log if misconfigured groups oidc ( #7874 )
...
* chore: add warning log if misconfigured groups oidc
This is not perfect, but if we find a 'groups' claim and it is not
configured, put out a warning log to give some information
2023-06-08 08:51:59 -05:00
Montasser abd majid ZEHRI and Atif Ali
479467473e
docs: add RStudio community template without requiring a subdomain ( #7909 )
...
* adding a comunity template
* make fmt
* fixing typo in url
---------
Co-authored-by: Atif Ali <atif@coder.com >
2023-06-08 13:07:20 +00:00
Cian Johnston
efbb55803b
chore: add scaletest convenience script ( #7819 )
...
- Adds a convenience script `scaletest.sh` to automate process of running scale tests
- Enables pprof endpoint by default, and captures pprof traces before tearing down infra.
- Improves idempotency of coder_init.sh
- Removes the promtest.Float64 invocations in workspacetraffic runner, these metrics will be in prometheus.
- Increases default workspace traffic output to 40KB/s/workspace.
2023-06-08 09:30:02 +01:00
Ammar Bandukwala
9ec1fcf1a7
ci: move timing tests to nightly gauntlet ( #7910 )
...
Test_Runner_Timing was one of our flakiest tests before.
2023-06-08 04:03:03 +00:00
Ammar Bandukwala
fcca639d38
test(agent/agentssh): close SSH servers in all tests ( #7911 )
...
Potentially solves the flake seen here:
https://github.com/coder/coder/actions/runs/5167029213/jobs/9307647816 .
2023-06-07 23:43:38 +00:00
Ammar Bandukwala
f6db95e71c
test(coderd/database/migrations): increase fixture test timeout
2023-06-07 23:17:29 +00:00