Skip to content

Bump API - #3382

Merged
david-crespo merged 2 commits into
mainfrom
omicron-9d95e0c
Sep 11, 2026
Merged

david-crespo merged 2 commits into
mainfrom
omicron-9d95e0c

Conversation

@david-crespo

Copy link
Copy Markdown
Collaborator

Bumping to the version going to dogfood, then will bump again for oxidecomputer/omicron#11281.

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.
@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Sep 11, 2026 8:10pm UTC

Request Review

Comment thread app/forms/vpc-create.tsx
import { docLinks } from '~/util/links'
import { pb } from '~/util/path-builder'

const defaultValues: SetNonNullable<Required<VpcCreate>> = {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

This branch was successfully deployed

1 active deployment
Preview — 5dca62ec Deployed Sep 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant