From de9fbebc72937fdb1888bccf1c733c400e650328 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 13:26:06 +0000 Subject: [PATCH 1/6] Pin the tanstack-start deploy workflow's actions to commit SHAs The org only runs actions pinned to a full commit SHA, so the `@v4` tags made the first run end in startup_failure before any job started. Same SHAs as the CLI repo's workflows. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Tmb4PCrrV2SLRpBjkGAgXJ --- .github/workflows/deploy-tanstack-start.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 3e00874..2ee74b1 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -31,9 +31,9 @@ jobs: BASE44_API_KEY: ${{ secrets.BASE44_API_KEY }} BASE44_APP_ID: ${{ vars.TANSTACK_START_APP_ID }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: 22 cache: npm From 76a85e587d8d18e67ba0b7258d080c3d2f916c53 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 13:36:43 +0000 Subject: [PATCH 2/6] Fail the tanstack-start deploy early, naming a missing secret or variable Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Tmb4PCrrV2SLRpBjkGAgXJ --- .github/workflows/deploy-tanstack-start.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 2ee74b1..2d15338 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -31,6 +31,12 @@ jobs: BASE44_API_KEY: ${{ secrets.BASE44_API_KEY }} BASE44_APP_ID: ${{ vars.TANSTACK_START_APP_ID }} steps: + - name: Check repository settings + run: | + [ -n "$BASE44_API_KEY" ] || { echo "::error::Add the BASE44_API_KEY repository secret (a workspace API key)."; exit 1; } + [ -n "$BASE44_APP_ID" ] || { echo "::error::Add the TANSTACK_START_APP_ID repository variable (Settings > Secrets and variables > Actions > Variables)."; exit 1; } + working-directory: . + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 From 589542c173016be4cbd94b949b16749df3dbb501 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 13:48:08 +0000 Subject: [PATCH 3/6] TEMP: deploy with the base44/cli#671 preview (reverted next) --- .github/workflows/deploy-tanstack-start.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 2d15338..82317e1 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -47,7 +47,7 @@ jobs: - run: npm ci - - run: npm install -g base44@0.2.0 + - run: npm install -g @base44-preview/cli@0.2.0-pr.671.556605b # --build injects the app id into the build; --git-hash addresses the # deployment by this commit, which a full-stack build requires. From 1dac4d38b9b6c71488020427cf0ca651f12c78cf Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 13:51:06 +0000 Subject: [PATCH 4/6] Revert the temporary preview CLI pin Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Tmb4PCrrV2SLRpBjkGAgXJ --- .github/workflows/deploy-tanstack-start.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 82317e1..2d15338 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -47,7 +47,7 @@ jobs: - run: npm ci - - run: npm install -g @base44-preview/cli@0.2.0-pr.671.556605b + - run: npm install -g base44@0.2.0 # --build injects the app id into the build; --git-hash addresses the # deployment by this commit, which a full-stack build requires. From feb8356409e845eb67b17b2ea3e99b69ccde9425 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 14:05:19 +0000 Subject: [PATCH 5/6] Link the app with base44 link --app-id, and scope the app id and key to their steps Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Tmb4PCrrV2SLRpBjkGAgXJ --- .github/workflows/deploy-tanstack-start.yml | 25 ++++++++++++--------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 2d15338..0016044 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -27,16 +27,7 @@ jobs: defaults: run: working-directory: tanstack-start - env: - BASE44_API_KEY: ${{ secrets.BASE44_API_KEY }} - BASE44_APP_ID: ${{ vars.TANSTACK_START_APP_ID }} steps: - - name: Check repository settings - run: | - [ -n "$BASE44_API_KEY" ] || { echo "::error::Add the BASE44_API_KEY repository secret (a workspace API key)."; exit 1; } - [ -n "$BASE44_APP_ID" ] || { echo "::error::Add the TANSTACK_START_APP_ID repository variable (Settings > Secrets and variables > Actions > Variables)."; exit 1; } - working-directory: . - - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 @@ -49,6 +40,20 @@ jobs: - run: npm install -g base44@0.2.0 + # Each value reaches only the step that needs it; link checks the app + # exists, so it needs the key too. + - name: Link the Base44 app + env: + APP_ID: ${{ vars.TANSTACK_START_APP_ID }} + BASE44_API_KEY: ${{ secrets.BASE44_API_KEY }} + run: | + [ -n "$APP_ID" ] || { echo "::error::Add the TANSTACK_START_APP_ID repository variable (Settings > Secrets and variables > Actions > Variables)."; exit 1; } + [ -n "$BASE44_API_KEY" ] || { echo "::error::Add the BASE44_API_KEY repository secret (a workspace API key)."; exit 1; } + base44 link --app-id "$APP_ID" + # --build injects the app id into the build; --git-hash addresses the # deployment by this commit, which a full-stack build requires. - - run: base44 deploy -y --build --git-hash "$GITHUB_SHA" + - name: Deploy + env: + BASE44_API_KEY: ${{ secrets.BASE44_API_KEY }} + run: base44 deploy -y --build --git-hash "$GITHUB_SHA" From fe6234420b83ee0b2b76d97d5d30f9e407c41a03 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 14:11:20 +0000 Subject: [PATCH 6/6] Deploy tanstack-start with base44 0.2.1 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Tmb4PCrrV2SLRpBjkGAgXJ --- .github/workflows/deploy-tanstack-start.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-tanstack-start.yml b/.github/workflows/deploy-tanstack-start.yml index 0016044..bf76c5b 100644 --- a/.github/workflows/deploy-tanstack-start.yml +++ b/.github/workflows/deploy-tanstack-start.yml @@ -38,7 +38,7 @@ jobs: - run: npm ci - - run: npm install -g base44@0.2.0 + - run: npm install -g base44@0.2.1 # Each value reaches only the step that needs it; link checks the app # exists, so it needs the key too.