fix(preview): preview-deploy no longer fetches the deleted infra/nix-devshell branch #956

Closed
kayg wants to merge 0 commits from fix/preview-deploy-no-devshell-branch into dev
Owner

scripts/preview-deploy.sh ran git fetch origin <branch> infra/nix-devshell, and that branch was deleted when #779 merged, so every deploy failed at the fetch.

  • Fetches only the branch being deployed.
  • Drops the block that borrowed flake.nix from the deleted branch.
  • A branch without flake.nix now stops with "rebase it onto origin/dev first".

Checked: bash -n; the redeploy of review/calendar-2 was run from this branch's script (result in #922).

🤖 Generated with Claude Code

`scripts/preview-deploy.sh` ran `git fetch origin <branch> infra/nix-devshell`, and that branch was deleted when #779 merged, so every deploy failed at the fetch. - Fetches only the branch being deployed. - Drops the block that borrowed `flake.nix` from the deleted branch. - A branch without `flake.nix` now stops with "rebase it onto origin/dev first". Checked: `bash -n`; the redeploy of `review/calendar-2` was run from this branch's script (result in #922). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(preview): preview-deploy no longer fetches the deleted infra/nix-devshell branch (flake.nix is on dev since #779) (#922)
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
95f832620e
A branch without flake.nix now stops with a clear message instead of failing on the fetch.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Merged into dev by the orchestrator as merge commit 5bfa90f3 (branch head 13788ed6). Closing.

Merged into dev by the orchestrator as merge commit 5bfa90f3 (branch head 13788ed6). Closing.
kayg closed this pull request 2026-11-05 14:43:40 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!956
No description provided.