Repository navigation
Bump API - #3382
Merged
Merged
Bump API#3382
Conversation
Adds `defaults` to `ProjectCreate` and `VpcCreate`. VPC create omits it, which keeps the original behavior of creating all default resources. While here, give the VPC, subnet, and silo quotas forms explicit form value types instead of deriving them from the API types with `SetNonNullable<Required<...>>`. That derivation had to be patched with `Omit` once `defaults` showed up, and the forms already transform to the API shape in `onSubmit` anyway.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
david-crespo
commented
Sep 11, 2026
| import { docLinks } from '~/util/links' | ||
| import { pb } from '~/util/path-builder' | ||
|
|
||
| const defaultValues: SetNonNullable<Required<VpcCreate>> = { |
Collaborator
Author
There was a problem hiding this comment.
The API change did not like this because this turns defaults into a required field, so I changed this pattern which I am probably responsible for but which I don't really like anymore. defining the type directly is fine. The other files with similar changes didn't have to change but I figured they should match if we don't want to keep encouraging this pattern.
david-crespo
enabled auto-merge (squash)
September 11, 2026 20:12
david-crespo
added a commit
to oxidecomputer/omicron
that referenced
this pull request
Sep 12, 2026
oxidecomputer/console@700ff8b...96092fc * [96092fcc](oxidecomputer/console@96092fcc) oxidecomputer/console#3383 * [fc3d969e](oxidecomputer/console@fc3d969e) oxidecomputer/console#3380 * [cc7ab241](oxidecomputer/console@cc7ab241) oxidecomputer/console#3377 * [c187b75c](oxidecomputer/console@c187b75c) oxidecomputer/console#3376 * [add81de6](oxidecomputer/console@add81de6) oxidecomputer/console#3382 * [3a4ae2a6](oxidecomputer/console@3a4ae2a6) oxidecomputer/console#3320 * [4d1215e2](oxidecomputer/console@4d1215e2) oxidecomputer/console#3371 * [7b434ba9](oxidecomputer/console@7b434ba9) oxidecomputer/console#3374 * [915d68a0](oxidecomputer/console@915d68a0) oxidecomputer/console#3373 * [fb929929](oxidecomputer/console@fb929929) oxidecomputer/console#3369 * [e7ee1bbe](oxidecomputer/console@e7ee1bbe) oxidecomputer/console#3368 * [0a4aca0b](oxidecomputer/console@0a4aca0b) oxidecomputer/console#3367
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumping to the version going to dogfood, then will bump again for oxidecomputer/omicron#11281.