Skip to content

Bundle Warp Agent CLI for Windows - #14444

Open
kevinyang372 wants to merge 1 commit into
masterfrom
07-28-bundle_warp_agent_cli_for_windows
Open

Bundle Warp Agent CLI for Windows#14444
kevinyang372 wants to merge 1 commit into
masterfrom
07-28-bundle_warp_agent_cli_for_windows

Conversation

@kevinyang372

@kevinyang372 kevinyang372 commented Jul 28, 2026

Copy link
Copy Markdown
Member

Description

Adds the local Windows build and bundle foundation for Warp Agent CLI:

  • introduces compact Windows-safe CLI Cargo profiles for dev and release channels
  • extends script/bundle with a TUI artifact path for x64 and arm64
  • produces deterministic ZIP and symbols archives with the exact runtime payload shape
  • validates package contents, signatures when required, version metadata, and isolated launch inputs

This is phase 1 of the Windows Warp Agent CLI release stack. Windows artifact publication remains intentionally disabled.

Conversation: https://staging.warp.dev/conversation/7b2fa858-09f9-47dd-8819-277acd3fa779

Linked Issue

No linked issue.

  • The linked issue is labeled ready-to-spec or ready-to-implement.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

@cla-bot cla-bot Bot added the cla-signed label Jul 28, 2026

Copy link
Copy Markdown
Member Author

@kevinyang372
kevinyang372 force-pushed the 07-28-bundle_warp_agent_cli_for_windows branch 2 times, most recently from 58874da to 7870838 Compare July 29, 2026 01:12
@kevinyang372
kevinyang372 marked this pull request as ready for review July 29, 2026 05:07
@oz-for-oss

oz-for-oss Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@kevinyang372

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds the Windows Warp Agent CLI packaging foundation: compact Cargo profiles, a TUI artifact path in the Windows bundle script, deterministic ZIP/symbol archive generation, signature/package validation hooks, and CI coverage for the packaging script.

Concerns

  • No blocking correctness, security, or spec-alignment concerns found in the annotated diff.
  • No approved or repository spec context was provided for implementation comparison.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread .github/workflows/ci.yml Outdated
- name: Run PSScriptAnalyzer (PowerShell Lint)
run: ./script/lint_powershell -ci
shell: pwsh
- name: Test Windows TUI packaging

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add this to CI?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Warp Agent] Removed the Windows TUI packaging fixture from regular PR CI in commit fce90e948. Packaging remains covered by the explicitly dispatched Windows release workflow rather than every CI run.

Comment thread app/build.rs
}

if target_os == "windows" {
println!("cargo:rerun-if-env-changed=CARGO_FULL_PROFILE");

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the motivation for this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Warp Agent] CARGO_FULL_PROFILE changes the target directory where build.rs copies Windows assets. Without rerun-if-env-changed, Cargo can reuse stale build-script output across profile changes. Added that rationale in commit fce90e948.

Comment thread script/windows/bundle.ps1
'stable' { 'WarpAgentCLI' }
'oss' { 'WarpAgentCLIOss' }
}
$FEATURES = 'release_bundle,standalone'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh we don't need the nld classifier for TUI bundling?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Warp Agent] We do need it. Fixed in commit fce90e948: warp_tui now enables nld_classifier_v3 and nld_heuristic_v2, so the Windows TUI bundle includes the same NLD behavior.

@kevinyang372
kevinyang372 force-pushed the 07-28-bundle_warp_agent_cli_for_windows branch from 7870838 to fce90e9 Compare July 30, 2026 01:40
@kevinyang372
kevinyang372 force-pushed the 07-28-bundle_warp_agent_cli_for_windows branch from fce90e9 to 0d065f9 Compare July 30, 2026 01:53
kevinyang372 added a commit that referenced this pull request Jul 30, 2026
## Description
Build the Windows Warp Agent CLI as a signed Inno Setup installer
instead of a portable ZIP.

The installer follows Warp's GUI installation model for OS/architecture
gating, private MSVC runtime dependencies, signed setup/uninstall
components, and ARP registration. It keeps the CLI's immutable
`versions/<version>` layout so upgrades do not replace executables used
by active sessions, and preserves custom managed/bin roots and PATH
opt-out through silent parameters.

This is the replacement for reference PR #14444; that PR and branch are
intentionally unchanged.

Implementation plan:
https://staging.warp.dev/drive/notebook/BI2TyxneCNDssiTUVIF0iK

## Linked Issue
- [ ] The linked issue is labeled `ready-to-spec` or
`ready-to-implement`.
- [ ] Where appropriate, screenshots or a short video of the
implementation are included below.

## Testing
- `./script/format`
- `cargo check -p warp_tui --bin warp-tui-dev --features
release_bundle,standalone,crash_reporting`
- Repository-prescribed split Clippy checks
- Added native Windows fixture coverage for silent install, rerun,
v1-to-v2 upgrade while v1 is running, current/previous activation, ARP
registration, custom paths with spaces, and uninstall

- [ ] I have manually tested my changes locally with `./script/run`

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Warp <agent@warp.dev>

Co-authored-by: Warp <agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant