Mathias Fredriksson
663f7a3f12
ci: Output tail of gotestsum.json if test timed out ( #5411 )
...
This is to eternalize the log in case "re-run failed" is used, which
erases artifacts from previous run.
2022-12-14 15:04:39 +02:00
Mathias Fredriksson
2a4ef38a4f
fix(site): Use correct UUID for web terminal when first opened ( #5404 )
2022-12-14 15:03:47 +02:00
Geoffrey Huntley
90b0adabc1
docs(readme): uppercase H in Self-Hosted ( #5412 )
2022-12-14 13:01:51 +00:00
Geoffrey Huntley
ec2293a4e4
docs(readme): update comparison table ( #5405 )
2022-12-14 10:35:20 +01:00
Mathias Fredriksson
1a018c571b
chore: Add PR Lint workflow ( #5387 )
...
Fixes #5381
2022-12-14 16:34:08 +10:00
Ricky Grassmuck
f7baf45ae3
feat: support partial parameter files ( #5392 )
...
Fixes https://github.com/coder/coder/issues/5390
2022-12-13 19:58:57 -06:00
Joe Previte
5a568d8a9b
refactor: conditionally use dotfiles in dogfood template ( #5332 )
...
* feat: add dotfiles_uri var to dogfood template
* refactor: use dotfiles if dotfiles var exists
This ensures the `coder dotfiles` command only runs if the dotfiles var
in the template is not empty.
* Update dogfood/main.tf
* refactor: assign variable to shell variable
* Update dogfood/main.tf
* fixup!: add default value
2022-12-13 21:15:25 +00:00
sharkymark
8df02f42c0
docs: make it clear the CLI must be downloaded to use templates ( #5373 )
2022-12-13 19:31:09 +00:00
Mathias Fredriksson
4fc4c01cea
fix: Enable reconnectingpty loadtest and fix/improve logging ( #5403 )
...
* fix: Enable reconnectingpty loadtest and fix/improve logging
This commit re-enabled reconnectingpty loadtests after a logging
refactor of `(*agent).handleReconnectingPTY`. The reasons the tests were
flaking was that `logger.Error` was being called and `slogtest` failing
the test.
We could have set the option for `slogtest` to disable failing, but that
could hide real issues. The current approach improves reconnectingpty
logging overall and provides more insight into what's happening. It's
expected that reconnectingpty sessions fail after the agent is closed,
so calling `logger.Error` at that point is not wanted.
Ref: #5322
2022-12-13 21:28:07 +02:00
Garrett Delfosse
560c8ce0f6
fix: allow example files to be reused and not error ( #5402 )
2022-12-13 16:27:37 +00:00
Marcin Tojek
50d1c7191a
fix: double quote in fake_cancel.sh ( #5399 )
2022-12-13 11:03:34 +01:00
Colin Adler
1c42a20865
chore: add debugging to agent stats report ( #5395 )
2022-12-13 01:03:03 -06:00
Geoffrey Huntley
d72d312e1f
docs(readme): update comparison table ( #5394 )
2022-12-13 00:55:23 +00:00
Kira Pilot
a071bfa8aa
fix: Store dismissedBanner key in localStorage ( #5388 )
...
* fix: Store dismissedBanner key in localStorage
* cleanup
* removed comment
* spelling
* fixed eslint
* wote test
2022-12-12 16:17:29 -05:00
Garrett Delfosse
40a5c0476f
feat: add flag for token lifetime ( #5385 )
2022-12-12 15:39:31 -05:00
Mathias Fredriksson
760419a965
chore: Refactor agent tests to avoid t.Run when not needed ( #5376 )
...
It turns out that writing tests that contain subtests should probably be
limited to table-based tests and tests that share a common setup shared
between tests.
Writing tests with a subtest like this:
```
func TestSomething(t *testing.T) {
t.Run("Subtest", func(t *testing.t) {})
}
```
Has the following disadvantages:
- It can lead to multiple tests failing with `(unknown)` status when
only one of the subtests hang (never exit)
- In Go 1.20rc1, using `t.Setenv` is no longer allowed if the parent
test is parallel
2022-12-12 22:20:46 +02:00
Geoffrey Huntley
08a6a18226
docs(comparisons): update comparison table ( #5371 )
2022-12-12 19:14:15 +00:00
Bruno Quaresma
e7fc21e285
chore: Add react-syntax-highlight back ( #5369 )
2022-12-12 15:46:33 -03:00
Kyle Carberry
2b864cee9e
fix: Remove @main tag from pkg.go.dev in docs links ( #5384 )
...
This seems to have broken, but removing the `main` tag makes
it resolve to the latest version.
See: https://github.com/coder/coder/actions/runs/3675316304/jobs/6215503383
2022-12-12 18:06:58 +00:00
Mathias Fredriksson
88bb901283
fix: Close tailnet if agent is closed during creation ( #5375 )
v0.13.2
2022-12-12 11:26:49 +00:00
Mathias Fredriksson
1907f13c5f
fix(site): Use relative date in Timeline test ( #5377 )
2022-12-12 13:15:28 +02:00
Garrett Delfosse and Dean Sheather
ca0374b94f
feat: add examples to api ( #5331 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-09 14:29:50 -05:00
Bruno Quaresma
6cc864c048
chore: Add icons to templates ( #5368 )
2022-12-09 18:47:09 +00:00
Kira Pilot
c6ae151f49
feat: amending audit string to show workspace owner ( #5364 )
...
* resolves #5269
* clean up
* fixed audit link
2022-12-09 12:19:30 -05:00
Joe Previte
66ec98f647
fix: pin code-server to 4.8.3 ( #5363 )
...
* fix: pin code-server to 4.8.3
We're having some terminal issues on macOS clients (i.e. iPad) with 4.9.0 so downgrading to 4.8.3 in the meantime.
* Update dogfood/main.tf
2022-12-09 17:07:27 +00:00
Marcin Tojek
971e36781b
chore: improve logging in provisionerd_test ( #5353 )
2022-12-09 13:11:54 +01:00
Marcin Tojek
cd04330ca6
fix: replace fireEvent with userEvent ( #5361 )
...
* fix: replace fireEvent with userEvent
* fmt
2022-12-09 13:11:36 +01:00
Marcin Tojek
935d2eb582
fix: fmt should check for unstaged files ( #5362 )
2022-12-09 12:00:39 +01:00
Mathias Fredriksson
05130db571
fix: Improve closing of services in agent tests ( #5355 )
2022-12-09 12:22:27 +02:00
Bruno Quaresma
92c5e97f85
fix: Fix CSP style directive for Monaco editor ( #5360 )
2022-12-08 16:53:50 -03:00
Bruno Quaresma
3c9dab34bf
fix: Fix CSP for monaco editor ( #5358 )
2022-12-08 18:32:41 +00:00
Bruno Quaresma
ce76d9d5a3
feat: Add diff and Dockerfile support for template version page ( #5339 )
2022-12-08 10:24:15 -05:00
Ben Potter and Dean Sheather
f68a65697d
fix: winget package releases ( #5352 )
...
* chore: fix winget package releases
* Update .github/workflows/packages.yaml
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-08 09:13:13 -06:00
dependabot[bot]
7eb3ab0498
chore: bump decode-uri-component from 0.2.0 to 0.2.2 in /site ( #5251 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 09:52:30 -05:00
Mathias Fredriksson
687261c827
fix: Close coordinator in wsconncache test ( #5348 )
...
Possibly related to #5302
2022-12-08 11:44:03 +00:00
Marcin Tojek
c063ac24a3
fix: use doWithRetries when making HTTP calls ( #5344 )
2022-12-08 10:24:50 +01:00
Eric Paulsen
59af8349c6
docs: add offical kubernetes provider runtime_class_name ( #5157 )
...
* add: offical kubernetes provider runtime_class_name
* fix: typos
* add: coder data source & vars
2022-12-07 23:30:57 -06:00
Eric Paulsen and Dean Sheather
fd54512858
helm: add certs secret mount ( #4641 )
...
* helm: add certs secret mount
* fix: values ref
* fix: conditional brackets
* rm: comment
* refactor: cert secrets list
* fix: undefined var
* chore: remove deprecated value coder.tls.secretName
* chore: improve helm volumes logic
* feat: add support for multiple CA bundles to helm
* fix: grammar
* resolve: conflict
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-07 17:27:36 -06:00
Kyle Carberry
3d95c9256d
chore: Add DatoCMS token to dogfood template ( #5254 )
...
* chore: Add DatoCMS token to dogfood template
This is used for developing coder.com!
2022-12-07 15:59:32 -06:00
dependabot[bot]
1ac1af7db8
chore: bump emoji-mart from 5.2.1 to 5.3.3 in /site ( #5226 )
...
Bumps [emoji-mart](https://github.com/missive/emoji-mart/tree/HEAD/packages/emoji-mart ) from 5.2.1 to 5.3.3.
- [Release notes](https://github.com/missive/emoji-mart/releases )
- [Commits](https://github.com/missive/emoji-mart/commits/v5.3.3/packages/emoji-mart )
---
updated-dependencies:
- dependency-name: emoji-mart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 02:55:38 +10:00
Marcin Tojek
534bff2ff5
fix: coderd/prometheusmetrics wait for all metrics in require.Eventually ( #5338 )
2022-12-07 17:50:17 +01:00
Presley Pizzo
8ea09235f9
fix: UX issues in template settings form's default auto-stop field ( #5330 )
...
* Fix helper text
- handles 0 ttl
- uses helper text typography
- pluralizes
- still doesn't override error (once considered touched)
* Show user friendly field name in error text
* Format
* Override label through Yup instead
* Switch to i18n - wip
* Fix i18n by thunking schema
* Fix template settings tests
* Replace third arg to getFieldHelpers -is used after all
2022-12-07 11:32:39 -05:00
Ammar Bandukwala
ee605b34b6
fix: Don't show progress bar for new templates ( #5298 )
2022-12-07 16:22:20 +00:00
Mathias Fredriksson
f7467cac50
fix: Improve ptytest closure on expect match timeout ( #5337 )
...
To ensure ptytest closure always happens the same way, we now define a
new `Close` function on `PTY` and always call the close function instead
of manually closing read/writers.
A few additional log messages have been added as well, to better
understand the shutdown process in case of errors.
2022-12-07 15:20:06 +00:00
Marcin Tojek
a973c35a02
chore: collect gotestsum TestEvents as workflow artifacts ( #5336 )
2022-12-07 15:04:39 +01:00
Marcin Tojek
3cea5f96f0
fix: wait for creating template versions ( #5335 )
2022-12-07 14:19:18 +01:00
Marcin Tojek
2f3ff6ced8
fix: improve pty and ptytest ( #5327 )
...
* Fix: improve ptytest
* Disable skip
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Fix
* WIP
* Fix
* fix: pty close on Windows
* Revert changes around workflow
* fix
2022-12-07 14:18:09 +01:00
Dean Sheather
161465db55
fix: do not canonicalize Sec-WebSocket-* headers in apps ( #5334 )
...
* fix: do not canonicalize Sec-WebSocket-* headers in apps
* chore: test for non-canonical header name subst
2022-12-07 22:55:02 +10:00
Kira Pilot
85945af55e
fixed bug; wrote tests ( #5329 )
2022-12-06 16:58:32 -05:00
Ammar Bandukwala
1cfe5de1c5
Add Service Banners ( #5272 )
2022-12-06 18:38:38 +00:00