Skip to content

Commit 293abfc

Browse files
authored
Merge branch 'main' into claude/fix-byte-truncation-tail-011CUzauyoZNLSqRm4q2FQdd
2 parents 661d022 + 424bfec commit 293abfc

File tree

90 files changed

+2800
-939
lines changed

Some content is hidden

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

90 files changed

+2800
-939
lines changed

.github/workflows/cla.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,27 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: contributor-assistant/[email protected]
19+
# Run on close only if the PR was merged. This will lock the PR to preserve
20+
# the CLA agreement. We don't want to lock PRs that have been closed without
21+
# merging because the contributor may want to respond with additional comments.
22+
# This action has a "lock-pullrequest-aftermerge" option that can be set to false,
23+
# but that would unconditionally skip locking even in cases where the PR was merged.
1924
if: |
20-
github.event_name == 'pull_request_target' ||
21-
github.event.comment.body == 'recheck' ||
22-
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'
25+
(
26+
github.event_name == 'pull_request_target' &&
27+
(
28+
github.event.action == 'opened' ||
29+
github.event.action == 'synchronize' ||
30+
(github.event.action == 'closed' && github.event.pull_request.merged == true)
31+
)
32+
) ||
33+
(
34+
github.event_name == 'issue_comment' &&
35+
(
36+
github.event.comment.body == 'recheck' ||
37+
github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'
38+
)
39+
)
2340
env:
2441
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2542
with:

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
- name: Annotate locations with typos
2323
uses: codespell-project/codespell-problem-matcher@b80729f885d32f78a716c2f107b4db1025001c42 # v1
2424
- name: Codespell
25-
uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
25+
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
2626
with:
2727
ignore_words_file: .codespellignore

.github/workflows/rust-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777
- uses: actions/checkout@v5
7878
- uses: dtolnay/[email protected]
79-
- uses: taiki-e/install-action@0c5db7f7f897c03b771660e91d065338615679f4 # v2
79+
- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
8080
with:
8181
tool: cargo-shear
8282
version: 1.5.1
@@ -170,7 +170,7 @@ jobs:
170170
171171
# Install and restore sccache cache
172172
- name: Install sccache
173-
uses: taiki-e/install-action@0c5db7f7f897c03b771660e91d065338615679f4 # v2
173+
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
174174
with:
175175
tool: sccache
176176
version: 0.7.5
@@ -228,7 +228,7 @@ jobs:
228228
229229
- name: Install cargo-chef
230230
if: ${{ matrix.profile == 'release' }}
231-
uses: taiki-e/install-action@0c5db7f7f897c03b771660e91d065338615679f4 # v2
231+
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
232232
with:
233233
tool: cargo-chef
234234
version: 0.1.71
@@ -370,7 +370,7 @@ jobs:
370370
cargo-home-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-
371371
372372
- name: Install sccache
373-
uses: taiki-e/install-action@0c5db7f7f897c03b771660e91d065338615679f4 # v2
373+
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
374374
with:
375375
tool: sccache
376376
version: 0.7.5
@@ -399,7 +399,7 @@ jobs:
399399
sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-${{ hashFiles('**/Cargo.lock') }}-
400400
sccache-${{ matrix.runner }}-${{ matrix.target }}-${{ matrix.profile }}-
401401
402-
- uses: taiki-e/install-action@0c5db7f7f897c03b771660e91d065338615679f4 # v2
402+
- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2
403403
with:
404404
tool: nextest
405405
version: 0.9.103

.github/workflows/rust-release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ jobs:
295295
# ${{ matrix.target }}
296296
dest="dist/${{ matrix.target }}"
297297
298+
# We want to ship the raw Windows executables in the GitHub Release
299+
# in addition to the compressed archives. Keep the originals for
300+
# Windows targets; remove them elsewhere to limit the number of
301+
# artifacts that end up in the GitHub Release.
302+
keep_originals=false
303+
if [[ "${{ matrix.runner }}" == windows* ]]; then
304+
keep_originals=true
305+
fi
306+
298307
# For compatibility with environments that lack the `zstd` tool we
299308
# additionally create a `.tar.gz` for all platforms and `.zip` for
300309
# Windows alongside every single binary that we publish. The end result is:
@@ -324,7 +333,11 @@ jobs:
324333
325334
# Also create .zst (existing behaviour) *and* remove the original
326335
# uncompressed binary to keep the directory small.
327-
zstd -T0 -19 --rm "$dest/$base"
336+
zstd_args=(-T0 -19)
337+
if [[ "${keep_originals}" == false ]]; then
338+
zstd_args+=(--rm)
339+
fi
340+
zstd "${zstd_args[@]}" "$dest/$base"
328341
done
329342
330343
- name: Remove signing keychain

0 commit comments

Comments
 (0)