-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(webapp): make native build server the default in build settings #3980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| area: webapp | ||
| type: improvement | ||
| --- | ||
|
|
||
| Make the native build server the default in project build settings. It's now opt-out, stored as a new `disableNativeBuildServer` key. Also clarifies in the UI that build settings apply to GitHub-triggered and native build server deployments. |
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 No server-side consumers of the native build server flag found Searched the entire codebase for consumers of Was this helpful? React with 👍 or 👎 to provide feedback. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,9 @@ export const BuildSettingsSchema = z.object({ | |
| triggerConfigFilePath: z.string().optional(), | ||
| installCommand: z.string().optional(), | ||
| preBuildCommand: z.string().optional(), | ||
| useNativeBuildServer: z.boolean().optional(), | ||
| // Opt-out flag: the native build server is used by default. Only set when a | ||
| // project explicitly disables it. Absence means native build server enabled. | ||
| disableNativeBuildServer: z.boolean().optional(), | ||
|
Comment on lines
+7
to
+9
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 Implicit data migration via Zod key stripping — old Existing database records may contain
This is the intended behavior per the PR description ("make native build server the default"), but it's worth noting that there is no explicit data migration — the behavior change happens implicitly through the schema rename. Projects that previously had native build server explicitly disabled will have it silently re-enabled. This is presumably acceptable since the PR is intentionally flipping the default, but reviewers should confirm this is the desired rollout strategy. Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| }); | ||
|
|
||
| export type BuildSettings = z.infer<typeof BuildSettingsSchema>; | ||
Uh oh!
There was an error while loading. Please reload this page.