Commit Graph
369 Commits
Author SHA1 Message Date
Ben Kunkle d86d6f44df docs: Re-add missing cookie banner env var in build (#56889)
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)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...
2026-05-15 15:04:55 +00:00
Lukas Wirth c03d9261d3 scheduler: Fix stacked borrows violation in scheduler (#56850)
Release Notes:

- N/A or Added/Fixed/Improved ...
2026-05-15 10:07:50 +00:00
Finn Evers 40668eee14 ci: Build nightly more frequently (#53800)
This updates the nightly workflow to run hourly as opposed to once
daily.

Notably, it also 
- changes the poll duration for the auto updater - we now poll 4 times
an hour on the Nightly channel and continue with the old rate for all
other channels
- moves the pre-checks to the linux runners, since we have more
resources available there
- only ever allow one concurrent nightly run

Release Notes:

- N/A
2026-05-15 09:08:55 +00:00
Finn Evers 131fecce9d ci: Prepare for Node.js 20 deprecation (#56812)
https://github.com/zed-industries/zed/actions/runs/25881329418 complains
about the deprecation of Node.js version 20, which will soon be
force-bumped to 24 in the runner contexts.

Thus, this PR bumps all the jobs mentioned there to versions that run on
Node.js 24 by default. I checked all the release note section for the
three actions and this should not change any behaviour according to
their release notes and get us ready for the deprecation.

Release Notes:

- N/A
2026-05-15 08:29:24 +00:00
Finn Evers 86bd5b6ecd extension_ci: Fix formatting check failing on grammar queries (#56788)
Since we download the grammars into the `./grammars` directory, the
formatting check can fail on unformatted query files that are present in
the grammars directory, as observed in
https://github.com/zed-extensions/log/pull/18

Thus, this PR changes the check to be more specific to just the queries
in the `languages` directory.

Release Notes:

- N/A
2026-05-14 19:17:01 +00:00
Finn Evers a48277c543 ci: Ensure generated workflows do not become stale (#55198)
This ensures that upon workflow removal in Rust code, the corresponding
workflow file will not accidentally stay in the repository.

Release Notes:

- N/A
2026-05-06 18:50:53 +00:00
Finn Evers 6f8db571a8 ci: Create releases with the Zed Zippy identity (#55649)
Just a small QoL, the change here will make it so that under
https://github.com/zed-industries/zed/releases/tag/v1.0.1 the releases
will show as created by zed-zippy and not github-actions.

Release Notes:

- N/A
2026-05-04 16:49:23 +00:00
Piotr Osiewicz 5287b59b30 build: Allow pinning of webrtc build artifacts (✈️ edition) (#55336)
tl;dr: you can now run `cargo xtask setup_webrtc`, which:
1. Fetches webrtc artifacts into a gitignored directory in Zed repo
2. Adds a [env] section to `~/.cargo/config.toml` on your box which
forces
   LK to NOT download webrtc artifacts as a part of its build script

The end result: `cargo clean` is no longer a horrid experience with in
horrid network environments.

Caveats:
1. This does not handle appending to existing cargo config. The setup
   script will fail if there's one in place.
2. You need to redo this thing (fetch env var and whatnot) whenever LK
   version is bumped.
3. This is not mandatory for builds to work. You only really have to do
this for your own convenience, but builds will work just fine without it
(unless your connection sucks).

Self-Review Checklist:

- [ ] 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
- [ ] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A
2026-05-04 06:22:51 +00:00
Ben Kunkle d0f8ea63cf Staged docs releases (#50136)
Closes #ISSUE

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

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-04-30 11:10:14 +00:00
Finn Evers bdd546b297 ci: Remove release retagging support (#55199)
From now on, we will instead just make another patch version bump. That
has the advantage that tags will actually always only be applied to the
version bump and not some random change as well as us being able to
prohibit updates of tag refs for the Zed Zippy identity as well.

Release Notes:

- N/A
2026-04-29 13:13:37 +00:00
Conrad Irwin 5e011dcf0b Don't auto-release first preview (even if it's not .0) (#55166)
Self-Review Checklist:

- [ ] 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
- [ ] Performance impact has been considered and is acceptable

Release Notes:

- N/A
2026-04-29 09:40:38 +00:00
Finn Evers 4230885f49 ci: Fix autofix workflow (#55004)
It also still does too much, but is at least faster while doing so.

Release Notes:

- N/A
2026-04-27 14:10:03 +00:00
Finn Evers 0ac8db01ea compliance: Fix futures dependency (#55003)
We need this nowaways outside of the octocrab feature too

Release Notes:

- N/A
2026-04-27 13:30:00 +00:00
Finn Evers 7d8e34ae14 ci: Reduce compliance notifications on success (#54669)
...What a beatiful syntax to have in a context where anything else would
not be evaluated regardless.

Release Notes:

- N/A
2026-04-24 08:56:22 +00:00
Finn Evers 3fe9753d89 ci: Improve messaging around compliance failures (#54636)
Release Notes:

- N/A
2026-04-24 08:27:25 +00:00
Finn EversandDanilo Leal c49ffd1e88 Fix bad GitHub merge queue merge (#54721)
No, sadly, the title is not a typo. See
https://www.githubstatus.com/incidents/zsg1lk7w13cf for the context.
I'll read with joy and popcorn through that root cause analysis.

It makes literally zero sense what happened here, but for some completly
bonkers reason GitHub completely messed up the merge queue with
https://github.com/zed-industries/zed/pull/54632.

I have no idea how it happened. It makes literally zero sense. A PR
going into the merge queue should have the same LoC when getting out of
it. GitHub obviously does not check this. GitHub causes extra work with
a feature that is supposed to save time.

Thanks, I guess.

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2026-04-23 23:47:30 +00:00
Danilo Leal 184e1d93e3 branch_picker: Add button to filter remote branches (#54632)
This PR brings back the button to filter remote branches when accessing
the title bar's branch picker with the mouse. It was unintentionally
removed when we introduced the new worktree picker.

Release Notes:

- N/A
2026-04-23 18:26:44 +00:00
Finn Evers 161ef2e4bf compliance: Add temporary allowlist (#54644)
To not have another week of failing checks on Preview and until we find
a better way of handling these errors.

Release Notes:

- N/A
2026-04-23 11:54:16 +00:00
Finn Evers e7348cc427 ci: Perform compliance checks in parallel (#54564)
Not to be merged before https://github.com/zed-industries/zed/pull/54550

This makes it so that we perform not all checks sequentially but in
parallel which should overall make this a lot faster.

Ultimately, we can save some more requests if we were to search for all
co-author looking PRs with one GraphQL query, but for now, this here
should make things a lot faster already whilst working fine with rate
limits.


Release Notes:

- N/A
2026-04-23 10:50:51 +00:00
Finn Evers 7de5efe32b compliance: Allow Zippy release channel changes (#54572)
This adds support for tracking Zed Zippy channel changes with the
compliance automation.

Release Notes:

- N/A
2026-04-23 10:37:53 +00:00
Finn Evers 5896b767bf ci: Bump script check runner size (#54615)
Since we build the workflows xtask on this runner, increasing the size
here to make that job faster.

Release Notes:

- N/A
2026-04-23 10:22:05 +00:00
Finn Evers 2bcfd4f974 compliance: Use author_association where possible (#54550)
This changes some of the checks to use the existing `author_association`
where possible, which will result in no change of effect - this is also
what GitHub uses internally.

The advatage is that it saves us a few requests, especially in the
context of the GitHub worker, and allows us to share code more
efficiently here. It also removes some ugly duplication I wanted to get
rid of for some time and makes the code overall more readable IMO.

Release Notes:

- N/A
2026-04-23 07:34:22 +00:00
Finn Evers d5df038235 ci: Fix merge queue trigger (#54611)
This one was supposed to run, but was accidentally skipped.

Release Notes:

- N/A
2026-04-23 07:16:02 +00:00
Finn Evers dcd7a02ce5 ci: Add workflow for bumping Zed versions (#54485)
Release Notes:

- N/A
2026-04-23 00:56:18 +02:00
Finn Evers 2992cb92d8 compliance: Account for Zippy commits without PR in report summary (#54461)
The report summary previously assumed that every commit that had a
review would also have an associated PR - this was no longer the case
with Zippy PRs that are allowed without PR. This pull request fixes this
wrong assumption.

Release Notes:

- N/A
2026-04-22 02:01:56 +02:00
Finn Evers 8ce6b24b2a compliance: Allow Zippy version bumps (#54342)
This adds checks for the Zed Zippy version bumps. These are rather
strict, but since we should also be strict with the bumps themselves, I
consider this the better approach.

Note this intentionally only includes the version bumps here for now.

Release Notes:

- N/A
2026-04-22 01:17:21 +02:00
Finn Evers bcec9a9bed compliance: Temporarily fix the wrong compliance reports (#54401)
This will be fully replaced by
https://github.com/zed-industries/zed/pull/54342 - however, this will
not help for the next week on the stable branch, since we have plenty of
non-signed commits on that branch currently.

Thus, adding this temporary check here to fix this and which is a
cherry-pickable change. This **will** be fully replaced by the linked
PR, however, I cannot cherry pick that since we would otherwise need to
force-push the branches to remove the bad commits.

Release Notes:

- N/A
2026-04-21 13:26:14 +02:00
Finn Evers 0d0f8585a2 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 9b5dd30b8c 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 f9593f71aa 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 b8904b93d5 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 353e1016bc 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 62fa5cd470 compliance: Remove irrelevant case (#53936)
We will not be proceeding with this, thus removing it here to have less
variants.

Release Notes:

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

- N/A
2026-04-15 01:56:27 +02:00
Finn Evers e51aaa1fa1 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 795929ac6c compliance: Expose some more methods (#53831)
They will again come in handy for the GitHub worker.

Release Notes:

- N/A
2026-04-14 00:22:16 +02:00
Finn Evers 8fc860851f 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 d056fea822 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 7e6241778f 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 2fb2cac8e0 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 11cb9f4356 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 28cc5c3039 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 8df02db4e1 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 aac50b9fb9 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 bde48d0341 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 3c17a3d748 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 cf4984bc70 compliance: Also check for approval pattern in pull request reviews (#53431)
Release Notes:

- N/A
2026-04-08 22:11:08 +02:00
Finn Evers 5de175ddca 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 77cfe1be5d 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 b6ac2472f0 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