ケイラ
fae30a00fd
chore: remove unnecessary redeclarations in for loops ( #18440 )
2025-06-20 13:16:55 -06:00
Steven Masley
b9177eff7f
chore: update guts to latest, using mutations to prevent diffs ( #17588 )
...
Guts changes: https://github.com/coder/guts/compare/v1.1.0...main
2025-04-28 12:19:41 -05:00
Steven Masley
39b9d23d96
chore: remove nullable list elements in ts typegen ( #17369 )
...
Backend will not send partially null slices.
2025-04-11 15:49:18 -05:00
Steven Masley
15584e69ef
chore: fixup typegen for preview types ( #17339 )
...
Preview types override the json marshal behavior.
2025-04-11 13:21:46 -05:00
ケイラ
859dd2fc3f
feat: add dynamic parameters websocket endpoint ( #17165 )
2025-04-10 14:08:50 -06:00
Jon Ayers
17ddee05e5
chore: update golang to 1.24.1 ( #17035 )
...
- Update go.mod to use Go 1.24.1
- Update GitHub Actions setup-go action to use Go 1.24.1
- Fix linting issues with golangci-lint by:
- Updating to golangci-lint v1.57.1 (more compatible with Go 1.24.1)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
---------
Co-authored-by: Claude <claude@anthropic.com >
2025-03-26 01:56:39 -05:00
Steven Masley
13bb4492c9
chore: remove apitypings specific go.mod ( #15899 )
...
Keeping the deps in sync between this and the primary go.mod is
a headache.
adds Tailscale generated types
2024-12-18 07:18:31 -06:00
dependabot[bot]
50bb13ca7d
chore: bump golang.org/x/crypto from 0.30.0 to 0.31.0 in /scripts/apitypings ( #15840 )
2024-12-16 16:03:52 +09:00
Steven Masley
077e594856
chore: switch to guts for typescript types generation ( #15801 )
...
switch to guts for typescript type generation
omitempty vs null must now be explicit
2024-12-11 14:39:21 -06:00
Joobi S B
4cb807670d
chore: generate countries.tsx from Go code ( #15274 )
...
Closes https://github.com/coder/coder/issues/15074
We have a hard-coded list of countries at
https://github.com/coder/coder/blob/main/site/src/pages/SetupPage/countries.tsx .
This means Go code in coder/coder doesn't have an easy way of utilizing
it.
## Solution
Generate countries.tsx from Go code. Generated by `scripts/apitypings`
2024-11-15 12:05:21 -06:00
Kayla Washburn-Love
1c3dc8392e
chore: remove dangling eslint-ignore comments ( #14334 )
2024-08-19 16:08:53 -06:00
Kayla Washburn-Love
95a7c0c4f0
chore: use tabs for prettier and biome ( #14283 )
2024-08-15 14:53:53 -06:00
Colin Adler
43ef00401c
chore: linting fixes ( #13450 )
2024-06-03 14:33:37 -05:00
Cian Johnston
407e61ecd4
feat(cli): support bundle: dump healthcheck summary ( #12963 )
...
* refactor(codersdk): extract common fields from HealthReport and friends
* feat(codersdk/healthsdk): add Summarize() method
* feat(cli): support bundle: dump healthcheck summary
2024-04-16 13:31:56 +01:00
Steven Masley
d9da054c9d
chore: update generated array type definitions in TypeScript to be readonly ( #12947 )
...
* chore: types generated handling readonly slices
* add -update flag to update goldens
* revert excess gens
* fix: update most UI types to account for readonly modifiers
* fix: remove accidental mutation from NavBarView
* fix: remove mutation warning for BatchUpdateConfirmation stories
* fix: remove mutation warning for BactchUpdateConfirmation
* fix: format ActiveUserChart
* fix: update import to make linter happy
* fix: update fmt issue
* fix: disable file write lint rule from unit test
---------
Co-authored-by: Parkreiner <throwawayclover@gmail.com >
2024-04-15 09:46:10 -04:00
Colin Adler
4d5a7b2d56
chore(codersdk): move all tailscale imports out of codersdk ( #12735 )
...
Currently, importing `codersdk` just to interact with the API requires
importing tailscale, which causes builds to fail unless manually using
our fork.
2024-03-26 12:44:31 -05:00
Ammar Bandukwala
496232446d
chore(cli): replace clibase with external coder/serpent ( #12252 )
2024-03-15 11:24:38 -05:00
Cian Johnston
2cb9bfd517
refactor(coderd): move healthcheck report structs to codersdk ( #12279 )
...
Moves healthcheck report-related structs from coderd/healthcheck to codersdk
This prevents an import cycle when adding a codersdk.Client method to hit /api/v2/debug/health.
2024-02-23 13:13:28 +00:00
Cian Johnston
04fd96a014
feat(coderd): add provisioner_daemons to /debug/health endpoint ( #11393 )
...
Adds a healthcheck for provisioner daemons to /debug/health endpoint.
2024-01-08 09:29:04 +00:00
Cian Johnston
feaa9894a4
fix(site/src/api/typesGenerated): generate HealthSection enums ( #11049 )
...
Relates to #8971
- Introduces a codersdk.HealthSection enum type
- Refactors existing references using strings to use new HealthSection type
2023-12-05 20:00:27 +00:00
Cian Johnston
2e4e0b2d2c
fix(scripts/apitypings): force health.Message and health.Severity to correct types ( #11043 )
...
* Force typegen types for some fields of derp health report
* Explicitly allocate slices for RegionReport.{Errors,Warnings} to avoid nulls in API response
2023-12-05 16:31:48 +00:00
Cian Johnston
411ce46442
feat(coderd/healthcheck): add health check for proxy ( #10846 )
...
Adds a health check for workspace proxies:
- Healthy iff all proxies are healthy and the same version,
- Warning if some proxies are unhealthy,
- Error if all proxies are unhealthy, or do not all have the same version.
2023-11-24 15:06:51 +00:00
Marcin Tojek
78df68348a
feat: include health severity in reports ( #10817 )
2023-11-23 16:08:41 +01:00
Marcin Tojek
fbd34139b5
refactor(site): use generated Healthcheck API entities ( #10650 )
2023-11-13 15:58:57 +01:00
Steven Masley
beac36027f
chore: generate any interface as Deployment Option in TypeScript ( #9917 )
...
* chore: handle interfaces as "any" in typescript
Use generated Deployment Option
2023-09-28 16:14:28 -05:00
Ammar Bandukwala
b63dfe7b75
perf(cli): optimize CPU consumption of help pages ( #9607 )
...
This change reduces the CPU consumption of --help by ~50%.
Also, this change removes ANSI escape codes from our golden files. I
don't think those were worth the inability to parallelize golden file tests and
global state fragility.
2023-09-14 19:48:29 -05:00
Steven Masley
18c34ee456
chore: support external types in typescript codegen ( #9633 )
...
* chore: support external types in typescript codegen
* fix enums on external packages
* Support clibase.struct
* Add regexp
* Make gen with updated generator
2023-09-12 18:21:09 -05:00
Mathias Fredriksson
39e3b049a5
refactor(coderd/healthcheck): move derp report to derphealth package ( #9506 )
...
This change helps remove one indirect use of coderd/database in the slim
CLI.
No size change (yet).
Ref: #9380
2023-09-04 21:41:50 +03:00
Ammar Bandukwala
6ba92ef924
ci: enable gocognit ( #9359 )
...
And, bring the server under 300:
* Removed the undocumented "disable" STUN address in favor of the
--disable-direct flag.
2023-08-27 14:46:44 -05:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Colin Adler
8ee500c59d
fix: generate typescript types for healthcheck pkg ( #8846 )
2023-08-03 16:20:46 -05:00
Ammar Bandukwala
0115adf9d7
chore(.golangci.yaml): make gocyclo slightly more sensitive ( #8383 )
2023-07-08 22:43:34 +00:00
Steven Masley
f0bd258ff1
feat: move proxy settings page to deployment options ( #8246 )
...
* feat: Move workspace proxy page to deployment options
Workspace proxy settings page is now an admin feature
* WorkspaceProxy response extends region
2023-06-30 11:32:35 -04:00
Steven Masley
e55d921537
chore: Typescript generator TODOs resolved, adding explainations ( #6633 )
...
* chore: Explain usage of eslint comments
* Conform comment
* Fix wording
* Linting
2023-03-17 09:28:16 -05:00
Steven Masley
3de29307b5
chore: Remove some of the external enum comments in typescript ( #6530 )
...
* chore: Remove some of the external enum comments in typescript
handle clibase types manually
2023-03-09 10:46:23 -06:00
Ammar Bandukwala
3b73321a6c
feat: refactor deployment config ( #6347 )
2023-03-07 15:10:01 -06:00
Ammar Bandukwala
f05609b4da
chore: format Go more aggressively
2023-02-18 18:32:09 -06:00
Kyle Carberry
026b1cd2a4
chore: update to go 1.20 ( #5968 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-02-02 12:36:27 -06:00
Kyle Carberry
546a8931aa
chore: move vscode local out of experiments ( #5773 )
...
We've been dogfooding the VS Code extension for a while,
and it seems stable enough that it's overall positive
to release!
2023-01-20 04:32:59 +00:00
Cian Johnston
56b996532f
feat: add --experiments flag to replace --experimental ( #5767 )
...
- Deprecates the --experimental flag
- Adds a new flag --experiments which supports passing multiple comma-separated values or a wildcard value.
- Exposes a new endpoint /api/v2/experiments that returns the list of enabled experiments.
- Deprecates the field Features.Experimental in favour of this new API.
- Updates apidocgen to support type aliases (shoutout to @mtojek).
- Modifies apitypings to support generating slice types.
- Updates develop.sh to pass additional args after -- to $CODERD_SHIM.
2023-01-18 19:12:53 +00:00
Ammar Bandukwala
501cfa9e8d
refactor: deduplicate / type license feature code ( #5734 )
2023-01-17 17:04:29 -06:00
Mathias Fredriksson
856f0ab6f5
chore: Improve project-wide prettier formatting and ignored files ( #5505 )
...
* chore: Improve project-wide prettier formatting and ignored files
* chore: `Run make fmt/prettier`
* Fix gitignore for `.vscode` folder so that ! works
* Add comment in `.prettierrc.yaml` to explain `.editorconfig`
* Remove scripts/apidocgen/markdown-template/README.md
* Use `yq` for processing prettierrc, update lib.sh dependency check
* Add `yq` to Dockerfile and Nix
2023-01-03 15:11:13 +02:00
Arthur Normand
9578ce9f77
OAuth now uses client TLS certs (if configured) ( #5042 )
...
* OAuth now uses client TLS certs (if configured)
* Update docs
* Cleaning
* Fix lint errors and generate static files
* Fix lint error and regenerate more static files
* Suppress lint error
2022-11-13 14:15:06 -06:00
Joe Previte
ffe461ae58
chore(site): enable eslint-plugin-eslint-comments ( #4799 )
...
* chore(site): enable eslint-plugin-eslint-comments
* chore: add descriptions to eslint-disable comments
* chore: update eslint-disable comments in main.go
2022-10-28 17:46:51 -03:00
Kira Pilot
8282e46813
chore: add audit log tests ( #4764 )
...
* added test for stopping a workspace build
* formatted sfriendly string; added tests
* logging unmarshal error in auditLogDescription
* prettier
* got rid of extra workspace word
* PR feedback
* fixed mistake; wrote tests in penance
* fix be
2022-10-27 15:57:41 -04:00
Kyle Carberry
7bc5b89f7a
feat: Support config files with viper ( #4696 )
2022-10-21 17:08:23 -05:00
Garrett Delfosse
e8537067ef
Revert "Revert "Revert "feat: Support config files with viper"" ( #4693 )" ( #4695 )
...
This reverts commit 372fb1f345 .
2022-10-21 16:07:38 -05:00
Garrett Delfosse
372fb1f345
Revert "Revert "feat: Support config files with viper"" ( #4693 )
2022-10-21 20:55:20 +00:00
Garrett Delfosse
a2fb444911
Revert "feat: Support config files with viper ( #4558 )" ( #4692 )
...
This reverts commit c8e299c8f1 .
2022-10-21 20:04:27 +00:00
Garrett Delfosse
c8e299c8f1
feat: Support config files with viper ( #4558 )
2022-10-21 19:26:39 +00:00