Commit graph

269 commits

Author SHA1 Message Date
Finn Evers
d4849ccda1
compliance: Add support for checking singular commit (#54369)
This helps with two things: Testing changes locally against real commits
as well as laying the groundwork for making things less convoluted for
the GitHub worker.

Also removes some useless wrapping left from an earlier direction.

Release Notes:

- N/A
2026-04-21 10:44:32 +00:00
Finn Evers
261c07358e
ci: Fix target branch for Zippy version bumps (#54346)
I assumed the action would pick up the branch from the context - turns
out it did not.

Release Notes:

- N/A
2026-04-20 18:25:44 +00:00
Finn Evers
98f94e2064
ci: Verify commits and releases created with Zed Zippy (#54264)
This changes our approach for creating Zed version bumps with the Zed
Zippy identity:

With these changes, the Zippy version bumps as well as the tag creations
will be verified as per
https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification#signature-verification-for-bots.
This adds an extra layer of security for version bumps and release
triggers done by the Zippy identity.

Eventually, we can move code more around for this so it happens in the
bot itself, but for now, I think its a good and solid interim solution
to have this here.

Release Notes:

- N/A
2026-04-20 18:54:12 +02:00
Lukas Wirth
626963b5ae
Run wasm builds in CI against pinned stable (#54081)
Release Notes:

- N/A or Added/Fixed/Improved ...
2026-04-16 22:39:31 +02:00
Finn Evers
a49cdce32b
ci: Add merge queue trigger (#51833)
This adds a merge queue trigger to our main CI job to allow for a merge
queue which runs a subset of our tests before merging to main.

With this setup, merging to main would probably take around one to two
minutes and would not catch all but definitely most issues. We could
extend it here though as we'd like.

Release Notes:

- N/A
2026-04-15 20:44:46 +02:00
Finn Evers
5611cc282d
compliance: Fix casing of GitHub in structs and traits (#53935)
Release Notes:

- N/A
2026-04-15 01:56:27 +02:00
Finn Evers
d367d3fbbc
compliance: Make trait more flexible (#53914)
This will make this easier to use with the GitHub worker.

Release Notes:

- N/A
2026-04-14 23:25:49 +02:00
Finn Evers
2e8dac64cd
compliance: Deserialize GraphQL responses better (#53817)
This will help a lot when dealing with this in the context of the Zed
Zippy bot.

Release Notes:

- N/A
2026-04-13 19:25:30 +02:00
Finn Evers
60a8b6f003
ci: Use GitHub context for artifact name (#53559)
Missed this yesterday in
https://github.com/zed-industries/zed/pull/53433, because in the `with`
level, we need to use the proper context syntax.

Release Notes:

- N/A
2026-04-12 23:54:22 +02:00
Finn Evers
7f73e38452
ci: Use Zed Zippy configuration for creating cherry-pick branch (#53640)
We hope this fixes an issue with permissions

Release Notes:

- N/A
2026-04-10 17:14:06 +00:00
Finn Evers
4c63fb1a10
compliance: Reduce noisiness when checks were successful (#53515)
This will ensure we do not post a second Slack message in case the first
check was successful. We still _run_ the second check, but do not notify

Release Notes:

- N/A
2026-04-10 18:39:35 +02:00
Lukas Wirth
2d650da0dc
ci: Do not install cargo machete by building it (#53607)
Re-building the tool on CI every time is pointless when can just install
the binary itself

Release Notes:

- N/A or Added/Fixed/Improved ...
2026-04-10 10:01:12 +00:00
Mikayla Maki
3436e51042
Change name of web search tool (#53573)
Self-Review Checklist:

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

Release Notes:

- N/A
2026-04-10 00:47:24 +00:00
Finn Evers
f2a66a8a87
compliance: Use tag instead of branch name by default (#53422)
Applies the changes from
https://github.com/zed-industries/zed/pull/53409 to the main branch

Release Notes:

- N/A
2026-04-09 08:27:49 +02:00
Finn Evers
ff0aa17944
compliance: Fix file report upload (#53425)
Applies https://github.com/zed-industries/zed/pull/53424 to the main
branch

Release Notes:

- N/A
2026-04-09 08:27:30 +02:00
Finn Evers
364ebfcc07
ci: Move building visual tests binary to separate step (#53440)
https://github.com/zed-industries/zed/pull/53408 did not solve the root
issue of the cache issues we were seeing with building the visual tests
binary.

Thus, moving this to a separate step here to test how fast it is and
removing it from the other test runs - it should not be there anyway and
especially not for the tests on release builds.

Release Notes:

- N/A
2026-04-09 00:23:58 +02:00
Piotr Osiewicz
c69a91baf8
ci: Clean workspace members more eagerly (#53427)
This relies on 1.94s --workspace option we've added to cargo

Self-Review Checklist:

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

Closes #ISSUE

Release Notes:

- N/A
2026-04-09 00:21:02 +02:00
Finn Evers
64c69cae9f
ci: Only link to PRs needing review if there are any (#53437)
This further reduces the noise of the compliance checks.

Release Notes:

- N/A
2026-04-08 21:16:43 +02:00
Finn Evers
abc2f5f7d6
ci: Continue on error if non-blocking compliance step fails (#53398)
This will make rerunning failing jobs easier, as this here is just a
pager, not anything we need to rerun - there exists a second check that
is blocking and should be rerun, this job however does not need to be.

Release Notes:

- N/A
2026-04-08 20:35:36 +02:00
Finn Evers
e758d257cf
ci: Fix artifact naming conflict (#53433)
This fixes the issue we saw in
https://github.com/zed-industries/zed/actions/runs/24147949240

Release Notes:

- N/A
2026-04-08 20:34:13 +02:00
Finn Evers
dc3d8f1780
ci: Remove noisy compliance webhook print (#53432)
This is very noisy and does not provide much, the artifact link to the
report is sufficient for now.

Release Notes:

- N/A
2026-04-08 18:31:35 +00:00
Finn Evers
45efb003d6
compliance: Check repository status for actor (#53343)
Also includes two other minor fixes for stdout info prints

Release Notes:

- N/A
2026-04-08 11:41:22 +02:00
Finn Evers
29c965a616
ci: Add workflow dispatch trigger for compliance workflow (#53327)
Also refines the reporting a bit.

Release Notes:

- N/A
2026-04-07 20:57:01 +02:00
Finn Evers
d2257dbc39
compliance: Initialize compliance checks (#53231)
Release Notes:

- N/A
2026-04-06 22:24:33 +02:00
Finn Evers
5a74733aee
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
ffbfff3e17
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
a212304ed2
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
7123238690
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
8e19c7474e
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]
cd05f19054
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
c3d1f7981b
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]
3183c04515
extension_ci: Bump extension CLI version to 1fa7f1a (#52437)
This PR bumps the extension CLI version used in the extension workflows
to `1fa7f1a3ec`.

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
1fa7f1a3ec
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
Cole Miller
abec0efce8
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
30d3467d4b
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
6a06f72f18
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
8022e9d8d1
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
657edd38b0
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
be4d38a56e
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
db362f5ba6
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
d820b079f9
extension_ci: Fix main repository version bumps (#51515)
Release Notes:

- N/A
2026-03-13 18:07:56 +00:00
Finn Evers
bb6a6e0305
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
ccb2674a77
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
7d566e0600
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
0c49aaae37
extension_rollout: Fix workflow file path (#51273)
Release Notes:

- N/A
2026-03-11 11:15:44 +00:00
Finn Evers
e5fb57c8af
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
38fa78cec7
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
1fec1cabff
ci: Clean up some of our workflows (#50499)
Release Notes:

- N/A
2026-03-04 22:27:54 +00:00
Richard Feldman
866ec42371
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
6a63387790
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