Commit Graph
247 Commits
Author SHA1 Message Date
Finn Evers 1e1c05e440 ci: Add pull request write permissions for cherry-pick workflow (#52927)
This was missing from the previous permissions changes.

Self-Review Checklist:

- [X] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [X] Performance impact has been considered and is acceptable

Release Notes:

- N/A
2026-04-02 10:22:34 +02:00
Richard Feldman 05031b8c88 Add visual tests to macOS CI (#52847)
This fixes three pre-existing issues in the visual test runner that were
never caught because visual tests aren't run in CI.

## Fixes

**1. Re-entrant read panic in sidebar creation (3 places)**

`Sidebar::new` reads the `MultiWorkspace` entity, so creating it inside
a `multi_workspace.update()` closure causes a `cannot read while being
updated` panic. Fixed by using `update_window` with
`root_view.downcast()` to get the handle without holding a mutable
borrow.

**2. Tooltip entity leak in breakpoint_hover test**

The tooltip system has an Rc cycle (`ActiveTooltip::Visible` holds a
`check_visible_and_update` closure that captures the
`Rc<RefCell<Option<ActiveTooltip>>>`). This cycle is normally broken
when the tooltip is dismissed, but the test closed the window while the
tooltip was still visible, causing a panic from the leak detector. Fixed
by simulating a click before cleanup to dismiss the tooltip.

**3. Visual tests not in CI**

Added a `cargo_run_visual_tests` step to the macOS test job via xtask so
these tests run on every PR and regressions are caught early.

Release Notes:

- N/A
2026-04-01 23:11:40 -04:00
Finn Evers 124f52275b ci: Set explicit permissions for Zed Zippy (#52895)
This hopefully fixes the permission issues we are seeing with the Zed
Zippy cherry picks

Release Notes:

- N/A
2026-04-01 22:04:08 +02:00
Finn Evers a71c060bce Remove slash-commands-example extension (#52835)
Follow-up to https://github.com/zed-industries/zed/pull/52757

Release Notes:

- N/A
2026-03-31 18:27:38 +02:00
Ben Brandt 91b93c44ed eval: Remove deprecated eval crate and workflow (#52733)
This is replaced by eval_cli

Release Notes:

- N/A
2026-03-30 13:33:29 +00:00
renovate[bot]andMarshall Bowers f3650d3259 Pin dependencies (#52522)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/github-script](https://redirect.github.com/actions/github-script)
| action | pinDigest | → `f28e40c` |
|
[actions/setup-python](https://redirect.github.com/actions/setup-python)
| action | pinDigest | → `a26af69` |
|
[namespacelabs/nscloud-cache-action](https://redirect.github.com/namespacelabs/nscloud-cache-action)
| action | pinDigest | → `a90bb5d` |
|
[taiki-e/install-action](https://redirect.github.com/taiki-e/install-action)
| action | pinDigest | → `921e2c9` |
|
[taiki-e/install-action](https://redirect.github.com/taiki-e/install-action)
| action | pinDigest | → `b4f2d5c` |
|
[withastro/automation](https://redirect.github.com/withastro/automation)
| action | pinDigest | → `a5bd0c5` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/15138) for more information.

---

### Configuration

📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

Release Notes:

- N/A

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45MS41IiwidXBkYXRlZEluVmVyIjoiNDMuOTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
2026-03-26 19:36:04 +00:00
Finn Evers d15c3a595d ci: Update workflows to prepare for Node.js 20 deprecation (#52443)
The workflow run at
https://github.com/zed-industries/zed/actions/runs/23557683707 succeeded
but threw some warnings for a rather-soon Node.js 20 deprecation (June
2nd).

Hence, this PR updates in that context mentioned workflows to newer
versions from which on the actions will use Node.js 24.

Namely, this updates
- `actions/checkout`
- `actions/create-github-app-token` and
- `peter-evans/create-pull-request`

to their latest version which includes said updates. As for their most
recent versions, all of these actions just updated their versions to
account for said deprecation.

Release Notes:

- N/A
2026-03-26 10:08:06 +01:00
zed-zippy[bot] 66c86da881 extension_ci: Bump extension CLI version to 978e2ba (#52437)
This PR bumps the extension CLI version used in the extension workflows
to `978e2ba7fab2fe1a02cdd3e553e39f92f7c9e353`.

Release Notes:

- N/A

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
2026-03-25 19:50:16 +01:00
Finn Evers 978e2ba7fa ci: Bump runner size for extension CLI publishing job (#52433)
As of https://github.com/zed-industries/zed/pull/50750, the runner size
for building the extension CLI is no longer sufficient due to the
addition of the `settings_content` crate as a dependency. The [most
recent workflow
run](https://github.com/zed-industries/zed/actions/runs/23554506504/job/68577404831)
fails while building that crate due to insufficient RAM availlable
during the build.

Removing the dependency is not an option, as we do want to have the
validation here and need structs from the settings content crate to do
so.

Thus, changing the job here to a larger runner to fix the build and also
build it faster.

Release Notes:

- N/A
2026-03-25 18:27:17 +00:00
f7c1edfe24 ci: Run clippy for x86_64-apple-darwin target (#52036)
Release Notes:

- N/A

---------

Co-authored-by: Finn Evers <finn@zed.dev>
Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
2026-03-21 09:44:34 +01:00
Finn Evers b0121e5b67 extension_ci: Switch back to upstream action (#51829)
This switches the action back to the upstream one where the changes were
merged (thanks @\huacnlee for the quick action)

Aside from that, it does some minor fixes: It adds the bumper as an
assignee on the extensions PR and also ensures we do not try to bump
here in the repo for the test extensions.

Release Notes:

- N/A
2026-03-18 11:54:16 +01:00
Finn Evers f037e38b84 extension_ci: Bump update action and fix cache issues (#51716)
This PR bumps the update action again. It also fixes a bug where a cache
issue could occur during the extension auto bump and adds update
auto-merge for PRs from staff-members in zed-industries/extensions.

Release Notes:

- N/A
2026-03-16 22:26:56 +00:00
Finn Evers ef01926eba extension_ci: Bump update action revision (#51679)
This should put us in a state where everything finally works in its
entirety.

Release Notes:

- N/A
2026-03-16 15:46:09 +00:00
Finn Evers 53c9e23c0a extension_ci: Use temporary fork for release action (#51674)
Moving to the for here before the fix gets upstreamed. We might revisit
this at a later point anyway.

Release Notes:

- N/A
2026-03-16 14:30:01 +00:00
Jakub Konka cddf27b6bd livekit: Use our build of libwebrtc.a (#51433)
Closes #51339

This should address issues with too new libstdc++.so on older/more
conservative distros such as RHEL9.

Release Notes:

- Relaxed requirement for libstdc++.so available on Linux distros.
2026-03-16 10:47:36 +01:00
Finn Evers 6cec270baf extension_ci: Use proper PR description for main repository (#51519)
Release Notes:

- N/A (https://tenor.com/view/ironic-star-wars-chode-gif-5274592)
2026-03-13 18:42:56 +00:00
Finn Evers 466df9e47c extension_ci: Fix main repository version bumps (#51515)
Release Notes:

- N/A
2026-03-13 18:07:56 +00:00
Finn Evers b039b48fcb ci: Fix jq command (#51510)
Sigh.. The missing flag caused the wrong output to be used, resulting in
an error in the process.

Release Notes:

- N/A
2026-03-13 17:30:15 +00:00
Finn Evers 097dd9acfe extension_ci: Add infrastructure for this repository (#51493)
This will allow us to also use the workflows for this repository, which
will especially come in handy once we revisit provider extensions.

Not perfect, as we will trigger some failed workflows for extensions
that were just added

Release Notes:

- N/A
2026-03-13 18:17:29 +01:00
Finn Evers 73cafa4780 extension_ci: Add initial support for extensions in a subdirectory (#51173)
This wil help with releases for extensions living this repository, which
will become more relevant once agent provider extensions are back on the
table.

Release Notes:

- N/A
2026-03-13 13:40:45 +01:00
Finn Evers 10893d02af extension_rollout: Fix workflow file path (#51273)
Release Notes:

- N/A
2026-03-11 11:15:44 +00:00
Finn Evers ed05157b8a extension_rollout: Add incremental rollout (#51264)
This will allow us to test changes against just a subset of extensions.
Another advantage is that extension workflows will be pinned, which
allows for easier debugging and better predictability.

Release Notes:

- N/A
2026-03-11 11:53:22 +01:00
Jakub Konka d4ca11b172 ci: Update workflows/scripts for deploying collab to use clang (#51224)
Release Notes:

- N/A
2026-03-10 22:41:43 +01:00
Finn Evers 4f407183b3 ci: Clean up some of our workflows (#50499)
Release Notes:

- N/A
2026-03-04 22:27:54 +00:00
Richard Feldman 97d1a11809 Remove deprecated Gemini 3 Pro Preview (#50503)
Gemini 3 Pro Preview has been deprecated in favor of Gemini 3.1 Pro.
This removes the `Gemini3Pro` variant from the `Model` enum and all
associated match arms, updates eval model lists, docs, and test
fixtures.

A serde alias (`"gemini-3-pro-preview"`) is kept on `Gemini31Pro` so
existing user settings gracefully migrate to the replacement model.

Closes AI-66

Release Notes:

- Removed deprecated Gemini 3 Pro Preview model; existing configurations
automatically migrate to Gemini 3.1 Pro.
2026-03-04 15:53:26 +00:00
Finn Evers fe9cad29e8 extension_ci: Add formatting check for Tree-sitter queries (#50318)
This rolls out the formatting check to extensions also.

Release Notes:

- N/A
2026-03-02 10:27:01 +01:00
Finn EversandAnthony Eid d3a489e835 ci: Add check for protobuf formatting (#50418)
This adds more checks for the protobuf files to CI

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <anthony@zed.dev>
2026-03-01 13:18:09 +01:00
Jakub Konka b3decf6454 ci: Install newer LLVM toolchain on Ubuntu 20.04 runners (#50414)
Release Notes:

- N/A
2026-03-01 00:59:00 +01:00
Jakub Konka 752cd04584 ci: Fix bundling linux (#50375)
Release Notes:

- N/A
2026-02-28 19:59:33 +00:00
Jakub Konka 3dc87b763a Use updated version of our fork of rust-sdks (#50205)
Use updated version of our fork of `rust-sdks` with two minor tweaks
that I also submitted for upstreaming.

Release Notes:

- N/A
2026-02-27 20:22:03 +01:00
Lukas Wirth 0eb42845be xtask: Fix cargo xtask web-examples build on stable (#50325)
Avert thy eyes rust project folks

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-02-27 17:50:51 +00:00
Finn Evers 0a275cb9cd ci: Add check for formatting of query files (#50140)
Follow-up to https://github.com/zed-industries/zed/pull/50138

I deliberately decided against adding this in a separete job because
ts_query_ls is very fast when it comes to both formatting these as well
as checking for proper formatting. Will see here how long it takes to
install and whether we might need to adjust to account for the
installation time.

Release Notes:

- N/A
2026-02-27 14:02:16 +00:00
Lukas WirthandJohn Tur f3f6d62664 GPUI on the web (#50228)
Implements a basic web platform for the wasm32-unknown-unknown target
for gpui

Release Notes:

- N/A *or* Added/Fixed/Improved ...

---------

Co-authored-by: John Tur <john-tur@outlook.com>
2026-02-26 18:36:50 +01:00
Finn Evers 9b754a7128 extension_ci: Shorten SHA length in PR titles (#50135)
This PR shortens the length of the Git SHAs in the PR titles to 7
characters, as this is the default for short SHAs.

Release Notes:

- N/A
2026-02-25 22:47:56 +00:00
Finn Evers 3e1f92f334 extension_ci: Ensure version bump does not happen too often (#50108)
Sigh....

Release Notes:

- N/A
2026-02-25 17:09:07 +00:00
Finn Evers 0ce6b74d2b extension_ci: Fix condition comparison type (#50100)
No comment.
No string.
And this definitely does not spark joy.

Release Notes:

- N/A
2026-02-25 16:23:31 +00:00
Finn Evers 70b101204d extension_ci: Remove merge-base fork-point flag in version check (#50014)
Also removes the debugging step again.

Release Notes:

- N/A
2026-02-24 18:37:20 +00:00
Finn Evers fc1e7f4f23 extension_ci: Add debugging step (#50013)
GitHub 4 me 0 - after testing for x times in a local and even the remote
setup provided by Namespace during an action, this now adds a dedicated
step to debug the failure we are seeing in extension tests to finally
resolve said issue.

Release Notes:

- N/A
2026-02-24 18:20:57 +00:00
Finn Evers 3045680a35 extension_ci: Explicitly state second merge base parameter (#50011)
Release Notes:

- N/A
2026-02-24 18:03:31 +00:00
Finn Evers 61c7b2d1c9 extension_ci: Update compare versions check (#50006)
Updates the check to explicitly compare against `origin/main` as opposed
to just `main`.

Release Notes:

- N/A
2026-02-24 17:01:31 +00:00
Finn Evers 1ce4d2e109 extension_ci: Set fetch-depth to 0 in tests (#49996)
This makes the full history available in tests. 

Release Notes:

- N/A
2026-02-24 16:36:09 +00:00
Finn Evers 7e29079083 extension_ci: Use fork point for version comparison (#49972)
Lost another battle to the GitHub docs. Instead, now let's just do it
ourselves here in bash and not guess whatever GitHub is referring to in
their documentation..

Release Notes:

- N/A
2026-02-24 12:28:12 +00:00
Finn Evers 27169efb96 extension_ci: Use head_ref for version comparison (#49970)
Release Notes:

- N/A
2026-02-24 12:00:30 +00:00
Finn Evers e815f374ac extension_ci: Allow some more time for tests job (#49900)
Gives the compilation in a repository with a few more grammars some more
time to run. Also adds the Rust cache which might be utilized here
during Rust compilation.

Release Notes:

- N/A
2026-02-23 15:02:50 +00:00
Jakub Konka 8d900471b4 gpui_linux: Fix cargo test on wayland (#49686)
Ensures we can run tests for just `gpui_linux` on Linux/Wayland like so:

```
$ cargo test -p gpui_linux
```

Release Notes:

- N/A
2026-02-20 13:27:09 +01:00
Piotr OsiewiczandMarshall Bowers 587b3128b6 ci: Make filter script less error-prone (#49670)
The failure in #49661 was caused by a broken pipe, which then led to
tests not being ran.

Co-authored-by: Marshall Bowers <marshall@zed.dev>

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Co-authored-by: Marshall Bowers <marshall@zed.dev>
2026-02-20 01:06:53 +01:00
Finn Evers b6ac9d1c03 extension_ci: Make parsing of current version more robust (#49411)
This removes trailing whitespace when getting the current version of the
extension, as we ran into some cases where a `\r` was added to that for
some reason.

Release Notes:

- N/A
2026-02-17 22:21:16 +00:00
Finn Evers 46dd9da60b extension_ci: Improve job orchestration (#49407)
This fixes an issue where some changes that should trigger more checks
would go unnoticed.

Release Notes:

- N/A
2026-02-17 21:54:17 +00:00
Finn Evers a93f4bbcdc extension_rollout: Prevent dispatch from non-main branches (#49396)
Release Notes:

- N/A
2026-02-17 19:58:42 +00:00
Finn Evers 6c7172f975 extension_ci: Increase fetch depth for tests job (#49389)
We need more fetch depth here for the check, hence bumping this.

Also does a drive-by cleanup of the checkout step within xtask to make
this (hopefully) more intuitive to use.

Release Notes:

- N/A
2026-02-17 18:49:18 +00:00