Repository navigation
fix(ci): cargo-deny 0.22 config and rustfmt on master - #17
Merged
Merged
Conversation
CI installs cargo-deny unpinned, and 0.22.0 rejects this key ("this key
has been removed", cargo-deny PR warpdotdev#830), so Miscellaneous checks failed
before checking any license. Upstream warpdotdev/warp removed the same
line in a36f769. Verified locally with cargo-deny 0.22.0: fails with the
line, "licenses ok" without it.
Refs warp-ckxfj
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c40df72 wrapped the string constant by hand; rustfmt keeps it on one line, so Formatting + Clippy failed on every OS. cargo fmt --all --check now passes. Refs warp-ckxfj Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
None of runs #20-warpdotdev#33 finished green: macOS jobs never got a runner, Linux test compilation ran out of memory, and Windows tests and clippy hit their job timeouts. - Pushes and PRs: Linux fmt + clippy, miscellaneous checks, wasm lint, release-flag compile checks (Linux, Windows, wasm), Linux unit tests, and the conditional DB migration check. - Linux unit tests now fit the runner: free disk space, add 12 GB of swap, cap rustc at 2 jobs, and skip building the integration crate. - workflow_dispatch runs everything else: macOS, Windows tests and clippy, the integration crate with the shell matrix, and doc tests. - Remove what only works for Warp Inc.: GCP login and SSH tests, trunk.io uploads, the agent_mode_evals compile check, and the disabled remote-server job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YCSfgvK3UQJhWcq8jbzsB5 (cherry picked from commit 48e27cd)
The PowerShell lint in Miscellaneous checks (reached once cargo-deny stopped failing first) found six warnings in deploy.ps1: - Stop/Set/New helpers without ShouldProcess: renamed to Invoke-* like the script's earlier helpers; the script implements -WhatIf itself. - Register-ExplorerEntries: singular noun. - New-Object -ComObject is unavailable in the Ubuntu PowerShell profiles the lint targets: create WScript.Shell through [Activator]::CreateInstance instead. PSScriptAnalyzer 1.25.0 with the repo settings: 0 findings (master's copy reproduces the six warnings). -WhatIf output is unchanged. Refs warp-ckxfj Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run Linux tests timed out at 60 minutes while still in "Compile tests" (run 44683524950); no test ran. The tests cache is gone (the repo is at the 10 GB cache limit), caches are saved only on master, and a timed-out job saves nothing, so the job could never warm its cache. With a warm cache the compile took about 25 minutes (2026-11-14). Raise the limit to 120 minutes. Refs warp-ckxfj Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s on The first CI run that reached the tests (run warpdotdev#34) found 5 failures in warp_tui, all pre-existing since the fork gated Warp-hosted cloud agents off for Channel::Oss (9492670): /handoff and remote orchestration dispatch now refuse, and their upstream tests still expected the cloud path. - warp_core: ChannelState::enable_cloud_agents_for_test() (test-util) switches to a non-OSS channel with loopback roots and restores the shipped state on drop. - The 5 upstream tests use it, so they keep covering the code they were written for. - New fork test: the shipped build rejects /handoff, keeps the prompt and says why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YCSfgvK3UQJhWcq8jbzsB5 (cherry picked from commit c607d6d)
cancel_all aborted the running task, then cleared the queue. In between, the processor thread could wake from the abort, dequeue the next task and run it to completion, so a "cancelled" task still delivered its result. This flaked sync_queue::tests::cancel_all_cancels_running_and_ queued_tasks in CI (run on PR #17). Reproduced by sleeping 50 ms between the abort and the clear: the test fails with "queued task receiver should be cancelled". Clearing first, then aborting, passes with the same sleep after the clear and without it (8/8 sync_queue tests). Refs warp-ckxfj Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the two pre-existing
masterCI failures that block every PR, including #16 (release v0.3.0).advisories.git-fetch-with-cli("this key has been removed", cargo-deny PR Accepting an autocomplete prompt from an early cursor position shifts the cursor excessively warpdotdev/warp#830). Removed the line, as upstream did ina36f769e.app/src/terminal/cli_agent_sessions/plugin_manager/claude.rs:299, introduced byc40df72b.Testing
cargo deny -L error check licensesfails with the olddeny.tomland prints "licenses ok" with this change.cargo fmt --all -- --check: passes.The
Run Linux testsfailure on master was a runner shutdown (exit 143), not a code failure.Also cherry-picked from #15:
c607d6db(as1c31ce24). The first run that reached the Linux tests found 5 pre-existingwarp_tuifailures: upstream cloud handoff/dispatch tests that expect the cloud path the fork gates off forChannel::Oss. The commit runs those tests with cloud agents enabled through a test-onlyChannelState::enable_cloud_agents_for_test(), and adds a fork test that the shipped build rejects/handoff. Locally:cargo nextest run --workspace -E 'package(warp_tui) and test(/handoff|orchestration_model::tests/)'34/34 pass.Linux test timeout raised to 120 minutes (
f394fc21): a cold compile exceeded 60 minutes and timed-out jobs never save the cache.sync_queuerace (d65deb8b):cancel_allaborted the running task before clearing the queue, so the processor could dequeue the next task and run it to completion in between. A "cancelled" task then still delivered its result, which flakedsync_queue::tests::cancel_all_cancels_running_and_queued_taskson this PR. Sleeping 50 ms between the abort and the clear reproduces it every time; clearing first, then aborting, passes with and without that sleep (8/8sync_queuetests). The bug is inherited from upstream.Workflow changes: the lean CI matrix cherry-picked from #15 (
48e27cdc) and the 120-minute Linux test timeout.CHANGELOG-NONE
🤖 Generated with Claude Code