mirror of
https://github.com/rustfs/rustfs.git
synced 2026-05-06 22:28:16 +08:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: houseme <4829346+houseme@users.noreply.github.com>
1.4 KiB
1.4 KiB
GitHub Workflow Instructions
Applies to .github/ and repository pull-request operations.
Pull Requests
- PR titles and descriptions must be in English.
- Use
.github/pull_request_template.mdfor every PR body. - Keep all template section headings.
- Use
N/Afor non-applicable sections. - Include verification commands in the PR details.
- For
gh pr createandgh pr edit, always write markdown body to a file and pass--body-file. - Do not use multiline inline
--body; backticks and shell expansion can corrupt content or trigger unintended commands. - Recommended pattern:
cat > /tmp/pr_body.md <<'EOF'...markdown...EOFgh pr create ... --body-file /tmp/pr_body.md
CI Alignment
When changing CI-sensitive behavior, keep local validation aligned with .github/workflows/ci.yml.
Current test-and-lint gate includes:
cargo nextest run --all --exclude e2e_testcargo test --all --doccargo test -p rustfs get_object_chunk_fast_pathcargo test -p rustfs materialize_chunk_stream_before_committouch rustfs/build.rscargo build -p rustfs --bins --jobs 2cargo test -p e2e_test archive_multipart_roundtrip_preserves_bytescargo test -p e2e_test presigned_get_and_reverse_proxy_preserve_multipart_bytes_with_fast_pathcargo fmt --all --checkcargo clippy --all-targets --all-features -- -D warnings./scripts/check_layer_dependencies.sh