Bumps [ts-proto](https://github.com/stephenh/ts-proto) from 1.164.0 to 1.181.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/releases">ts-proto's releases</a>.</em></p> <blockquote> <h2>v1.181.2</h2> <h2><a href="https://github.com/stephenh/ts-proto/compare/v1.181.1...v1.181.2">1.181.2</a> (2024-08-15)</h2> <h3>Bug Fixes</h3> <ul> <li>toJSON Function with <code>removeEnumPrefix=true</code> and <code>unrecognizedEnumValue=0</code> Options (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1089">#1089</a>) (<a href="https://github.com/stephenh/ts-proto/commit/24014908f814e2720b9c2b9bd2ae1773be880a16">2401490</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1086">#1086</a> <a href="https://redirect.github.com/stephenh/ts-proto/issues/1086">#1086</a></li> </ul> <h2>v1.181.1</h2> <h2><a href="https://github.com/stephenh/ts-proto/compare/v1.181.0...v1.181.1">1.181.1</a> (2024-07-13)</h2> <h3>Bug Fixes</h3> <ul> <li>Incorrect message names in the generated code for repeated fields (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1073">#1073</a>) (<a href="https://github.com/stephenh/ts-proto/commit/8a95d8e0983a38e604b6990461e726db566ff311">8a95d8e</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1072">#1072</a></li> </ul> <h2>v1.181.0</h2> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.180.0...v1.181.0">1.181.0</a> (2024-07-01)</h1> <h3>Features</h3> <ul> <li>added the "typePrefix" and "typeSuffix" options. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1069">#1069</a>) (<a href="https://github.com/stephenh/ts-proto/commit/ab515cda322baeb94c7588117e4bb5bee6281874">ab515cd</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1033">#1033</a></li> </ul> <h2>v1.180.0</h2> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.179.0...v1.180.0">1.180.0</a> (2024-06-15)</h1> <h3>Features</h3> <ul> <li>oneof=unions-value to use the same field name for oneof cases (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1062">#1062</a>) (<a href="https://github.com/stephenh/ts-proto/commit/74930908cc8e5292577a793b7ae06c3721225ac3">7493090</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1060">#1060</a></li> </ul> <h2>v1.179.0</h2> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.178.0...v1.179.0">1.179.0</a> (2024-06-15)</h1> <h3>Features</h3> <ul> <li>bigIntLiteral option for using BigInt literals (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1063">#1063</a>) (<a href="https://github.com/stephenh/ts-proto/commit/b89fbcb1f99ccfcd1f06551286c2459e44a3bac2">b89fbcb</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/928">#928</a> <a href="https://redirect.github.com/stephenh/ts-proto/issues/932">#932</a></li> </ul> <h2>v1.178.0</h2> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.177.0...v1.178.0">1.178.0</a> (2024-06-07)</h1> <h3>Features</h3> <ul> <li><code>no-file-descriptor</code> setting for outputSchema option (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1047">#1047</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c54f06c4a7dd766abf3f91932b1e4cdf38b7f346">c54f06c</a>)</li> </ul> <h2>v1.177.0</h2> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.176.3...v1.177.0">1.177.0</a> (2024-06-07)</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/stephenh/ts-proto/blob/main/CHANGELOG.md">ts-proto's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/stephenh/ts-proto/compare/v1.181.1...v1.181.2">1.181.2</a> (2024-08-15)</h2> <h3>Bug Fixes</h3> <ul> <li>toJSON Function with <code>removeEnumPrefix=true</code> and <code>unrecognizedEnumValue=0</code> Options (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1089">#1089</a>) (<a href="https://github.com/stephenh/ts-proto/commit/24014908f814e2720b9c2b9bd2ae1773be880a16">2401490</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1086">#1086</a> <a href="https://redirect.github.com/stephenh/ts-proto/issues/1086">#1086</a></li> </ul> <h2><a href="https://github.com/stephenh/ts-proto/compare/v1.181.0...v1.181.1">1.181.1</a> (2024-07-13)</h2> <h3>Bug Fixes</h3> <ul> <li>Incorrect message names in the generated code for repeated fields (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1073">#1073</a>) (<a href="https://github.com/stephenh/ts-proto/commit/8a95d8e0983a38e604b6990461e726db566ff311">8a95d8e</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1072">#1072</a></li> </ul> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.180.0...v1.181.0">1.181.0</a> (2024-07-01)</h1> <h3>Features</h3> <ul> <li>added the "typePrefix" and "typeSuffix" options. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1069">#1069</a>) (<a href="https://github.com/stephenh/ts-proto/commit/ab515cda322baeb94c7588117e4bb5bee6281874">ab515cd</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1033">#1033</a></li> </ul> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.179.0...v1.180.0">1.180.0</a> (2024-06-15)</h1> <h3>Features</h3> <ul> <li>oneof=unions-value to use the same field name for oneof cases (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1062">#1062</a>) (<a href="https://github.com/stephenh/ts-proto/commit/74930908cc8e5292577a793b7ae06c3721225ac3">7493090</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/1060">#1060</a></li> </ul> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.178.0...v1.179.0">1.179.0</a> (2024-06-15)</h1> <h3>Features</h3> <ul> <li>bigIntLiteral option for using BigInt literals (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1063">#1063</a>) (<a href="https://github.com/stephenh/ts-proto/commit/b89fbcb1f99ccfcd1f06551286c2459e44a3bac2">b89fbcb</a>), closes <a href="https://redirect.github.com/stephenh/ts-proto/issues/928">#928</a> <a href="https://redirect.github.com/stephenh/ts-proto/issues/932">#932</a></li> </ul> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.177.0...v1.178.0">1.178.0</a> (2024-06-07)</h1> <h3>Features</h3> <ul> <li><code>no-file-descriptor</code> setting for outputSchema option (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1047">#1047</a>) (<a href="https://github.com/stephenh/ts-proto/commit/c54f06c4a7dd766abf3f91932b1e4cdf38b7f346">c54f06c</a>)</li> </ul> <h1><a href="https://github.com/stephenh/ts-proto/compare/v1.176.3...v1.177.0">1.177.0</a> (2024-06-07)</h1> <h3>Features</h3> <ul> <li>add option <code>noDefaultsForOptionals</code> (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1051">#1051</a>) (<a href="https://github.com/stephenh/ts-proto/commit/41d10205bf68468c37cf69e58dc4c4fdbfffcf5b">41d1020</a>)</li> </ul> <h2><a href="https://github.com/stephenh/ts-proto/compare/v1.176.2...v1.176.3">1.176.3</a> (2024-06-07)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stephenh/ts-proto/commit/290d0c51e7bea305f4759c138c43aef8a22af19b"><code>290d0c5</code></a> chore(release): 1.181.2 [skip ci]</li> <li><a href="https://github.com/stephenh/ts-proto/commit/24014908f814e2720b9c2b9bd2ae1773be880a16"><code>2401490</code></a> fix: toJSON Function with <code>removeEnumPrefix=true</code> and `unrecognizedEnumValue=...</li> <li><a href="https://github.com/stephenh/ts-proto/commit/76243a860bdcadb16086379abebb60ff9cc3d363"><code>76243a8</code></a> chore(release): 1.181.1 [skip ci]</li> <li><a href="https://github.com/stephenh/ts-proto/commit/8a95d8e0983a38e604b6990461e726db566ff311"><code>8a95d8e</code></a> fix: Incorrect message names in the generated code for repeated fields (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1073">#1073</a>)</li> <li><a href="https://github.com/stephenh/ts-proto/commit/2078d1a905ad7961e168971c51b852deae930b6d"><code>2078d1a</code></a> Remove .DS_Store (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1071">#1071</a>)</li> <li><a href="https://github.com/stephenh/ts-proto/commit/c5546fba41ed248ffa750172aae3544e70ffddb8"><code>c5546fb</code></a> chore(release): 1.181.0 [skip ci]</li> <li><a href="https://github.com/stephenh/ts-proto/commit/ab515cda322baeb94c7588117e4bb5bee6281874"><code>ab515cd</code></a> feat: added the "typePrefix" and "typeSuffix" options. (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1069">#1069</a>)</li> <li><a href="https://github.com/stephenh/ts-proto/commit/14e7e0f6a94a9309d16fb8d62467c95b3d001529"><code>14e7e0f</code></a> docs: Describe <code>oneof=unions-value</code> output as Algebraic Data Type (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1065">#1065</a>)</li> <li><a href="https://github.com/stephenh/ts-proto/commit/84ccaf2badc2def72b03f11d6faac645d1677f97"><code>84ccaf2</code></a> chore(release): 1.180.0 [skip ci]</li> <li><a href="https://github.com/stephenh/ts-proto/commit/74930908cc8e5292577a793b7ae06c3721225ac3"><code>7493090</code></a> feat: oneof=unions-value to use the same field name for oneof cases (<a href="https://redirect.github.com/stephenh/ts-proto/issues/1062">#1062</a>)</li> <li>Additional commits viewable in <a href="https://github.com/stephenh/ts-proto/compare/v1.164.0...v1.181.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ケイラ <kayla@tree.camp>
e2e
The structure of the end-to-end tests is optimized for speed and reliability. Not all tests require setting up a new PostgreSQL instance or using the Terraform provisioner. Deciding when to trade time for robustness rests with the developers; the framework's role is to facilitate this process.
Take a look at prior art in tests/ for inspiration. To run a test:
cd site
# Build the frontend assets. If you are actively changing
# the site to debug an issue, add `--watch`.
pnpm build
# Alternatively, build with debug info and source maps:
NODE_ENV=development pnpm vite build --mode=development
# Install the browsers to `~/.cache/ms-playwright`.
pnpm playwright:install
# Run E2E tests. You can see the configuration of the server
# in `playwright.config.ts`. This uses `go run -tags embed ...`.
pnpm playwright:test
# Run a specific test (`-g` stands for grep. It accepts regex).
pnpm playwright:test -g '<your test here>'
Using nix
If this breaks, it is likely because the flake chromium version and playwright are no longer compatible. To fix this, update the flake to get the latest chromium version, and adjust the playwright version in the package.json.
You can see the playwright version here: https://search.nixos.org/packages?channel=unstable&show=playwright-driver&from=0&size=50&sort=relevance&type=packages&query=playwright-driver
# Optionally add '--command zsh' to choose your shell.
nix develop
cd site
pnpm install
pnpm build
pnpm playwright:test
To run the playwright debugger from VSCode, just launch VSCode from the nix environment and have the extension installed.
# Optionally add '--command zsh' to choose your shell.
nix develop
code .
Enterprise tests
Enterprise tests require a license key to run.
export CODER_E2E_LICENSE=<license key>
Debugging tests
To debug a test, it is more helpful to run it in ui mode.
pnpm playwright:test-ui