From 36cbf6df58f9bc88ed5271d68adc2ce027b70c76 Mon Sep 17 00:00:00 2001 From: funman300 Date: Thu, 16 Jul 2026 18:53:13 -0700 Subject: [PATCH] =?UTF-8?q?fix(ci):=20copy=20CHANGELOG.md=20into=20the=20w?= =?UTF-8?q?asm=20docker=20stage=20=E2=80=94=20deploys=20broken=20since=20v?= =?UTF-8?q?0.47.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit whats_new_plugin embeds the changelog at compile time (include_str!("../../CHANGELOG.md"), shipped 2026-07-13), but the Dockerfile's wasm-builder stage copies an explicit file list that never included CHANGELOG.md — every docker-build since (10 runs, v0.48.x and v0.49.0 content) failed in build_wasm.sh while web-e2e (full checkout) stayed green, so the web has been serving the July 14 image. Also add CHANGELOG.md to the workflow's trigger paths so changelog cuts redeploy the web and the What's-new card stays fresh. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/docker-build.yml | 3 +++ solitaire_server/Dockerfile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index d33a127..ac9ec8c 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -15,6 +15,9 @@ on: - 'Cargo.toml' - 'Cargo.lock' - 'build_wasm.sh' + # The engine embeds CHANGELOG.md (What's-new card) — changelog cuts + # must redeploy the web so the card content stays fresh. + - 'CHANGELOG.md' - 'solitaire_server/Dockerfile' - '.gitea/workflows/docker-build.yml' diff --git a/solitaire_server/Dockerfile b/solitaire_server/Dockerfile index 53640d5..e32f03d 100644 --- a/solitaire_server/Dockerfile +++ b/solitaire_server/Dockerfile @@ -53,6 +53,10 @@ RUN cargo fetch --locked # src/) because solitaire_engine embeds theme/audio/font assets at compile # time from its own assets/ and the workspace assets/. COPY build_wasm.sh ./ +# whats_new_plugin embeds the changelog at compile time +# (include_str!("../../CHANGELOG.md")) — omit it and the engine build +# fails inside this stage while full-checkout builds stay green. +COPY CHANGELOG.md ./ COPY solitaire_core ./solitaire_core COPY solitaire_sync ./solitaire_sync COPY solitaire_data ./solitaire_data