Skip to content

Append dogfood-gated fading Warp end cards to computer-use videos - #17011

Merged
vkodithala merged 6 commits into
masterfrom
factory/cu-warp-end-card
Nov 30, 2026
Merged

vkodithala merged 6 commits into
masterfrom
factory/cu-warp-end-card

Conversation

@vkodithala

@vkodithala vkodithala commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Description

Append a two-second branded end card to Linux/Windows computer-use videos. The entire blue screen and white Warp artwork fade in over one second from the fully annotated last frame, then hold without fading out. Use the dedicated media player’s exact WarpWordmark vectors, centered at 22% of frame width (height-constrained for wide captures), and its #2a1eff blue.

VideoRecordingEndCard defaults on through the existing DOGFOOD_FLAGS list for Dev/Local builds; it is not exposed through RUNTIME_FEATURE_FLAGS. Native and MCP finalization check FeatureFlag::VideoRecordingEndCard.is_enabled() directly. No staging-endpoint guard, custom initialization or helper is needed. Preview/Release do not default-enable it. Disabling it adds no padding.

The existing ASS encode burns action overlays before cloning the last frame, so annotations remain seamless during the fade. Card timing follows the actual cut duration. macOS and raw-recording error/empty-action fallbacks remain unchanged.

Artwork source: warp-server/client/packages/factory/src/components/foundations/warp/warp-wordmark.tsx, used by ArtifactMediaHeader. Its paths are stored in crates/computer_use/assets/warp-wordmark.ass and embedded with include_str!; coordinates are scaled by 64 and rounded for ASS \p7 precision. The asset needs manual syncing with the web source; no converter or rendering dependency is added.

Linked Issue

APP-6633

  • The linked issue is labeled ready-to-spec or ready-to-implement. Linear tracks this work as In Review; no such label is used.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).

Testing

  • Current cleanup: verified the extracted asset exactly matches the previous 1,198-byte drawing. Existing real-FFmpeg fade test and warp_features tests pass (1 each; 1 flag test ignored). Targeted computer_use and warp_features all-target/test Clippy pass with warnings denied; affected packages formatted last.
  • Real-FFmpeg coverage verifies retained footage, seamless first padded frame, two-second extension, centered small artwork, intermediate background and artwork opacity, final opacity, disabled branding, and one-frame input. Earlier unchanged renderer validation: 93 computer_use tests passed, 3 skipped, excluding the unrelated native-X11 foreground test. Prior rollout revision also passed warp library Clippy.
  • Retained Linux Ubuntu Chromium proof exercises the unchanged production prepare_recording renderer. The direct processed MP4 avoids recording-of-playback smart cuts; the replacement playback capture was inspected separately and retains intermediate transition frames.
  • Windows visual/helper verification remains unexecuted because its environment did not prepare factory-dev hook sources. macOS end cards excluded by request.
  • I have manually tested my changes locally with ./script/run. Verified the recording-preparation API and MP4 playback instead.

Screenshots / Videos

Computer-use video recordings

View video recording - Actual processed MP4: smaller dedicated-player WarpWordmark and one-second full-screen fade from the last annotated frame. This is the production prepare_recording output, not a recording of playback.

Fresh load of source.cut.overlay.mp4 in Chromium, played start to finish without seeking, with small mouse movements outside the video.
Continuous playback of end-card overlay video: Fresh load of source.cut.overlay.mp4 in Chromium, played start to finish without seeking, with small mouse movements outside the video.

Computer-use screenshots

Mid-transition frame at t=4.25s: frozen source frame (timecode 3.950) crossfading toward blue with the semi-opaque white warp logo.
Mid-transition frame at t=4.25s: frozen source frame (timecode 3.950) crossfading toward blue with the semi-opaque white warp logo.

Final opaque end-card frame (~5.74s): solid blue background with opaque white warp logo, centered.
Final opaque end-card frame (~5.74s): solid blue background with opaque white warp logo, centered.

Agent Mode

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

CHANGELOG-NONE

Use the existing ASS burn-in pass to add a two-second blue end card after retained footage on Linux and Windows.

Co-authored-by: vkodithala <varoon@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Nov 28, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor

This PR was generated with Warp, requested by @vkodithala.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View on Slack

@warp-agent-staging warp-agent-staging Bot added the factory:eng-factory-slim Label associated to the "eng-factory-slim" factory label Nov 28, 2026
Co-authored-by: vkodithala <varoon@warp.dev>
@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review November 28, 2026 20:35

@warp-agent-staging warp-agent-staging 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

Append a fading Warp end card using the existing Linux/Windows ASS pass. Reviewed design, correctness, standards, complexity, naming, comments, tests, and security; no remaining code findings.

Verdict

Checks: Linux build/tests/Clippy pass; visual proof present. Normal CI running after readying; prior draft-only gather failure diagnosed. Windows helper setup blocked before tests.
Found: 0 critical, 0 important, 0 suggestions, 0 nits. Approve the code; merge remains subject to CI and human decision.

View in factory

Keep the annotated last frame behind the blue-card fade, retain the full wordmark through the last frame, and gate both recording paths behind a staging-default-on feature flag.

Co-authored-by: vkodithala <varoon@warp.dev>
@warp-agent-staging warp-agent-staging Bot changed the title Append a fading Warp end card to computer-use videos Append staging-gated fading Warp end cards to computer-use videos Nov 28, 2026

@warp-agent-staging warp-agent-staging 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

The full Warp end card fades in from the annotated final frame and remains opaque, gated to staging by a default-on flag. Reviewed design, correctness, standards, complexity, naming, comments, tests, and security; no remaining findings.

Verdict

Checks: Linux build, 157 tests, and targeted Clippy pass; visual proof present. Current CI is running/queued with no failures observed. Windows helper setup blocked before execution; macOS excluded.

Found: 0 critical, 0 important, 0 suggestions, 0 nits. Approve; merge remains subject to CI and the human decision.

View in factory

Use the dedicated player's exact WarpWordmark at a smaller scale, crossfade the full card for one second, and exclude the native recording flag helper from wasm to keep Clippy clean.

Co-authored-by: vkodithala <varoon@warp.dev>

@warp-agent-staging warp-agent-staging 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

The staging-gated end card uses the dedicated player’s smaller WarpWordmark and a one-second whole-screen fade. Reviewed design, correctness, standards, complexity, naming, every changed comment, tests, and security; no remaining findings.

Verdict

Checks: Linux tests and targeted Clippy pass; exact wasm Clippy passes locally and in current-head CI; visual proof present, including direct processed MP4 and inspected continuous playback. Remaining CI is running with no failures observed; Windows visual verification remains blocked by helper setup.

Found: 0 critical, 0 important, 0 suggestions, 0 nits. Approve; merge remains subject to CI and the human decision.

View in factory

Co-authored-by: vkodithala <varoon@warp.dev>
@warp-agent-staging warp-agent-staging Bot changed the title Append staging-gated fading Warp end cards to computer-use videos Append dogfood-gated fading Warp end cards to computer-use videos Nov 30, 2026

@warp-agent-staging warp-agent-staging 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

The end card now defaults on through DOGFOOD_FLAGS for Dev/Local builds, with direct flag checks and no custom staging initialization or endpoint guard. Reviewed the full diff across design, correctness, standards, complexity, naming, comments, tests and security; no remaining findings.

Verdict

Checks: affected tests and Linux library Clippy pass; unchanged renderer’s visual proof retained. Current CI is running/queued with no failures observed; Windows visual verification remains blocked by helper setup.

Found: 0 critical, 0 important, 0 suggestions, 0 nits. Approve; merge remains subject to CI and the human decision.

View in factory

Co-authored-by: vkodithala <varoon@warp.dev>

@warp-agent-staging warp-agent-staging 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

The wordmark is embedded from a named ASS drawing asset with source/scale provenance, and the end-card flag is no longer runtime-switchable. Self-review found no issues; this revision preserves the drawing bytes and renderer behavior.

Verdict

Checks: exact 1,198-byte artwork comparison, existing FFmpeg fade test, flag tests and targeted Clippy pass; prior visual proof retained. CI is running/queued with no failures observed. Bounded flag-security pass clean; no full-review escalation.

Found: 0 critical, 0 important, 0 suggestions, 0 nits. Approve; merge remains the human’s decision after CI.

View in factory

@vkodithala
vkodithala enabled auto-merge (squash) November 30, 2026 19:03
@vkodithala
vkodithala merged commit 5083b53 into master Nov 30, 2026
32 checks passed
@vkodithala
vkodithala deleted the factory/cu-warp-end-card branch November 30, 2026 19:23
@warp-local-for-testing-only

Copy link
Copy Markdown

@vkodithala, your GitHub account is not connected to Warp. Connect your GitHub account, then retry github-pr-closed-or-merged from eng-factory-slim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:eng-factory-slim Label associated to the "eng-factory-slim" factory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant