Skip to content

Ignore three timing-dependent tests on Windows CI (APP-5820) - #15823

Open
warp-factories[bot] wants to merge 1 commit into
masterfrom
factory/app-5820-windows-ci-flaky-ignore
Open

Ignore three timing-dependent tests on Windows CI (APP-5820)#15823
warp-factories[bot] wants to merge 1 commit into
masterfrom
factory/app-5820-windows-ci-flaky-ignore

Conversation

@warp-factories

@warp-factories warp-factories Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

Three timing-dependent tests have been flaking on Windows CI, each on a separate PR unrelated to the code they touch (see APP-5820):

  • terminal::shared_session::sharer::network::tests::test_handle_pty_read_event_while_batching
  • terminal::shared_session::sharer::network::tests::test_selection_updates_throttled_and_duplicates_ignored
  • terminal_session_view::tests::shell_completion_source_warmup_loads_path_executables

This PR implements the "Immediate action" requested in the issue: mark these three tests #[cfg_attr(windows, ignore = "APP-5820: flaky on Windows CI")], matching the existing convention already used in this codebase for known Windows-only flakes (e.g. TODO(CORE-3626) in history_tests.rs, input_tests.rs, completer/test.rs, etc.). Coverage is preserved on Linux and macOS, where these tests are reliable.

The "Real fix" described in the issue (replacing the implicit timing assumptions with polling on observable state, then removing these ignore attributes) is intentionally out of scope for this PR and remains tracked on the issue.

Linked Issue

APP-5820

Testing

This is a test-only change (adding #[cfg_attr(windows, ignore = ...)] attributes). No new tests are added; the change only affects which platforms run the three existing tests. Verified the edited files still parse correctly with rustc (full cargo test/cargo check were not run in this environment).

Agent Mode

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

CHANGELOG-NONE

Mark the three tests identified in APP-5820 as ignored on Windows only,
matching the existing #[cfg_attr(windows, ignore = "...")] convention
used elsewhere in this codebase for known Windows CI flakes. Coverage
is preserved on Linux and macOS, where these tests are reliable.

- terminal::shared_session::sharer::network::tests::test_handle_pty_read_event_while_batching
- terminal::shared_session::sharer::network::tests::test_selection_updates_throttled_and_duplicates_ignored
- terminal_session_view::tests::shell_completion_source_warmup_loads_path_executables

This is the immediate mitigation requested in APP-5820 so that unrelated
PRs stop getting blocked by these flakes. The real fix (replacing the
implicit timing assumptions with polling on observable state and then
removing these ignore attributes) is tracked separately in that issue.
@cla-bot cla-bot Bot added the cla-signed label Sep 4, 2026
@warp-factories

warp-factories Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

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

View run View conversation View on Linear

@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review September 4, 2026 21:12
@warp-for-oss

warp-for-oss Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

@warp-agent-staging[bot]

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 /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@warp-for-oss warp-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 conditionally ignores three existing timing-dependent tests on Windows while keeping them active on Linux and macOS.

Concerns

  • No blocking concerns found. The added cfg_attr(windows, ignore = ...) attributes match existing repository convention and include the tracking issue.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

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

Powered by Oz

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.

0 participants