Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

Organize legacy workflows and add CI probe

RoversX127136443253
diff --git a/.github/workflows/ci-probe.yml b/.github/workflows/ci-probe.yml
new file mode 100644
index 00000000..da45c5f9
--- /dev/null
+++ b/.github/workflows/ci-probe.yml
@@ -0,0 +1,122 @@
+# Temporary probe workflow.
+#
+# Confirms the tree still compiles on Linux and Windows before we invest in the
+# full release pipeline. Linux has never compiled successfully in CI here, and
+# the last green Windows build was 2026-06-06 (132 commits ago).
+#
+# Delete this file once the answer is known.
+
+name: ci-probe
+
+on:
+ push:
+ branches: ['ci/probe']
+ # The workflow_dispatch button only appears once this file reaches the default
+ # branch, so during the probe phase the push trigger above is what fires.
+ workflow_dispatch:
+
+# Cancel a superseded run when several commits are pushed back to back
+concurrency:
+ group: ci-probe-${{ github.ref }}
+ cancel-in-progress: true
+
+env:
+ CARGO_INCREMENTAL: '0'
+
+jobs:
+ linux:
+ name: linux x86_64
+ runs-on: ubuntu-latest
+ # Backstop: a hung job would otherwise burn the default 6h, which on a
+ # private repo is 360 billed minutes.
+ timeout-minutes: 60
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v7
+ with:
+ submodules: recursive
+
+ # third_party/lucide and third_party/simple-icons are include_bytes!'d by
+ # wezterm-gui/src/termwindow/ui/icons.rs, so an empty checkout of either
+ # fails the build 20 minutes in rather than here.
+ - name: Sanity check submodules
+ run: |
+ for d in deps/freetype/zlib \
+ deps/freetype/libpng \
+ deps/freetype/freetype2 \
+ deps/harfbuzz/harfbuzz \
+ third_party/lucide \
+ third_party/simple-icons ; do
+ test -n "$(ls -A $d 2>/dev/null)" || { echo "::error::submodule $d is empty"; exit 1; }
+ echo "ok $d"
+ done
+
+ - name: Install Rust
+ uses: dtolnay/rust-toolchain@stable
+
+ - name: Cache cargo
+ uses: Swatinem/rust-cache@v2
+ with:
+ # The probe is expected to go red and be retried; without this every
+ # retry recompiles all dependencies from scratch.
+ cache-on-failure: true
+
+ - name: Install system deps
+ run: env CI=yes PATH=$PATH ./get-deps
+
+ - name: Build
+ run: |
+ cargo build \
+ -p wezterm \
+ -p wezterm-gui \
+ -p wezterm-mux-server \
+ -p strip-ansi-escapes
+
+ windows:
+ name: windows x86_64
+ runs-on: windows-2022
+ # More headroom than Linux: the only datapoint we have (2026-06-06, release
+ # build with sccache) was 37m42s on this runner, and Windows bills at 2x, so
+ # a timeout here is the most expensive way to learn nothing.
+ timeout-minutes: 90
+
+ env:
+ RUSTUP_WINDOWS_PATH_ADD_BIN: '1'
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v7
+ with:
+ submodules: recursive
+
+ - name: Sanity check submodules
+ shell: bash
+ run: |
+ for d in deps/freetype/zlib \
+ deps/freetype/libpng \
+ deps/freetype/freetype2 \
+ deps/harfbuzz/harfbuzz \
+ third_party/lucide \
+ third_party/simple-icons ; do
+ test -n "$(ls -A $d 2>/dev/null)" || { echo "::error::submodule $d is empty"; exit 1; }
+ echo "ok $d"
+ done
+
+ - name: Install Rust
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ target: x86_64-pc-windows-msvc
+
+ - name: Cache cargo
+ uses: Swatinem/rust-cache@v2
+ with:
+ cache-on-failure: true
+
+ # openssl-src needs perl; Strawberry Perl ships on the runner but is not
+ # on PATH by default.
+ - name: Build
+ shell: cmd
+ run: |
+ PATH C:\Strawberry\perl\bin;%PATH%
+ cargo build -p wezterm -p wezterm-gui -p wezterm-mux-server -p strip-ansi-escapes
diff --git a/.gitignore b/.gitignore
index 5302d77a..6a061213 100644
--- a/.gitignore
+++ b/.gitignore
@@ -78,5 +78,8 @@ ThinkTerm-macos-v0.1.0.zip
!/docs/thinkterm/
!/docs/thinkterm/*.md
+# Keep CI documentation under version control despite the blanket *.md rule.
+!/ci/legacy-workflows/README.md
+
# well...
/.claude
diff --git a/ci/legacy-workflows/README.md b/ci/legacy-workflows/README.md
new file mode 100644
index 00000000..cbd79368
--- /dev/null
+++ b/ci/legacy-workflows/README.md
@@ -0,0 +1,44 @@
+# Legacy upstream workflows
+
+These 44 files are WezTerm's original GitHub Actions workflows, inherited when
+ThinkTerm was forked. They are parked here rather than deleted so the history
+and the recipes stay available.
+
+GitHub only executes workflows that live in `.github/workflows/`, so nothing in
+this directory runs. They were already inert before the move — commit `3289fee`
+replaced every trigger block with a bare `workflow_dispatch:` and left the
+original triggers as comments — but they still occupied 44 slots in the Actions
+sidebar and Dependabot kept opening PRs against them.
+
+## What is in here
+
+| Family | Purpose | Count |
+| --- | --- | --- |
+| `gen_<os>.yml` | pull request check: build + test, no packaging | 11 |
+| `gen_<os>_continuous.yml` | nightly: build, package, upload to the `nightly` release | 11 |
+| `gen_<os>_tag.yml` | tagged release: build, package, create pre-release, upload | 11 |
+| `nix*.yml`, `pages.yml`, `termwiz.yml`, `wezterm_ssh.yml`, `fmt.yml`, … | assorted upstream CI | 10 |
+| `thinkterm-windows-x64-portable.yml` | ThinkTerm's own Windows artifact build | 1 |
+
+The `gen_*` files are generated by `ci/generate-workflows.py` from a target
+table; they are not meant to be hand-edited upstream.
+
+## Notes for anyone mining these for recipes
+
+- The packaging itself lives in `ci/deploy.sh` and `ci/appimage.sh`, not in the
+ workflows. The macOS and Windows paths in those scripts are ThinkTerm-branded;
+ the Debian and RPM paths still build packages named `wezterm`.
+- Every Linux target runs in a container on `ubuntu-latest`, so none of these
+ depend on a matching hosted runner image being available.
+- The `cargo vendor --locked --versioned-dirs >> .cargo/config` step in these
+ files is a no-op. This repo's real config is `.cargo/config.toml`, which takes
+ precedence, so the vendored source replacement is never applied.
+- `git config --global --add safe.directory /__w/wezterm/wezterm` hardcodes the
+ upstream repo name; under this fork the path is `/__w/ThinkTerm/ThinkTerm`.
+ Use `$GITHUB_WORKSPACE` instead.
+
+## Restoring one
+
+```bash
+git mv ci/legacy-workflows/gen_macos_tag.yml .github/workflows/
+```
diff --git a/.github/workflows/fmt.yml b/ci/legacy-workflows/fmt.yml
similarity index 100%
rename from .github/workflows/fmt.yml
rename to ci/legacy-workflows/fmt.yml
diff --git a/.github/workflows/gen_centos9.yml b/ci/legacy-workflows/gen_centos9.yml
similarity index 100%
rename from .github/workflows/gen_centos9.yml
rename to ci/legacy-workflows/gen_centos9.yml
diff --git a/.github/workflows/gen_centos9_continuous.yml b/ci/legacy-workflows/gen_centos9_continuous.yml
similarity index 100%
rename from .github/workflows/gen_centos9_continuous.yml
rename to ci/legacy-workflows/gen_centos9_continuous.yml
diff --git a/.github/workflows/gen_centos9_tag.yml b/ci/legacy-workflows/gen_centos9_tag.yml
similarity index 100%
rename from .github/workflows/gen_centos9_tag.yml
rename to ci/legacy-workflows/gen_centos9_tag.yml
diff --git a/.github/workflows/gen_debian11.yml b/ci/legacy-workflows/gen_debian11.yml
similarity index 100%
rename from .github/workflows/gen_debian11.yml
rename to ci/legacy-workflows/gen_debian11.yml
diff --git a/.github/workflows/gen_debian11_continuous.yml b/ci/legacy-workflows/gen_debian11_continuous.yml
similarity index 100%
rename from .github/workflows/gen_debian11_continuous.yml
rename to ci/legacy-workflows/gen_debian11_continuous.yml
diff --git a/.github/workflows/gen_debian11_tag.yml b/ci/legacy-workflows/gen_debian11_tag.yml
similarity index 100%
rename from .github/workflows/gen_debian11_tag.yml
rename to ci/legacy-workflows/gen_debian11_tag.yml
diff --git a/.github/workflows/gen_debian12.yml b/ci/legacy-workflows/gen_debian12.yml
similarity index 100%
rename from .github/workflows/gen_debian12.yml
rename to ci/legacy-workflows/gen_debian12.yml
diff --git a/.github/workflows/gen_debian12_continuous.yml b/ci/legacy-workflows/gen_debian12_continuous.yml
similarity index 100%
rename from .github/workflows/gen_debian12_continuous.yml
rename to ci/legacy-workflows/gen_debian12_continuous.yml
diff --git a/.github/workflows/gen_debian12_tag.yml b/ci/legacy-workflows/gen_debian12_tag.yml
similarity index 100%
rename from .github/workflows/gen_debian12_tag.yml
rename to ci/legacy-workflows/gen_debian12_tag.yml
diff --git a/.github/workflows/gen_fedora39.yml b/ci/legacy-workflows/gen_fedora39.yml
similarity index 100%
rename from .github/workflows/gen_fedora39.yml
rename to ci/legacy-workflows/gen_fedora39.yml
diff --git a/.github/workflows/gen_fedora39_continuous.yml b/ci/legacy-workflows/gen_fedora39_continuous.yml
similarity index 100%
rename from .github/workflows/gen_fedora39_continuous.yml
rename to ci/legacy-workflows/gen_fedora39_continuous.yml
diff --git a/.github/workflows/gen_fedora39_tag.yml b/ci/legacy-workflows/gen_fedora39_tag.yml
similarity index 100%
rename from .github/workflows/gen_fedora39_tag.yml
rename to ci/legacy-workflows/gen_fedora39_tag.yml
diff --git a/.github/workflows/gen_fedora40.yml b/ci/legacy-workflows/gen_fedora40.yml
similarity index 100%
rename from .github/workflows/gen_fedora40.yml
rename to ci/legacy-workflows/gen_fedora40.yml
diff --git a/.github/workflows/gen_fedora40_continuous.yml b/ci/legacy-workflows/gen_fedora40_continuous.yml
similarity index 100%
rename from .github/workflows/gen_fedora40_continuous.yml
rename to ci/legacy-workflows/gen_fedora40_continuous.yml
diff --git a/.github/workflows/gen_fedora40_tag.yml b/ci/legacy-workflows/gen_fedora40_tag.yml
similarity index 100%
rename from .github/workflows/gen_fedora40_tag.yml
rename to ci/legacy-workflows/gen_fedora40_tag.yml
diff --git a/.github/workflows/gen_fedora41.yml b/ci/legacy-workflows/gen_fedora41.yml
similarity index 100%
rename from .github/workflows/gen_fedora41.yml
rename to ci/legacy-workflows/gen_fedora41.yml
diff --git a/.github/workflows/gen_fedora41_continuous.yml b/ci/legacy-workflows/gen_fedora41_continuous.yml
similarity index 100%
rename from .github/workflows/gen_fedora41_continuous.yml
rename to ci/legacy-workflows/gen_fedora41_continuous.yml
diff --git a/.github/workflows/gen_fedora41_tag.yml b/ci/legacy-workflows/gen_fedora41_tag.yml
similarity index 100%
rename from .github/workflows/gen_fedora41_tag.yml
rename to ci/legacy-workflows/gen_fedora41_tag.yml
diff --git a/.github/workflows/gen_macos.yml b/ci/legacy-workflows/gen_macos.yml
similarity index 100%
rename from .github/workflows/gen_macos.yml
rename to ci/legacy-workflows/gen_macos.yml
diff --git a/.github/workflows/gen_macos_continuous.yml b/ci/legacy-workflows/gen_macos_continuous.yml
similarity index 100%
rename from .github/workflows/gen_macos_continuous.yml
rename to ci/legacy-workflows/gen_macos_continuous.yml
diff --git a/.github/workflows/gen_macos_tag.yml b/ci/legacy-workflows/gen_macos_tag.yml
similarity index 100%
rename from .github/workflows/gen_macos_tag.yml
rename to ci/legacy-workflows/gen_macos_tag.yml
diff --git a/.github/workflows/gen_ubuntu20.04.yml b/ci/legacy-workflows/gen_ubuntu20.04.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu20.04.yml
rename to ci/legacy-workflows/gen_ubuntu20.04.yml
diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/ci/legacy-workflows/gen_ubuntu20.04_continuous.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu20.04_continuous.yml
rename to ci/legacy-workflows/gen_ubuntu20.04_continuous.yml
diff --git a/.github/workflows/gen_ubuntu20.04_tag.yml b/ci/legacy-workflows/gen_ubuntu20.04_tag.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu20.04_tag.yml
rename to ci/legacy-workflows/gen_ubuntu20.04_tag.yml
diff --git a/.github/workflows/gen_ubuntu22.04.yml b/ci/legacy-workflows/gen_ubuntu22.04.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu22.04.yml
rename to ci/legacy-workflows/gen_ubuntu22.04.yml
diff --git a/.github/workflows/gen_ubuntu22.04_continuous.yml b/ci/legacy-workflows/gen_ubuntu22.04_continuous.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu22.04_continuous.yml
rename to ci/legacy-workflows/gen_ubuntu22.04_continuous.yml
diff --git a/.github/workflows/gen_ubuntu22.04_tag.yml b/ci/legacy-workflows/gen_ubuntu22.04_tag.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu22.04_tag.yml
rename to ci/legacy-workflows/gen_ubuntu22.04_tag.yml
diff --git a/.github/workflows/gen_ubuntu24.04.yml b/ci/legacy-workflows/gen_ubuntu24.04.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu24.04.yml
rename to ci/legacy-workflows/gen_ubuntu24.04.yml
diff --git a/.github/workflows/gen_ubuntu24.04_continuous.yml b/ci/legacy-workflows/gen_ubuntu24.04_continuous.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu24.04_continuous.yml
rename to ci/legacy-workflows/gen_ubuntu24.04_continuous.yml
diff --git a/.github/workflows/gen_ubuntu24.04_tag.yml b/ci/legacy-workflows/gen_ubuntu24.04_tag.yml
similarity index 100%
rename from .github/workflows/gen_ubuntu24.04_tag.yml
rename to ci/legacy-workflows/gen_ubuntu24.04_tag.yml
diff --git a/.github/workflows/gen_windows.yml b/ci/legacy-workflows/gen_windows.yml
similarity index 100%
rename from .github/workflows/gen_windows.yml
rename to ci/legacy-workflows/gen_windows.yml
diff --git a/.github/workflows/gen_windows_continuous.yml b/ci/legacy-workflows/gen_windows_continuous.yml
similarity index 100%
rename from .github/workflows/gen_windows_continuous.yml
rename to ci/legacy-workflows/gen_windows_continuous.yml
diff --git a/.github/workflows/gen_windows_tag.yml b/ci/legacy-workflows/gen_windows_tag.yml
similarity index 100%
rename from .github/workflows/gen_windows_tag.yml
rename to ci/legacy-workflows/gen_windows_tag.yml
diff --git a/.github/workflows/lock.yml b/ci/legacy-workflows/lock.yml
similarity index 100%
rename from .github/workflows/lock.yml
rename to ci/legacy-workflows/lock.yml
diff --git a/.github/workflows/nix-update-flake.yml b/ci/legacy-workflows/nix-update-flake.yml
similarity index 100%
rename from .github/workflows/nix-update-flake.yml
rename to ci/legacy-workflows/nix-update-flake.yml
diff --git a/.github/workflows/nix.yml b/ci/legacy-workflows/nix.yml
similarity index 100%
rename from .github/workflows/nix.yml
rename to ci/legacy-workflows/nix.yml
diff --git a/.github/workflows/nix_continuous.yml b/ci/legacy-workflows/nix_continuous.yml
similarity index 100%
rename from .github/workflows/nix_continuous.yml
rename to ci/legacy-workflows/nix_continuous.yml
diff --git a/.github/workflows/no-response.yml b/ci/legacy-workflows/no-response.yml
similarity index 100%
rename from .github/workflows/no-response.yml
rename to ci/legacy-workflows/no-response.yml
diff --git a/.github/workflows/pages.yml b/ci/legacy-workflows/pages.yml
similarity index 100%
rename from .github/workflows/pages.yml
rename to ci/legacy-workflows/pages.yml
diff --git a/.github/workflows/termwiz.yml b/ci/legacy-workflows/termwiz.yml
similarity index 100%
rename from .github/workflows/termwiz.yml
rename to ci/legacy-workflows/termwiz.yml
diff --git a/.github/workflows/thinkterm-windows-x64-portable.yml b/ci/legacy-workflows/thinkterm-windows-x64-portable.yml
similarity index 100%
rename from .github/workflows/thinkterm-windows-x64-portable.yml
rename to ci/legacy-workflows/thinkterm-windows-x64-portable.yml
diff --git a/.github/workflows/verify-pages.yml b/ci/legacy-workflows/verify-pages.yml
similarity index 100%
rename from .github/workflows/verify-pages.yml
rename to ci/legacy-workflows/verify-pages.yml
diff --git a/.github/workflows/wezterm_ssh.yml b/ci/legacy-workflows/wezterm_ssh.yml
similarity index 100%
rename from .github/workflows/wezterm_ssh.yml
rename to ci/legacy-workflows/wezterm_ssh.yml