Skip to content

project_panel: Fix test-support feature mismatch#48280

Merged
smitbarmase merged 1 commit intomainfrom
fix-project-panel-test-support
Feb 3, 2026
Merged

project_panel: Fix test-support feature mismatch#48280
smitbarmase merged 1 commit intomainfrom
fix-project-panel-test-support

Conversation

@smitbarmase
Copy link
Member

@smitbarmase smitbarmase commented Feb 3, 2026

Follow-up to #46337

project_panel tests enable remote/test-support (via workspace/project), which adds RemoteConnectionOptions::Mock. But without remote_connection/test-support, the match arm for that variant isn't compiled, causing a non-exhaustive match error when testing the crate in isolation.

CI doesn't catch this because git_ui happens to enable remote_connection/test-support during workspace-wide tests.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 3, 2026
@smitbarmase smitbarmase changed the title project_panel: Fix test-support feature alignment project_panel: Fix test-support feature mismatch Feb 3, 2026
@smitbarmase smitbarmase merged commit 0952ee7 into main Feb 3, 2026
31 checks passed
@smitbarmase smitbarmase deleted the fix-project-panel-test-support branch February 3, 2026 17:12
adb-sh pushed a commit to adb-sh/zed that referenced this pull request Feb 5, 2026
Follow-up to zed-industries#46337

`project_panel` tests enable `remote/test-support` (via
`workspace`/`project`), which adds `RemoteConnectionOptions::Mock`. But
without `remote_connection/test-support`, the match arm for that variant
isn't compiled, causing a non-exhaustive match error when testing the
crate in isolation.

CI doesn't catch this because `git_ui` happens to enable
`remote_connection/test-support` during workspace-wide tests.

Release Notes:

- N/A
rtfeldman pushed a commit that referenced this pull request Feb 5, 2026
Follow-up to #46337

`project_panel` tests enable `remote/test-support` (via
`workspace`/`project`), which adds `RemoteConnectionOptions::Mock`. But
without `remote_connection/test-support`, the match arm for that variant
isn't compiled, causing a non-exhaustive match error when testing the
crate in isolation.

CI doesn't catch this because `git_ui` happens to enable
`remote_connection/test-support` during workspace-wide tests.

Release Notes:

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

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant