Jonathan Yu
2d6804c746
chore: improve coverage of cryptorand package ( #377 )
...
Check error cases in cryptorand functions, such as failures to
read random data and input parameter validation.
2022-02-28 09:50:55 -08:00
Jonathan Yu
3c04c7f3e6
chore: install optional dependencies (required for swc) ( #335 )
...
* chore: install optional dependencies (required for swc)
* Use install script in Makefile
* add trailing newline
2022-02-20 13:52:14 -06:00
Jonathan Yu
8f843d2364
chore: add script to install yarn dependencies
...
* Use frozen lockfile in build for reproducible builds
* Do not install optional dependencies
* Suppress interactive prompts in build
2022-02-20 17:43:51 +00:00
Jonathan Yu
f7b484929f
feat: add caching headers for Next.js static assets ( #330 )
2022-02-18 19:34:56 -08:00
Jonathan Yu
5ef59e7b64
chore: switch from memfs to fstest.MapFS ( #327 )
...
* Switch from memfs to built-in fstest.MapFS
* Ensure httptest servers are closed during test cleanup
* Swap ordering of expected/actual values in assertion functions
* Use http.StatusOK constants for status codes
* Add a 1-second context timeout for each request
* Use the test httptest.Server.Client() so that we can handle
TLS server certificates if desired
2022-02-18 13:03:32 -08:00
Jonathan Yu
37bcfeb398
chore: upgrade docker distribution from 2.7.1 to 2.8.0 ( #328 )
...
Fixes a low-severity security vulnerability:
https://github.com/advisories/GHSA-qq97-vm5h-rrhg
2022-02-18 12:52:21 -08:00
Jonathan Yu
c59c0c9ba6
chore: run "go mod tidy" ( #323 )
...
Looks like our linter is missing this step.
2022-02-18 08:23:49 -08:00
Jonathan Yu
3903408af2
chore: set traffic tag to commit hash ( #190 )
2022-02-07 16:50:13 -08:00
Jonathan Yu
78510677db
chore: update coder Cloud Run deployment ( #189 )
2022-02-07 16:18:52 -08:00
Jonathan Yu
515e55db33
chore: cancel concurrent builds with native feature ( #116 )
...
Use the native 'concurrency' configuration feature to cancel
concurrent builds, rather than the cancel-workflow-action.
This also allows us to reduce permissions for the workflow.
2022-01-31 16:13:33 -08:00
Jonathan Yu
58f3e439dd
chore: upgrade from chi 1.5.4 to 5.0.7 ( #109 )
2022-01-30 19:13:14 -08:00
Jonathan Yu
3fccfc5ef3
chore: add Stale to close old pull requests/issues ( #98 )
...
Add configuration for the Probot Stale bot, in order to close old
pull requests and issues.
2022-01-30 18:59:28 -08:00
Jonathan Yu
34fc62def5
chore: add Dependabot configuration ( #97 )
2022-01-30 18:53:37 -08:00
Jonathan Yu
ed387a5f8b
chore(vscode): recommend code-spell-checker extension ( #96 )
2022-01-30 18:30:15 -08:00
Jonathan Yu
599ea2a331
chore: add tparallel linter ( #88 )
...
Add the tparallel linter, which checks that subtests of a parallel
test also run in parallel.
2022-01-29 12:21:16 -08:00