mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 16:48:58 +00:00
f7724d223b
* Set up a compatibility layer for replacing old Rio components with new ones. * fix(rio). compress range * feat(rio). Add the experimental feature rio_v2 to support minio data at the binary level. * feat(rio_v2): add sse-c test * test compression component * simple fix * fix minlz encode * fix metadata * fix kms key cache error * Update launch.json * ci: set nix crate download user agent * fix: gate obs pyroscope backend * ignore minio test * fix encrypt check * fix * fix * fix * Update object_usecase.rs * Update ci.yml * fix * ci add rio-v2 test * fix * ci fix * fix * Reconstructed into a more reasonable compatibility mode * fix * fix --------- Signed-off-by: houseme <housemecn@gmail.com> Signed-off-by: 唐小鸭 <tangtang1251@qq.com> Co-authored-by: houseme <housemecn@gmail.com> Co-authored-by: cxymds <Cxymds@qq.com> Co-authored-by: 安正超 <anzhengchao@gmail.com>
41 lines
1.6 KiB
Markdown
41 lines
1.6 KiB
Markdown
# 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.md` for every PR body.
|
|
- Keep all template section headings.
|
|
- Use `N/A` for non-applicable sections.
|
|
- Include verification commands in the PR details.
|
|
- For `gh pr create` and `gh 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...`
|
|
- `EOF`
|
|
- `gh 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_test`
|
|
- `cargo test --all --doc`
|
|
- `cargo test -p rustfs get_object_chunk_fast_path`
|
|
- `cargo test -p rustfs materialize_chunk_stream_before_commit`
|
|
- `touch rustfs/build.rs`
|
|
- `cargo build -p rustfs --bins --jobs 2`
|
|
- `cargo test -p e2e_test archive_multipart_roundtrip_preserves_bytes`
|
|
- `cargo test -p e2e_test presigned_get_and_reverse_proxy_preserve_multipart_bytes_with_fast_path`
|
|
- `cargo fmt --all --check`
|
|
- `cargo clippy --all-targets -- -D warnings`
|
|
- `cargo nextest run -p rustfs -p rustfs-ecstore --features rio-v2`
|
|
- `cargo test -p rustfs --doc --features rio-v2`
|
|
- `cargo clippy -p rustfs -p rustfs-ecstore --all-targets --features rio-v2 -- -D warnings`
|
|
- `./scripts/check_layer_dependencies.sh`
|
|
- `./scripts/check_architecture_migration_rules.sh`
|