Skip to content

Commit afbafb0

Browse files
committed
Merge branch 'upstream_main'
2 parents 6d91c59 + 92dcfde commit afbafb0

File tree

335 files changed

+17381
-7305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+17381
-7305
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,51 @@
1-
name: Report an issue
2-
description: Report an issue with Zed.
1+
name: Report a bug
2+
description: Report a problem with Zed.
33
type: Bug
4+
labels: "state:needs triage"
45
body:
56
- type: markdown
67
attributes:
78
value: |
8-
Feature requests should be opened in [discussions](https://github.com/zed-industries/zed/discussions/new/choose).
9+
Is this bug already reported? Upvote to get it noticed faster. [Here's the search](https://github.com/zed-industries/zed/issues). Upvote means giving it a :+1: reaction.
910
10-
Before opening a new issue, please do a [search](https://github.com/zed-industries/zed/issues) of existing issues and :+1: upvote the existing issue instead. This will help us maintain a proper signal-to-noise ratio.
11+
Feature request? Please open in [discussions](https://github.com/zed-industries/zed/discussions/new/choose) instead.
1112
12-
If you need help with your own project, you can ask a question in our [Discord Support Forums](https://discord.com/invite/zedindustries).
13+
Just have a question or need support? Welcome to [Discord Support Forums](https://discord.com/invite/zedindustries).
1314
- type: textarea
1415
attributes:
1516
label: Reproduction steps
16-
description: A step-by-step description of how to reproduce the issue from a **clean Zed install**. Any code must be sufficient to reproduce (make sure to include context!). Include code as text, not just as a screenshot. **Issues with insufficient detail may be summarily closed**.
17+
description: A step-by-step description of how to reproduce the bug from a **clean Zed install**. The more context you provide, the easier it is to find and fix the problem fast.
1718
placeholder: |
1819
1. Start Zed
1920
2. Click X
20-
3. Y will happen
2121
validations:
2222
required: true
2323
- type: textarea
2424
attributes:
2525
label: Current vs. Expected behavior
2626
description: |
27-
A clear and concise description of what is the current behavior (screenshots, videos), vs. what you expected the behavior to be.
27+
Current behavior (screenshots, videos, etc. are appreciated), vs. what you expected the behavior to be.
2828
29-
**Skipping this/failure to provide complete information will result in the issue being closed.**
30-
placeholder: "Based on my reproduction steps above, when I click X, I expect this to happen, but instead Y happens."
29+
placeholder: |
30+
Current behavior: <screenshot with an arrow> The icon is blue. Expected behavior: The icon should be red because this is what the setting is documented to do.
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: environment
35+
attributes:
36+
label: Zed version and system specs
37+
description: |
38+
Open the command palette in Zed, then type “zed: copy system specs into clipboard”.
39+
placeholder: |
40+
Zed: v0.215.0 (Zed Nightly bfe141ea79aa4984028934067ba75c48d99136ae)
41+
OS: macOS 15.1
42+
Memory: 36 GiB
43+
Architecture: aarch64
3144
validations:
3245
required: true
3346
- type: textarea
3447
attributes:
35-
label: If applicable, attach your Zed log file to this issue.
48+
label: Attach Zed log file
3649
description: |
3750
Open the command palette in Zed, then type `zed: open log` to see the last 1000 lines. Or type `zed: reveal log in file manager` in the command palette to reveal the log file itself.
3851
value: |
@@ -48,7 +61,7 @@ body:
4861
required: false
4962
- type: textarea
5063
attributes:
51-
label: If applicable, attach your relevant Zed settings to this issue
64+
label: Relevant Zed settings
5265
description: |
5366
Open the command palette in Zed, then type “zed: open settings file” and copy/paste any relevant (e.g., LSP-specific) settings.
5467
value: |
@@ -64,26 +77,14 @@ body:
6477
required: false
6578
- type: textarea
6679
attributes:
67-
label: If applicable, provide details about your model provider
80+
label: (for AI issues) Model provider details
6881
placeholder: |
6982
- Provider: (Anthropic via ZedPro, Anthropic via API key, Copilot Chat, Mistral, OpenAI, etc.)
7083
- Model Name: (Claude Sonnet 4.5, Gemini 3 Pro, GPT-5)
7184
- Mode: (Agent Panel, Inline Assistant, Terminal Assistant or Text Threads)
7285
- Other details (ACPs, MCPs, other settings, etc.):
7386
validations:
7487
required: false
75-
- type: textarea
76-
attributes:
77-
label: Zed version and system specs
78-
description: |
79-
Open the command palette in Zed, then type “zed: copy system specs into clipboard”. **Skipping this/failure to provide complete information will result in the issue being closed**.
80-
placeholder: |
81-
Zed: v0.215.0 (Zed Nightly bfe141ea79aa4984028934067ba75c48d99136ae)
82-
OS: macOS 15.1
83-
Memory: 36 GiB
84-
Architecture: aarch64
85-
validations:
86-
required: true
8788
- type: dropdown
8889
attributes:
8990
label: If you are using WSL on Windows, what flavor of Linux are you using?
@@ -96,4 +97,3 @@ body:
9697
- Pop!_OS
9798
- NixOS
9899
- Other
99-
default: 0

.github/ISSUE_TEMPLATE/2.crash-report.yml renamed to .github/ISSUE_TEMPLATE/11_crash_report.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
11
name: Report a crash
22
description: Zed is crashing or freezing or hanging.
33
type: Crash
4+
labels: "state:needs triage"
45
body:
56
- type: textarea
67
attributes:
78
label: Reproduction steps
8-
description: A step-by-step description of how to reproduce the crash from a **clean Zed install**. **Be verbose**. **Issues with insufficient detail may be summarily closed**.
9+
description: A step-by-step description of how to reproduce the crash from a **clean Zed install**. The more context you provide, the easier it is to find and fix the problem fast.
910
placeholder: |
1011
1. Start Zed
1112
2. Perform an action
1213
3. Zed crashes
1314
validations:
1415
required: true
15-
- type: textarea
16-
attributes:
17-
label: Current vs. Expected behavior
18-
description: |
19-
Go into depth about what actions you’re performing in Zed to trigger the crash. If Zed crashes before it loads any windows, make sure to mention that. Again, **be verbose**.
20-
21-
**Skipping this/failure to provide complete information will result in the issue being closed.**
22-
placeholder: "Based on my reproduction steps above, when I perform said action, I expect this to happen, but instead Zed crashes."
23-
validations:
24-
required: true
2516
- type: textarea
2617
attributes:
2718
label: Zed version and system specs
2819
description: |
29-
Open the command palette in Zed, then type “zed: copy system specs into clipboard”. **Skipping this/failure to provide complete information will result in the issue being closed**.
20+
Open the command palette in Zed, then type “zed: copy system specs into clipboard”.
3021
placeholder: |
3122
Zed: v0.215.0 (Zed Nightly bfe141ea79aa4984028934067ba75c48d99136ae)
3223
OS: macOS 15.1
@@ -36,7 +27,7 @@ body:
3627
required: true
3728
- type: textarea
3829
attributes:
39-
label: If applicable, attach your Zed log file to this issue
30+
label: Attach Zed log file
4031
description: |
4132
Open the command palette in Zed, then type `zed: open log` to see the last 1000 lines. Or type `zed: reveal log in file manager` in the command palette to reveal the log file itself.
4233
value: |

.github/ISSUE_TEMPLATE/99_other.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/community_champion_auto_labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,24 @@ jobs:
2323
AidanV
2424
akbxr
2525
AlvaroParker
26+
amtoaer
2627
artemevsevev
2728
bajrangCoder
2829
bcomnes
2930
Be-ing
3031
blopker
32+
bnjjj
3133
bobbymannino
3234
CharlesChen0823
3335
chbk
3436
cppcoffee
3537
davewa
3638
ddoemonn
3739
djsauble
40+
errmayank
3841
fantacell
3942
findrakecil
43+
FloppyDisco
4044
gko
4145
huacnlee
4246
imumesh18
@@ -51,19 +55,22 @@ jobs:
5155
marius851000
5256
mikebronner
5357
ognevny
58+
playdohface
5459
RemcoSmitsDev
5560
romaninsh
5661
Simek
5762
someone13574
5863
sourcefrog
5964
suxiaoshao
6065
Takk8IS
66+
thedadams
6167
tidely
6268
timvermeulen
6369
valentinegb
6470
versecafe
6571
vitallium
6672
warrenjokinen
73+
WhySoBad
6774
ya7010
6875
Zertsov
6976
with:

.github/workflows/extension_bump.yml

Lines changed: 59 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
description: bump-type
1414
type: string
1515
default: patch
16+
force-bump:
17+
description: force-bump
18+
required: true
19+
type: boolean
1620
secrets:
1721
app-id:
1822
description: The app ID used to create the PR
@@ -21,33 +25,6 @@ on:
2125
description: The app secret for the corresponding app ID
2226
required: true
2327
jobs:
24-
check_extension:
25-
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
26-
runs-on: namespace-profile-2x4-ubuntu-2404
27-
steps:
28-
- name: steps::checkout_repo
29-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30-
with:
31-
clean: false
32-
- id: cache-zed-extension-cli
33-
name: extension_tests::cache_zed_extension_cli
34-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
35-
with:
36-
path: zed-extension
37-
key: zed-extension-${{ env.ZED_EXTENSION_CLI_SHA }}
38-
- name: extension_tests::download_zed_extension_cli
39-
if: steps.cache-zed-extension-cli.outputs.cache-hit != 'true'
40-
run: |
41-
wget --quiet "https://zed-extension-cli.nyc3.digitaloceanspaces.com/$ZED_EXTENSION_CLI_SHA/x86_64-unknown-linux-gnu/zed-extension"
42-
chmod +x zed-extension
43-
shell: bash -euxo pipefail {0}
44-
- name: extension_tests::check
45-
run: |
46-
mkdir -p /tmp/ext-scratch
47-
mkdir -p /tmp/ext-output
48-
./zed-extension --source-dir . --scratch-dir /tmp/ext-scratch --output-dir /tmp/ext-output
49-
shell: bash -euxo pipefail {0}
50-
timeout-minutes: 1
5128
check_bump_needed:
5229
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
5330
runs-on: namespace-profile-2x4-ubuntu-2404
@@ -56,29 +33,39 @@ jobs:
5633
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
5734
with:
5835
clean: false
59-
fetch-depth: 10
36+
fetch-depth: 0
6037
- id: compare-versions-check
6138
name: extension_bump::compare_versions
62-
run: |+
39+
run: |
6340
CURRENT_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
41+
PR_PARENT_SHA="${{ github.event.pull_request.head.sha }}"
6442
65-
git checkout "$(git log -1 --format=%H)"~1
43+
if [[ -n "$PR_PARENT_SHA" ]]; then
44+
git checkout "$PR_PARENT_SHA"
45+
elif BRANCH_PARENT_SHA="$(git merge-base origin/main origin/zed-zippy-autobump)"; then
46+
git checkout "$BRANCH_PARENT_SHA"
47+
else
48+
git checkout "$(git log -1 --format=%H)"~1
49+
fi
6650
67-
PREV_COMMIT_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
51+
PARENT_COMMIT_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
6852
69-
[[ "$CURRENT_VERSION" == "$PREV_COMMIT_VERSION" ]] && \
53+
[[ "$CURRENT_VERSION" == "$PARENT_COMMIT_VERSION" ]] && \
7054
echo "needs_bump=true" >> "$GITHUB_OUTPUT" || \
7155
echo "needs_bump=false" >> "$GITHUB_OUTPUT"
7256
57+
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
7358
shell: bash -euxo pipefail {0}
7459
outputs:
7560
needs_bump: ${{ steps.compare-versions-check.outputs.needs_bump }}
61+
current_version: ${{ steps.compare-versions-check.outputs.current_version }}
7662
timeout-minutes: 1
7763
bump_extension_version:
7864
needs:
79-
- check_extension
8065
- check_bump_needed
81-
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions') && needs.check_bump_needed.outputs.needs_bump == 'true'
66+
if: |-
67+
(github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions') &&
68+
(inputs.force-bump == 'true' || needs.check_bump_needed.outputs.needs_bump == 'true')
8269
runs-on: namespace-profile-8x16-ubuntu-2204
8370
steps:
8471
- id: generate-token
@@ -97,25 +84,21 @@ jobs:
9784
- id: bump-version
9885
name: extension_bump::bump_version
9986
run: |
100-
OLD_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
87+
OLD_VERSION="${{ needs.check_bump_needed.outputs.current_version }}"
10188
102-
cat <<EOF > .bumpversion.cfg
103-
[bumpversion]
104-
current_version = "$OLD_VERSION"
89+
BUMP_FILES=("extension.toml")
90+
if [[ -f "Cargo.toml" ]]; then
91+
BUMP_FILES+=("Cargo.toml")
92+
fi
10593
106-
[bumpversion:file:Cargo.toml]
94+
bump2version --verbose --current-version "$OLD_VERSION" --no-configured-files ${{ inputs.bump-type }} "${BUMP_FILES[@]}"
10795
108-
[bumpversion:file:extension.toml]
96+
if [[ -f "Cargo.toml" ]]; then
97+
cargo update --workspace
98+
fi
10999
110-
EOF
111-
112-
bump2version --verbose ${{ inputs.bump-type }}
113100
NEW_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
114-
cargo update --workspace
115-
116-
rm .bumpversion.cfg
117101
118-
echo "old_version=${OLD_VERSION}" >> "$GITHUB_OUTPUT"
119102
echo "new_version=${NEW_VERSION}" >> "$GITHUB_OUTPUT"
120103
shell: bash -euxo pipefail {0}
121104
- name: extension_bump::create_pull_request
@@ -124,13 +107,41 @@ jobs:
124107
title: Bump version to ${{ steps.bump-version.outputs.new_version }}
125108
body: This PR bumps the version of this extension to v${{ steps.bump-version.outputs.new_version }}
126109
commit-message: Bump version to v${{ steps.bump-version.outputs.new_version }}
127-
branch: bump-from-${{ steps.bump-version.outputs.old_version }}
110+
branch: zed-zippy-autobump
128111
committer: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
129112
base: main
130113
delete-branch: true
131114
token: ${{ steps.generate-token.outputs.token }}
132115
sign-commits: true
133116
timeout-minutes: 1
117+
create_version_label:
118+
needs:
119+
- check_bump_needed
120+
if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions') && github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.check_bump_needed.outputs.needs_bump == 'false'
121+
runs-on: namespace-profile-8x16-ubuntu-2204
122+
steps:
123+
- id: generate-token
124+
name: extension_bump::generate_token
125+
uses: actions/create-github-app-token@v2
126+
with:
127+
app-id: ${{ secrets.app-id }}
128+
private-key: ${{ secrets.app-secret }}
129+
- name: steps::checkout_repo
130+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
131+
with:
132+
clean: false
133+
- name: extension_bump::create_version_tag
134+
uses: actions/github-script@v7
135+
with:
136+
script: |-
137+
github.rest.git.createRef({
138+
owner: context.repo.owner,
139+
repo: context.repo.repo,
140+
ref: 'refs/tags/v${{ needs.check_bump_needed.outputs.current_version }}',
141+
sha: context.sha
142+
})
143+
github-token: ${{ steps.generate-token.outputs.token }}
144+
timeout-minutes: 1
134145
concurrency:
135146
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}
136147
cancel-in-progress: true

0 commit comments

Comments
 (0)