Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack use pnpm@10.x && corepack enable

WORKDIR /build
# Mirror the repository layout: the webv2 build reads the release version from invokeai/version.
WORKDIR /build/invokeai/frontend/webv2
COPY invokeai/frontend/webv2/ ./
RUN --mount=type=cache,target=/pnpm/store \
pnpm install --frozen-lockfile
COPY invokeai/version/invokeai_version.py /build/invokeai/version/
RUN pnpm exec vite build

FROM web-builder AS legacy-web-builder
Expand Down Expand Up @@ -100,7 +102,7 @@ ENTRYPOINT ["/opt/invokeai/docker-entrypoint.sh"]
CMD ["invokeai-web"]

# --link requires buldkit w/ dockerfile syntax 1.4, does not work with podman
COPY --link --from=web-builder /build/dist ${INVOKEAI_SRC}/invokeai/frontend/webv2/dist
COPY --link --from=web-builder /build/invokeai/frontend/webv2/dist ${INVOKEAI_SRC}/invokeai/frontend/webv2/dist
COPY --link --from=legacy-web-builder /legacy-build/dist ${INVOKEAI_SRC}/invokeai/frontend/webv1/dist

# add sources last to minimize image changes on code changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ The launcher uses GitHub as the source of truth for available releases.

Make a developer call-out for PRs to merge. Merge and test things
out. Create a branch with a name like user/chore/vX.X.X-prep and bump the version by editing
`invokeai/version/invokeai_version.py` and commit locally.
`invokeai/version/invokeai_version.py` and commit locally. The web UI reads its version from the same file when it is
built, so there is no separate frontend version to update.

## Release Workflow

Expand Down
34 changes: 20 additions & 14 deletions invokeai/frontend/webv2/performance/architecture-baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"build": {
"launchpad": {
"baseline": {
"brotliBytes": 893586,
"brotliBytes": 783834,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
"gzipBytes": 892942,
"imageRawBytes": 156376,
"initialRawBytes": 2118609,
"largestAssetRawBytes": 749035,
"gzipBytes": 783016,
"imageRawBytes": 44398,
"initialRawBytes": 2012114,
"largestAssetRawBytes": 749225,
"otherAssetRawBytes": 0,
"ownedRawBytes": 93082,
"ownedRawBytes": 94155,
"requestCount": 36,
"scriptRequestCount": 20,
"sourceOwners": [
Expand Down Expand Up @@ -197,6 +197,7 @@
"source:src/platform/react/useMountEffect.ts",
"source:src/platform/react/usePreservedScrollOffset.ts",
"source:src/platform/react/useZodForm.ts",
"source:src/platform/runtime/appMetadata.ts",
"source:src/platform/search/dateTokens.ts",
"source:src/platform/state/accountLifecycle.ts",
"source:src/platform/state/externalStore.ts",
Expand Down Expand Up @@ -325,7 +326,9 @@
"source:src/workbench/settings/launchpad.tsx",
"source:src/workbench/settings/settingsDialogStore.ts",
"source:src/workbench/settings/settingsSearchShortcut.ts",
"source:src/workbench/settings/store.ts"
"source:src/workbench/settings/store.ts",
"source:src/workbench/shell/useWhatsNew.ts",
"source:src/workbench/shell/whatsNewStore.ts"
]
},
"owner": "app",
Expand All @@ -334,15 +337,15 @@
},
"editor": {
"baseline": {
"brotliBytes": 1243382,
"brotliBytes": 1139046,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
"gzipBytes": 1237668,
"imageRawBytes": 156376,
"initialRawBytes": 3203516,
"largestAssetRawBytes": 749035,
"gzipBytes": 1132999,
"imageRawBytes": 44398,
"initialRawBytes": 3111181,
"largestAssetRawBytes": 749225,
"otherAssetRawBytes": 0,
"ownedRawBytes": 144128,
"ownedRawBytes": 143824,
"requestCount": 74,
"scriptRequestCount": 58,
"sourceOwners": [
Expand Down Expand Up @@ -715,6 +718,7 @@
"source:src/platform/react/useMountEffect.ts",
"source:src/platform/react/usePreservedScrollOffset.ts",
"source:src/platform/react/useZodForm.ts",
"source:src/platform/runtime/appMetadata.ts",
"source:src/platform/search/dateTokens.ts",
"source:src/platform/state/accountLifecycle.ts",
"source:src/platform/state/compareAndSwapRollback.ts",
Expand Down Expand Up @@ -1000,6 +1004,8 @@
"source:src/workbench/shell/topbar/useLayoutDrift.ts",
"source:src/workbench/shell/topbar/useTopbarShortcut.ts",
"source:src/workbench/shell/useMountedInstanceIds.ts",
"source:src/workbench/shell/useWhatsNew.ts",
"source:src/workbench/shell/whatsNewStore.ts",
"source:src/workbench/useNotify.ts",
"source:src/workbench/useOpenWorkbenchWidget.ts",
"source:src/workbench/widget-frame/FloatingWidgetLayer.tsx",
Expand Down Expand Up @@ -1066,7 +1072,7 @@
"source": "src/app/WorkbenchApp.tsx"
}
},
"capturedAt": "2026-09-29",
"capturedAt": "2026-10-02",
"developmentInvalidation": {
"platformUiBarrel": {
"specifier": "@platform/ui",
Expand Down
Loading
Loading