Mathias Fredriksson
2c67a2f30b
fix: Close bug in pty ( #3166 )
2022-07-25 16:31:30 +03:00
Mathias Fredriksson
592340c6ce
fix: Data race in cliui.Styles without clone ( #3164 )
2022-07-25 16:30:52 +03:00
Ammar Bandukwala
54547a4e9a
ci: fix postgres skipper ( #3157 )
2022-07-24 19:58:20 +00:00
Ammar Bandukwala
60de8d0279
ci: add skip directives for long tests ( #3151 )
...
This PR introduces many CI optimizations:
1. The `[ci-skip]` PR body directive to skip the Postgres and end to end tests
2. Improved caching that cuts the Go test matrix in half
3. Increasing Go test parallelism for ~20% gains
4. Enable caching in webpack (4x frontend build)
2022-07-24 14:33:58 -05:00
Ammar Bandukwala
5578facf8f
Fix stalebot ( #3156 )
2022-07-24 19:32:41 +00:00
Ammar Bandukwala
ecb6301cab
docs: make small style improvements ( #3065 )
2022-07-23 16:37:54 -05:00
Ammar Bandukwala
e4251af8f3
ci: configure stale bot some more ( #3148 )
2022-07-23 16:37:19 -05:00
Ammar Bandukwala
3eb6f28d81
ci: fix master build
2022-07-23 21:36:15 +00:00
Ammar Bandukwala
d10513f43a
ci: optimize jobs with path filtering ( #3074 )
2022-07-23 21:33:25 +00:00
mark-theshark
1ddff0abcd
chore: docs to create admin user and workspace creation from UI screenshot ( #3149 )
2022-07-23 20:44:28 +00:00
Ammar Bandukwala
f28d14197a
Rename default agent to "main" instead of "dev" ( #3150 )
...
Resolves #3143
2022-07-23 20:26:56 +00:00
Ammar Bandukwala
257e52e014
ci: aggressively close stale PRs ( #3146 )
2022-07-23 14:57:35 -05:00
Spike Curtis
5e32468a73
Add JetBrains Gateway doc ( #3104 )
...
* Add JetBrains Gateway doc
Signed-off-by: Spike Curtis <spike@coder.com >
* Added GitHub issue to track Gateway failure
Signed-off-by: Spike Curtis <spike@coder.com >
2022-07-22 15:32:16 -07:00
Kyle Carberry
c6016d247d
docs: Update hero image to the dashboard ( #3132 )
2022-07-22 21:00:21 +00:00
Bruno Quaresma
ca93614c3f
refactor: Make workspace status more visible ( #3130 )
2022-07-22 19:18:52 +00:00
Abhineet Jain
1b19a09a37
feat: New static error summary component ( #3107 )
2022-07-22 19:10:40 +00:00
Kyle Carberry
fd4954b4e5
fix: Use membership endpoint to ensure user exists in team ( #3129 )
...
This was using the incorrect GitHub endpoint prior, which fetched a team
by slug. Any user in a GitHub organization can view all teams, so this
didn't block signups like intended.
I've verified this API returns an error when the calling user is not a
member of the team requested.
Fixes #3105 .
v0.8.1
2022-07-22 13:54:08 -05:00
Kira Pilot
471564df7d
feat: improve update button visibility ( #3115 )
...
* feat: give update button primary focus when applicable
resolves #3024
* added update tooltip
* cleanup
* prettier
* PR feedback
2022-07-22 14:28:52 -04:00
Joe Previte
2dd98c7ec8
docs: add dogfooding guide ( #3099 )
2022-07-22 18:22:11 +00:00
Mathias Fredriksson and Cian Johnston
51dd1fde3b
fix: Remove use of require in require.Eventually in tests ( #3110 )
...
* fix: Remove use of `require` in `require.Eventually` in tests
Because require uses `t.FailNow()` and `require.Eventually` runs the
function in a goroutine, which is not allowed.
* feat: Add ruleguard for require.Eventually
Co-authored-by: Cian Johnston <cian@coder.com >
2022-07-22 20:02:49 +03:00
Bruno Quaresma
3bb760576b
fix: Add resource icons into template page ( #3124 )
2022-07-22 11:46:51 -05:00
Spike Curtis
fa4361db76
restore devtunnel test ( #3050 )
...
* Dev tunnel test uses local fake server; fixed port
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove parallel for test
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix segfault
2022-07-22 08:26:39 -07:00
Kira Pilot
882ee55fd0
fix: storybook should use absolute paths ( #3119 )
2022-07-22 11:02:54 -04:00
Ben Potter
f43eb0e77c
fix: minor fixes to templates docs ( #3117 )
2022-07-22 09:59:19 -05:00
Cian Johnston
1140e29a17
chore: autobuild/executor: refactor big switch statement for legibility ( #3116 )
2022-07-22 15:45:12 +01:00
Mathias Fredriksson
ef7d357e19
fix: Move timeout ctx closer to use in tests, increase timeout ( #3109 )
...
Some contexts were moved closer to use so that test setup doesn't affect
timeout. And timeout was increased for some others to avoid flakyness
due to slow test runners.
2022-07-22 17:42:09 +03:00
Bruno Quaresma
e874d538fb
feat: Add resource icons ( #3118 )
2022-07-22 11:38:38 -03:00
Mathias Fredriksson
7d07e670ca
chore: Improve test cleanup ( #3112 )
2022-07-22 15:14:45 +03:00
Mathias Fredriksson
75ff579051
fix: Decrease postgres test timeout (make test-postgres) ( #3108 )
...
This commit lowers the postgres test timeout from 30m to 20m, currently
our postgres tests seem to take 8-10m, a 2x factor should suffice.
Comments were updated in both places to reflect the reasoning and
necessity of keeping these values in sync.
They used to take longer but the `count` was lowered in
3d40cb85b7 .
The actual timeout value of `make test-postgres` got overlooked in
https://github.com/coder/coder/pull/3079 .
2022-07-22 12:47:03 +03:00
Kira Pilot and Cian Johnston
0aa8c2efeb
fix: set a failed canceled job status correctly ( #3101 )
...
* set a failed canceled job status correctly
resolves #1374
* added unit test for convertProvisionerJob
* Update coderd/provisionerjobs_internal_test.go
Co-authored-by: Cian Johnston <cian@coder.com >
* PR feedback
Co-authored-by: Cian Johnston <cian@coder.com >
2022-07-21 16:47:06 -04:00
mark-theshark
77f4ab16a4
feat: update IDE docs with advanced examples with pods and custom images ( #3002 )
2022-07-21 20:03:03 +00:00
David Wahler
7f54628848
config-ssh: always support agent name in host alias ( #3036 )
2022-07-21 14:49:32 -05:00
dependabot[bot]
c9d7cbca48
chore: bump github.com/nhatthm/otelsql from 0.3.4 to 0.4.0 ( #3069 )
...
Bumps [github.com/nhatthm/otelsql](https://github.com/nhatthm/otelsql ) from 0.3.4 to 0.4.0.
- [Release notes](https://github.com/nhatthm/otelsql/releases )
- [Commits](https://github.com/nhatthm/otelsql/compare/v0.3.4...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/nhatthm/otelsql
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>
2022-07-21 14:39:15 -05:00
dependabot[bot]
06e0a5b1e4
chore: bump google.golang.org/api from 0.86.0 to 0.88.0 ( #3070 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.86.0 to 0.88.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.86.0...v0.88.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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>
2022-07-21 14:38:56 -05:00
Cian Johnston
59b04c154e
fix: coderdtest: increase ForceCancelInterval ( #3085 )
...
Two coderd unit tests (TestPatchCancelTemplateVersion/Success and TestPatchCancelWorkspaceBuild) implied erroneously that the job was canceled successfully.
This is not the case, as these unit tests do not include a Provision_Complete response in the input to the
echo provisioner. Now explicitly checking the job error and bumping the force cancel interval to be longer.
Fixes #3083 .
2022-07-21 19:29:45 +00:00
Jon Ayers
e01905821f
fix: avoid emitting version warning when connection error encountered ( #3082 )
2022-07-21 14:28:24 -05:00
Bruno Quaresma
5b78251592
refactor: Initial color palette changes ( #3087 )
v0.8.0
2022-07-21 17:56:16 +00:00
Mathias Fredriksson and Steven Masley
e33a74975e
fix: Deadlock and race in peer, test improvements ( #3086 )
...
* fix: Potential deadlock in peer.Channel dc.OnOpen
* fix: Potential send on closed channel
* fix: Improve robustness of waitOpened during close
* chore: Simplify statements
* fix: Improve teardown and timeout of peer tests
* fix: Improve robustness of TestConn/Buffering test
* Update peer/channel.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2022-07-21 18:47:17 +03:00
Jon Ayers
62e685669f
feat: add verbose error messaging ( #3053 )
2022-07-20 15:17:51 -05:00
Mathias Fredriksson
4a7d067c6c
fix: Increase CI timeout for postgres test ( #3079 )
...
The Go test timeout uses 20m, if we want to get a stack trace, we must
allow the actions worker to run longer than that.
2022-07-20 19:09:26 +00:00
Mathias Fredriksson
96edc8af9a
fix: Add continue-on-error to codecov action step ( #3081 )
...
Avoid relying on codecov to manage action step failure, hopefully works
around:
https://github.com/codecov/codecov-action/issues/788
2022-07-20 19:04:40 +00:00
Mathias Fredriksson
3e5affd28a
fix: Increase test timeout for TestCreate/CreateFromListWithSkip ( #3077 )
...
Considering database load and CI performance during testing, we should
avoid failing too early.
2022-07-20 17:51:33 +00:00
Ammar Bandukwala
b0c26745fb
ci: fix stale issue workflow ( #3073 )
2022-07-20 17:24:30 +00:00
Bruno Quaresma
916c388d8d
fix: Statuses breaking line in the UI ( #3071 )
...
* fix: Fix statuses breaking line in the UI
* fix: AppLink stories
2022-07-20 17:11:20 +00:00
dependabot[bot]
82f159b8c3
chore: bump terser from 4.8.0 to 4.8.1 in /site ( #3068 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 12:58:43 -04:00
Ammar Bandukwala
cf9bc71c03
ci: skip long jobs when only docs change ( #3072 )
2022-07-20 16:47:41 +00:00
Mathias Fredriksson
4fde5366be
fix: Improve TestSSH reliability on macOS ( #3067 )
...
Related issue: https://github.com/coder/coder/issues/2122
2022-07-20 19:24:15 +03:00
dependabot[bot]
6199e6a060
chore: bump github.com/spf13/afero from 1.9.0 to 1.9.2 ( #3046 )
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.9.0 to 1.9.2.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.9.0...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 11:20:48 -05:00
Kira Pilot
0c18a2313f
clarify start validation in schedule ( #3052 )
...
resolves #2792
2022-07-20 11:54:57 -04:00
Mathias Fredriksson
034416f141
chore: Speed up port-forward tests ( #3062 )
...
* chore: Speed up port-forward tests
* chore: Add t.Helper and ensure listener closure on error
2022-07-20 18:11:25 +03:00