Commit graph

786 commits

Author SHA1 Message Date
Finn Evers
82dedcbc6c
extension_ci: Merge extension workflow files into one file (#48810)
This PR consolidates the two workflow files shipped to extensions into
one, which stops us from requiring a separate runner for what can
actually be done in one workflow.

It also
- adds a check that version bumps will now only be created by zed-zippy
in separate commits.
- Makes the bumping of versions faster and more reliable.
- (Hopefully) fixes an issue we were seeing in some CI tests.

Release Notes:

- N/A
2026-02-09 21:18:53 +01:00
Mikayla Maki
148b102762
Update the PR template to have a checklist (#48646)
Release Notes:

- N/A
2026-02-06 22:44:07 +00:00
Lena
37bd7b31f0
Autolabel pull requests by bots (#48579)
In combination with auto-labeling staff PRs, this makes it possible to
see the community PRs with `-label:staff -label:bot` in the search query
on https://github.com/zed-industries/zed/pulls

Release Notes:

- N/A
2026-02-06 11:18:20 +00:00
Lena
c94b28fecf
Autolabel staff's pull requests (#48576)
Modifying the existing github workflow here instead of adding a new one
because we're already triggering on the same thing (new PR opened) and
checking the same thing (staff team membership) but throwing away the
result. Another CI job doing largely the same checks seemed unnecessary.

Release Notes:

- N/A
2026-02-06 10:29:48 +00:00
Finn Evers
ee41463038
ci: Move more jobs to Namespace runners (#48228)
This moves some more of our CI jobs over to xtask and gh-workflow. This
primarily originated from the current GitHub actions outage to move
these actions over to Namespace runners. However, while I was at it I
decided to move these over to gh_workflow, as we benefit from sharing
more stuff across these files and less hacking around in YAML-files
directly.

Release Notes:

- N/A
2026-02-05 12:06:01 +00:00
Piotr Osiewicz
dedf390b75
ci: Use package name for contents of changed_pkgs (#48459)
Helps with #48413

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>

Release Notes:

- N/A

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
2026-02-05 12:59:50 +01:00
Piotr Osiewicz
f0dfb443d6
ci: Trigger tests on Cargo.toml and Cargo.lock changes (#48412)
Finn found out the hard way that the new cool tech does not quite work
at times. Back to the drawing board we go (at least partially).

Closes #ISSUE

Release Notes:

- N/A
2026-02-04 22:33:24 +00:00
Piotr Osiewicz
825cf2db7e
ci: Parse Cargo.toml and Cargo.lock with Python script to determine affected packages (#48389)
Closes #ISSUE

Release Notes:

- N/A
2026-02-04 19:31:25 +00:00
Piotr Osiewicz
356fb94cae
ci: Run tests only for the changed packages and their dependants (#48380)
We're still gonna run a full test suite on main and in non-PR workflows
exercising tests


Release Notes:

- N/A
2026-02-04 19:39:33 +01:00
Conrad Irwin
8b6bd20a6a
Try to improve nix caching (#48297)
Release Notes:

- N/A
2026-02-03 20:31:02 -07:00
Marshall Bowers
eff4b9356b
ci: Re-enable docs deployments (#48303)
This PR re-enables docs deployments.

The upstream incident has been resolved:
https://www.cloudflarestatus.com/incidents/m1xvmqf37z97

Release Notes:

- N/A
2026-02-03 23:12:41 +00:00
Marshall Bowers
9fbf609e6a
ci: Temporarily disable docs deployments (#48292)
This PR temporarily disables deployments of the docs.

There seems to be some lingering fallout from
https://www.cloudflarestatus.com/incidents/jk2mx637l9k9 that is causing
new deployments to not work.

We are rolling back to an older deployment, and are disabling deploys so
that we don't clobber the rollback.

Release Notes:

- N/A
2026-02-03 19:32:35 +00:00
Finn Evers
64a0254204
ci: Generate publish_extension_cli with gh_workflow (#47890)
This moves the extension CLI job into xtask and also extends this a bit
- whenever we now run the job, it will open PRs against this repo and
`zed-industries/extensions` to also update the SHAs there. These PRs
will be assigned to the actor that initiated the bump so they can edit
the PR as needed.

Release Notes:

- N/A
2026-02-03 00:48:15 +00:00
Lena
325afbddff
API-based version of duplicates bot (#48041)
This is still only a debugging/evaluation version (which is why it has
e.g. hardcoded stuff). It successfully ran a few times triggered
manually, so we're replacing the broken version on `main` with this to
see how it fares on incoming issues.

Release Notes:

- N/A
2026-01-30 18:33:50 +00:00
Finn Evers
0c8a753a3c
ci: Fix release failure notification (#47977)
Release Notes:

- N/A
2026-01-30 01:14:19 +00:00
Joseph T. Lyons
f1554f83ed
Remove label field from Feature Request template (#47970)
Release Notes:

- N/A
2026-01-29 22:30:57 +00:00
Kunall Banerjee
b9e9b85cc8
Add security warnings to issue templates (#47957)
Warn users to review and remove secrets from logs and settings before
posting them in bug reports and crash reports.

Release Notes:

- N/A

---------

Co-authored-by: John D. Swanson <swannysec@users.noreply.github.com>
2026-01-29 14:17:53 -05:00
Joseph T. Lyons
e713879a9c
Add feature request discussion template (#47962)
Release Notes:

- N/A
2026-01-29 19:03:15 +00:00
Finn Evers
97f0ab77ca
ci: Define default shell for all workflows (#47883)
GitHub allows defining a default shell for all jobs on the workflow
level, which we did not use before, yet practically did when it comes
down to our usage of `named::bash`. Since this makes stuff quite
verbose, I decided on using the defaults instead so the workflows become
somewhat easier to audit when reading the generated files.

Powershell steps continue to use Powershell, only the default for bash
scripts was modified.


Release Notes:

- N/A
2026-01-28 14:07:06 -07:00
Finn Evers
308537f4ad
cli: Add GitHub token to generate_message step (#47876)
Release Notes:

- N/A
2026-01-28 16:53:08 +00:00
Finn Evers
5e0b8cc0f7
extension_ci: Update extension CLI SHA (#47875)
This PR bumps the version of the Zed extension CLI sha used in the
extension repositories to 7cfce60570

Release Notes:

- N/A
2026-01-28 16:39:26 +00:00
Kunall Banerjee
c37a7ba2f6 Update community champions list (#47785)
Release Notes:

- N/A
2026-01-28 11:02:34 -05:00
Lena
3339c2d982
Fix the duplicate bot (move timeout, perms) (#47840)
Debugging on `main` is so much fun :/

Release Notes:

- N/A
2026-01-28 09:34:10 +00:00
Piotr Osiewicz
64df7f2675
ci: Enable namespace caching for clippy on Mac (#47819)
Release Notes:

- N/A
2026-01-28 00:24:03 +00:00
Lena
26381fe6ef
More permissions to GitHub duplicates bot (#47780)
The claude code action insists on needing `id-token: write` despite us
using `github_token`, so maybe I misread the 
[FAQ](https://github.com/anthropics/claude-code-action/blob/main/docs/faq.md#why-am-i-getting-oidc-authentication-errors)
earlier. Pinning the sha of the currently-used version of the action for
safety's sake.

Release Notes:

- N/A
2026-01-27 16:02:46 +00:00
Lena
8a89042289
Fix getting token in a GitHub bot (#47777)
Release Notes:

- N/A
2026-01-27 15:41:13 +00:00
Lena
f324c3ef23
Add a test version of 'find duplicates' bot (#47773)
Release Notes:

- N/A
2026-01-27 15:18:50 +00:00
Ben Brandt
7e8ced2cd1
Remove cron schedule for unit evals (#47743)
Release Notes:

- N/A
2026-01-27 09:38:11 +00:00
Finn Evers
e4dff26857
extension_ci: Use different target for nextest (#47738)
Release Notes:

- N/A
2026-01-27 09:11:32 +00:00
Conrad Irwin
e868446ea2
Reapply "Try namespace mac runners (#47675)" (#47721) (#47727)
This reverts commit c50120199f.

Closes #ISSUE

Release Notes:

- N/A
2026-01-26 22:02:52 -07:00
Conrad Irwin
c50120199f
Revert "Try namespace mac runners (#47675)" (#47721)
This broke the libgit2 bundling silently

Release Notes:

- N/A
2026-01-27 02:59:52 +00:00
Finn Evers
d27fa3ba85
extension_ci: Ensure specified target is installed (#47717)
Follow up to #47714 because it is still broken for the extension
workflows post #47699 cache introduction. Keeping the cache around
though in the hopes that it will now finally work.

Release Notes:

- N/A
2026-01-27 01:47:55 +00:00
Finn Evers
e7e8f0ba34
extension_ci: Set default toolchain for all jobs (#47714)
Follow-up to #47712 ..

Release Notes:

- N/A
2026-01-27 01:09:01 +00:00
Finn Evers
7a0a26dcf7
extension_ci: Set default target for all jobs (#47712)
Following the changes to the namespace caching, CI in the extensions
broke because cache conflicts arose there seemingly. Trying to set the
target here more explicitly in an effort to fix this.

Release Notes:

- N/A
2026-01-27 00:48:08 +00:00
Finn Evers
40e7b10733
extension_ci: Bump timeout for extension bundling test (#47708)
Similar to the last bump, bumps the timeout here so that jobs have a bit
more time to complete

Release Notes:

- N/A
2026-01-26 23:56:07 +00:00
Piotr Osiewicz
21db564353
ci: Cache Rust toolchains in Linux namespace cache (#47699)
Release Notes:

- N/A
2026-01-26 22:06:08 +00:00
Conrad Irwin
2b45efc1ea
Try namespace mac runners (#47675)
Closes #ISSUE

Release Notes:

- N/A
2026-01-26 21:39:40 +00:00
Finn Evers
d9658563b5
extension_ci: Increase runners for tests job (#47686)
We were hitting some timeout failures with some runners, hence bumping
the size here.

Release Notes:

- N/A
2026-01-26 19:47:57 +00:00
Finn Evers
4007bf9ec4
ci: Notify on more release workflow events (#47565)
This improves the messaging around triggered releases and hopefully
should help with what needs to be done there.

Closes TRA-82.

Release Notes:

- N/A
2026-01-26 18:31:34 +00:00
John Tur
9931c6f944
Add SSH remote server for Windows (#47460)
Closes https://github.com/zed-industries/zed/issues/33748

Release Notes:

- Windows is now supported as a target platform for SSH remoting.

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2026-01-24 13:15:01 -05:00
Lena
916da3d2a5
Increase operations/run for stalebot (#47459)
It's been running out of operations before it could do everything it's
supposed to do.

Release Notes:

- N/A
2026-01-23 09:49:50 +00:00
Finn Evers
9ac94ce3e6
extension_rollout: Add support for renaming and deleting files (#47329)
This is in preparation for removing one of the files in favor of having
just one larger one (and perhaps renaming that in the future).

Release Notes:

- N/A
2026-01-22 01:13:10 +01:00
Finn Evers
01160a75a3
extension_ci: Remove rollout exclusion list (#47315)
The last extension has now been migrated to the new workflows and with
that, the entire zed-extensions org now uses the centralized workflows 🎉

Given this, we can now remove the exclusion list and - as a little bonus
- also rollout changes automatically to the repository hosting the
shared workflows.

Release Notes:

- N/A
2026-01-21 21:46:38 +00:00
Piotr Osiewicz
1e2392ed94
ci: Move clippy off of run_platform_tests and into a separate job (#47139)
This should slash our CI times a bit (1 minute or so)

Closes #ISSUE

Release Notes:

- N/A
2026-01-19 13:34:06 +01:00
Lena
c6f70411ce
Add slack notifications for bad bugs (#46982)
Release Notes:

- N/A
2026-01-16 10:37:50 +00:00
Conrad Irwin
4250871a1c
Fewer race-conditions in Vercel redeploy (#46826)
Should avoid releases rolling back to older vercel versions

Release Notes:

- N/A *or* Added/Fixed/Improved ...
2026-01-15 14:48:05 -07:00
Conrad Irwin
f319845f9a
Autofix run fmt after clippy (#46935)
Release Notes:

- N/A
2026-01-15 12:35:06 -07:00
morgankrey
8e8e88c1ec
Add sponsor button to main Zed repo (#46807)
Adds a Github Sponsor button to the main Zed repo

Release Notes:

- N/A
2026-01-14 10:38:51 -06:00
Marshall Bowers
f30161174a
danger: Use Danger Proxy running on Cloud (#46731)
This PR updates Danger to use the new Danger Proxy that is running on
Cloud.

Release Notes:

- N/A
2026-01-13 19:26:42 +00:00
Lena
ad1251b9d9
First-contribution autolabeler: work around a bug (#46603)
The job was skipping first-time contributors because GitHub was
returning None as their association.

Release Notes:

- N/A
2026-01-12 10:08:16 +00:00