Repository navigation
test(terminal): stabilize headless GPU, Host timeout, and composer submit tests - #6640
Merged
Merged
Conversation
…bmit tests Decouple pixel Inbox ordering unit tests from WgpuHeadlessRenderer via inert FrameToken/InlineFrame constructors, serialize real headless GPU pixel tests under nextest, wait for Send message readiness before Enter submission across desktop composer tests, align real_host step timeouts with measured Host configureBatch latency while removing redundant whole-test timeout wrappers, and prune 8 low-confidence static-copy/pixel-probe UI tests. Generated-by: Antigravity
5 of 8 tasks
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.
Summary
Stabilize
rust-previewCI failures acrossmaka-terminal-shellandmaka-cliintegration/desktop suites, and prune low-confidence UI copy/pixel tests:Inboxordering tests from headless GPU & serialize real WGPU tests: Add inertFrameToken::inert/InlineFrame::inertconstructors (still rejected byTerminalPlatform::mark_presented) sosixel_latest_ready_*tests validate pure queue/generation state in<20msinstead of bootingWgpuHeadlessRenderer+ GPUI + Sixel encoding (previously 569s panic on 4-vCPU Lavapipe runners), and markterminal::pixels::tests::asthreads-required = "num-test-threads"in.config/nextest.toml.Entersubmission race: Route all four remainingdesktop.type_text(...)->desktop.key("enter", false)composer submissions indesktop_new_session.rsthroughdesktop.submit().awaitsoEnterwaits until the JS workbench enables"Send message"instead of racing native paste propagation and timing out onnext_request().real_hoststep timeouts with measured Host revision latency & remove redundant outer timeouts: Raisereal_hoststep wait timeout (WAIT_TIMEOUT) to60s(a single coldconfigureBatchrevision takes ~27s on 4-vCPU CI runners, exceeding the previous20spoll limit), trim redundant vendor copy-toggle/re-install loops inexternal_agents.rs, and drop ad-hoc whole-testtokio::time::timeoutwrappers in favor ofnextest.components.rsand 4 pixel-brightness / static-translation / rotation tests indesktop_new_session.rsalong with their unused fixture files (ContextGaugePreview.tsx,context_gauge_preview.tsx,loading_preview.tsx).Verification
cargo nextest run --locked -p maka-terminal-shell— 69/69 passed (sixel_latest_ready_*~18ms, real GPU pixel tests serialized cleanly)node scripts/ci.mjs run gpui— passed (includingtests::windowsverifyingTerminalPlatform::mark_presentedrejectsFrameToken::inert)cargo nextest run --locked -p maka-cli --test integrationon all touchedreal_hostsuites (external_agents,components,configuration_management,catalog_association,keyboard,send_hold,resumable,ui_plugins,attachments) — 20/20 passedcargo nextest run --locked -p maka-cli --no-default-features --features desktop-tests --test integration -E 'test(desktop_connection_failure_has_one_status_below_the_workspace) | test(desktop_retries_a_failed_turn_in_place) | test(desktop_system_permission_guidance_uses_native_actions_without_paths)' -j 1— 3/3 passed (desktop_connection_failure...23.0s, previously timed out at 84s before thesubmit()fix)cargo clippy --no-deps --lockedonmaka-terminal-shell,maka-cli(integration+desktop-tests), andnsh-gpui-terminal— 0 warningsnode scripts/ci.mjs check format,licenses,notices,tooling-tests— all passed (217/217tooling tests passed)windows-desktop,windows-nsh,windows-shell) and macOS (macos-host,native) CI jobs.AI use
Select exactly one:
Tool(s) and scope: Antigravity — CI failure root-cause analysis, test stabilization and pruning, and local verification.
Checklist
Does this PR entail a change in behavior?