Skip to content

docs(contributing): streamline contribution guides - #302

Merged
SigureMo merged 7 commits into
redai-studio:mainfrom
ooooo-create:docs/contributing-workflow
Oct 1, 2026
Merged

SigureMo merged 7 commits into
redai-studio:mainfrom
ooooo-create:docs/contributing-workflow

Conversation

@ooooo-create

@ooooo-create ooooo-create commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

What

Update CONTRIBUTING.md and the English and Chinese contribution guides with a consistent workflow from fork to PR.

Why

The existing guides split setup and development into overlapping sections and include outdated commands and documentation paths. Contributors need a clear sequence for preparing, validating, and submitting changes.

How

  • Organize development into five steps: get the code, set up the environment and Git hooks, run relevant unit tests, commit changes, and open a PR.
  • Document fork/upstream synchronization and the choice of prek or pre-commit, including automatic checks on commit.
  • Replace duplicate setup commands in CONTRIBUTING.md with a workflow overview linking to the detailed guide.
  • Align bilingual reference sections, correct documentation paths.

Testing

  • pre-commit run --all-files passes (run with --show-diff-on-failure).
  • Tests pass (pytest tests/) — not run: documentation-only changes; multi-node GPU integration tests were not needed.
  • New tests added (if applicable) — not applicable.
  • Documentation updated (if applicable).

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • CI/CD or build changes

Screenshots / Logs

Not applicable.

Copilot AI lite review requested due to automatic review settings September 7, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The docs should complete the pre-commit setup (pre-commit install) and avoid hardcoded branch names in git push examples to prevent copy/paste failures.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the contribution documentation to reflect the repo’s current workflow: contributors should fork before cloning, and use the repo’s pre-commit configuration (instead of the previously documented Black/isort/Flake8 commands).

Changes:

  • Document the fork → clone → branch → push-to-fork → PR flow across CONTRIBUTING.md and both language guides.
  • Add pre-commit installation instructions and standardize on pre-commit run --all-files for lint/format checks.
  • Keep English and Chinese guides aligned on the updated steps.
File summaries
File Description
docs/zh/guide/how-to-contribute.md Updates Chinese contributing guide with fork-based workflow and pre-commit-based lint/format instructions.
docs/en/guide/how-to-contribute.md Updates English contributing guide with fork-based workflow and pre-commit-based lint/format instructions.
CONTRIBUTING.md Clarifies top-level contributing steps for external contributors (fork workflow + pre-commit).
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 6
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CONTRIBUTING.md Resolved
Comment thread CONTRIBUTING.md Resolved
Comment thread docs/en/guide/how-to-contribute.md Resolved
Comment thread docs/en/guide/how-to-contribute.md Resolved
Comment thread docs/zh/guide/how-to-contribute.md Resolved
Comment thread docs/zh/guide/how-to-contribute.md Resolved
Comment thread docs/zh/guide/how-to-contribute.md Outdated
### 1. 设置开发环境

创建虚拟环境并安装依赖:
先将 [redai-studio/Relax](https://github.com/redai-studio/Relax) **Fork** 到自己的账号,再执行以下命令(将 `<your_user_name>` 替换为您的 GitHub 用户名):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
先将 [redai-studio/Relax](https://github.com/redai-studio/Relax) **Fork** 到自己的账号,再执行以下命令(将 `<your_user_name>` 替换为您的 GitHub 用户名):
先将 [redai-studio/Relax](https://github.com/redai-studio/Relax) **Fork** 到自己的账号,再执行以下命令(将 `<your_user_name>` 替换为你的 GitHub 用户名):

社区一般不需要使用「您」

pip install -e .

# 安装 pre-commit
pip install pre-commit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pre-commit 安装是不是放在 format and lint 那块比较合适?

@SigureMo

SigureMo commented Sep 8, 2026

Copy link
Copy Markdown
Member

@rai-studio-bot 来 review 下

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已按请求完成审查,未发现需要阻塞合入的问题。新增文件可能漏过本地检查的流程问题已在行内评论中说明,并附可直接应用的建议。CI 检查均已通过,PR 标题、说明及测试范围与此次文档改动一致。

Powered by Nyanpasu with gpt-6-astra medium, please check the suggestions carefully.

Comment thread docs/zh/guide/how-to-contribute.md Outdated
# 运行 linter
flake8 relax/
# 运行 pre-commit 检查(lint + 格式化)
pre-commit run --all-files

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 优先级:P2

请在检查前将新增文件加入 Git 跟踪。这里替换掉的目录扫描命令会检查新建的 Python 文件,而 pre-commit run --all-files 通过 git ls-files 选择文件,不会包含未跟踪文件。指南直到下一步才执行 git add .,因此按顺序新增模块或测试时,本地 lint/格式化会漏检这些文件,提交后 CI 才会发现问题。

可在此提前暂存,保留下一步的 git add . 以收录格式化产生的修改;英文指南同一位置也请同步调整。

Suggested change
pre-commit run --all-files
# 先暂存本次更改,让新增文件也参与检查
git add .
pre-commit run --all-files

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已确认解决:现行指南在提交更改一步(docs/zh/guide/how-to-contribute.md:99 起及英文对应位置)先 git add <changed-files> 再 git commit,由已安装的 Git hooks 在提交时检查暂存内容,并说明 hook 修改文件后需重新暂存、重试;未暂存的新文件不会进入提交,原先「pre-commit run --all-files 先于 git add 执行导致漏检未跟踪文件」的顺序已不存在。CONTRIBUTING.md 的提交前清单(f8130b2 恢复为基线版本)在提交完成后运行 pre-commit run --all-files,此时文件均已跟踪。中英文一致,验证基于当前 head f8130b2。

# 📝 Documentation

- Explain how to fork Relax, clone the fork, and open a PR against upstream main in CONTRIBUTING.md and both contribution guides.
- Add the pre-commit installation command to development setup.
- Replace the Black, isort, and Flake8 commands in the English and Chinese guides with pre-commit checks.

## Validation

- Pass pre-commit run --all-files --show-diff-on-failure using a temporary python alias to the installed python3.
- Skip multi-node GPU integration tests because this change only updates documentation.
# 📝 Documentation

## Clarify the development workflow

- Organize the English and Chinese guides into five steps from fork setup
  through unit tests, commits, and pull requests.
- Document upstream synchronization and Git hooks with prek or pre-commit.
- Align testing, documentation, and PR guidance across both languages.

## Update the repository entry point

- Replace duplicate setup commands with a workflow overview and guide link.
- Align the PR checklist with relevant tests and automatic Git hooks.

## Validation

- Run pre-commit checks across all files.
- Verify local links, anchors, bilingual structure, and snippet syntax.
Copilot AI review requested due to automatic review settings September 9, 2026 14:27
@ooooo-create
ooooo-create force-pushed the docs/contributing-workflow branch from 8ff09e0 to 0049753 Compare September 9, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Only minor documentation nits were found, and the workflow/tooling updates align with the stated PR goals.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/en/guide/how-to-contribute.md Resolved

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已复查新提交。此前新增文件漏检的问题已解决:中英文指南均改为安装 Git hooks 后暂存、提交,并说明自动修正后的重试步骤。未发现新的行级问题或需要阻塞合入的问题。Pre-commit 检查已通过,三个 Python 版本的测试仍在运行。

  • P3 优先级:P3 非行级:PR 描述。What 仍称将旧命令替换为 pre-commit run --all-files,但最新指南已改为提交时自动检查。建议更新为“统一 fork、同步主线、测试和提交流程,推荐安装 prek Git hooks,并保留 pre-commit 选项”,使说明与最终改动一致。
Powered by Nyanpasu with gpt-6-astra medium, please check the suggestions carefully.

@ooooo-create ooooo-create changed the title docs(contributing): clarify fork and lint workflow docs(contributing): streamline contribution guides Sep 9, 2026

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已核对更新后的标题和描述,现已与最终文档改动一致,上次的描述建议已落实。此前新增文件漏检的问题保持已解决;未发现新的问题,无需新增行内评论。四项 CI 检查均已通过,未发现需要阻塞合入的问题。

Powered by Nyanpasu with gpt-6-astra medium, please check the suggestions carefully.

cd examples/deepeyes
bash run_deepeyes.sh
git checkout -b feature/your-change
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

虚拟环境、跑通示例这块还应该保留,这对开发者来说是一个基础的正反馈,确保第一部设置是对的,后面才是开发

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已保留

Comment thread docs/zh/guide/how-to-contribute.md Outdated

# 或创建修复分支
git checkout -b fix/your-bug-fix
pip install prek

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不需要提及 prek,继续用 pre-commit 即可

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改

Comment on lines -70 to -77
# 运行所有测试
pytest tests/

# 运行特定测试文件
pytest tests/utils/test_metrics_service.py

# 带覆盖率运行
pytest --cov=relax tests/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这几种方式我觉得也还是得保留的

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已保留

Comment thread docs/zh/guide/how-to-contribute.md Outdated
## 许可证

通过为 Relax 做出贡献,您同意您的贡献将根据 Apache 2.0 许可证授权。
通过为 Relax 做出贡献,你同意你的贡献将根据 Apache 2.0 许可证授权。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这这这,是人话吗?像是英文直译

应该是「你需要遵守 Apache 2.0 开源许可证」之类的?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成了 “你贡献的代码和文档将按 Apache 2.0 开源许可证发布。”

Comment thread docs/zh/guide/how-to-contribute.md Resolved
Copilot AI review requested due to automatic review settings September 9, 2026 16:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Changes are documentation-only and the updated workflow is consistent and aligns with current repo paths and CI hook tooling.

Review details

Suppressed comments (1)

docs/en/guide/how-to-contribute.md:165

  • There is an extra space before the docs/en/guide/ inline-code path, which renders oddly and can trip markdown linting/format checks.
    # Log metric
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 9, 2026 16:42

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已复查恢复示例和测试命令后的流程。此前新增文件漏检的问题保持已解决;示例运行后的目录衔接问题已在行内评论中说明并附修正建议,暂无需要阻塞合入的问题。Pre-commit 检查已通过,三个 Python 版本的测试仍在运行。

  • P3 优先级:P3 非行级:PR 描述。最新文档已改为七步且只介绍 pre-commit,How 仍描述五步及 prek/pre-commit 二选一。请将对应两项更新为“按获取代码、设置环境、运行示例、开始开发、单元测试、提交、创建 PR 七步组织流程;使用 pre-commit 安装 Git hooks,在提交时自动检查”,使说明跟上本次调整。
Powered by Nyanpasu with gpt-6-astra medium, please check the suggestions carefully.

Comment thread docs/zh/guide/how-to-contribute.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated guides omit the documented “prek vs pre-commit” choice and drop Windows venv activation guidance, leaving the contribution workflow inconsistent with the PR description and less complete for cross-platform contributors.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 5
  • Review effort level: Lite

Comment thread CONTRIBUTING.md Outdated
1. Fork and clone the repository, add `upstream`, and sync your local `main`.
2. Set up the development environment and install Relax in editable mode.
3. Run the [DeepEyes example](docs/en/examples/deepeyes.md) to verify the training environment.
4. Create a working branch and install Git hooks with pre-commit.
Comment thread docs/en/guide/how-to-contribute.md Outdated
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
source .venv/bin/activate
Comment thread docs/en/guide/how-to-contribute.md Outdated
Comment on lines +56 to +60
Install pre-commit and Git hooks:

```bash
pip install pre-commit
pre-commit install
Comment thread docs/zh/guide/how-to-contribute.md Outdated
# 创建虚拟环境
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
source .venv/bin/activate
Comment thread docs/zh/guide/how-to-contribute.md Outdated
Comment on lines +56 to +60
安装 pre-commit 和 Git hooks:

```bash
pip install pre-commit
pre-commit install
@ooooo-create

Copy link
Copy Markdown
Contributor Author

改的有点多了,我再看看

@SigureMo SigureMo mentioned this pull request Sep 30, 2026
5 of 11 tasks
SigureMo and others added 2 commits October 1, 2026 20:24
# 🔩 Chore

- Merge the latest upstream main into the contribution-guide branch.
- Adopt the upstream clang-format update and docformatter compatibility fix.

Co-authored-by: Codex <[email protected]>
# 📝 Documentation

- Highlight the second Hackathon and good first issues in a bilingual
  VitePress tip for new contributors.
- Separate development setup from the contribution workflow and link
  training examples to their complete setup instructions.
- Align the English and Chinese guides, clarify branch and PR steps,
  and replace repetitive community sections with practical feedback guidance.
- Keep the root contribution overview and workflow link in sync.

Co-authored-by: Codex <[email protected]>
@rai-studio-bot

rai-studio-bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Nyanpasu 审查看板

审查状态: 💬 已完成 · 有补充意见

审查版本: f8130b2

目标分支: main

复查完成:对 f8130b2 的三个文档文件完成全量常规审查,全部引用与双语一致性核对无误;两条既有 P2 问题已验证解决并在原讨论中确认(本账号无 ResolveReviewThread 权限,讨论待维护者勾选)。CI 八项检查全部通过。仅剩一项非阻塞 P3:PR 描述 How 与最终文档不一致,已在最终审查(COMMENT)中说明。深度审查因纯文档改动无适用范围而记录为跳过。

审查阶段进度范围与结果
常规审查 ✅ 已完成 已完整复查 f8130b2 相对 99a0b6a 的全部已接纳改动(CONTRIBUTING.md、中英文贡献指南):文档结构、命令与路径引用、MetricsClient 示例 API、issue #321、侧边栏注册、双语逐节对照均核对无误;两个既有 P2 讨论的修复逐一验证。独立设计与测试子任务按记录原因跳过(机械性文档编辑、无测试改动),必要性审计见精简审查。
深度审查 ➖ 无需执行 纯文档改动:diff 中无生产代码与测试代码,无独立设计对比、测试审计或长时实验的适用范围,故未启动任何子任务;生产与测试必要性审计均以无适用范围记录为 skipped(见精简审查)。

审查发现

待处理
编号 严重性 问题状态规则来源
F3 Low severity PR 描述 How 与最终文档不一致(仍写 prek/pre-commit 二选一与五步列表,最终文档仅 pre-commit、结构为开发准备 3 步 + 开发工作流 5 步) 🚧 未解决 —
已解决或已取代
编号 严重性 问题状态规则来源
F1 Medium severity 本地检查先于暂存导致新增文件漏检(pre-commit 依据 git ls-files 选择文件) ✅ 已解决 —
F2 Medium severity 示例一节的 cd 命令使后续 pytest 与相对路径在错误目录执行 ✅ 已解决 —
提交范围 · 接收 3 · 建议移出 0 · 待确认 0

接收 3 个文件 · 建议移出 0 个文件 · 待确认 0 个文件。移出与待确认部分暂停深审,不代表审查通过。

文件结论仓库维护必要性依据替代去向或方案
CONTRIBUTING.md
docs/en/guide/how-to-contribute.md
docs/zh/guide/how-to-contribute.md
接收 本 PR 的明确职责就是维护仓库内的贡献指南:CONTRIBUTING.md 提供流程总览并链接到中英文详细指南,两份指南需保持双语一致。这些是仓库必须长期维护的用户面向文档,属于既定文档结构(docs/en 与 docs/zh 双语对照)的一部分,改动量与该职责相符。与上一轮相比仅 CONTRIBUTING.md 的提交前清单恢复为基线版本,职责未变。 PR 描述(What: 更新 CONTRIBUTING.md 与中英文贡献指南);仓库现有文档布局 docs/en/guide/how-to-contribute.md 与 docs/zh/guide/how-to-contribute.md;贡献入口 CONTRIBUTING.md 位于仓库根目录。 将指南放在 PR 附件或外部归档无法替代仓库内维护的贡献文档——贡献者直接在仓库内阅读这些文件;也不存在更小的既有机制可承载此职责。
精简审查与验证依据
审查范围进度结论
生产代码 ➖ 无需执行 本 PR 的改动仅包含 Markdown 贡献文档(CONTRIBUTING.md 与 docs/en、docs/zh 指南),不涉及任何生产代码路径(relax/ 下无文件改动),无可删除、合并或替换的实现,无适用范围。
测试 ➖ 无需执行 diff 未新增或修改任何测试文件,纯文档改动无需回归测试(PR 说明亦如实标注 pytest 未运行及原因),无测试合并或删除的适用范围。
Powered by Nyanpasu with glm-5.3[1m] xhigh, please check the suggestions carefully.

# 📝 Documentation

- Restore the original five-item pre-submission checklist in CONTRIBUTING.md,
  including the explicit pre-commit and pytest commands.

Co-authored-by: Codex <[email protected]>

@rai-studio-bot rai-studio-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

复查完成:无阻塞问题,剩一项非阻塞 PR 描述建议

已对最新 head(f8130b2,含维护者合并 main 与后续润色/恢复提交)完成全量复查:CONTRIBUTING.md(含恢复的提交前清单)与中英文贡献指南的最终状态、双语一致性及全部引用(安装指南、快速开始、DeepEyes 示例、PR 模板、MetricsClient 示例 API、issue #321、侧边栏注册)均已核对无误。此前两条行级问题(pre-commit 漏检未跟踪文件、示例目录衔接)已确认解决,并已在对应讨论中回复确认;本账号无 ResolveReviewThread 权限,相关讨论待维护者随需勾选。八项 CI 检查全部通过。

唯一未决项为此前已反馈的 PR 描述滞后:How 仍写 prek/pre-commit 二选一,而最终文档仅介绍 pre-commit(维护者已明确去除 prek 表述),步骤表述也与最终「开发准备 3 步 + 开发工作流 5 步」结构不一致;属非阻塞的可选更新,详见看板 F3 与既有审查记录。

看板:#302 (comment)

Powered by Nyanpasu with glm-5.3[1m] xhigh, please check the suggestions carefully.

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@SigureMo
SigureMo merged commit d3fa2ca into redai-studio:main Oct 1, 2026
8 checks passed
SigureMo added a commit that referenced this pull request Oct 1, 2026
## What

<!-- What changes does this PR introduce? -->

通过独立欢迎 action 提供可展开的贡献入口和日常 CI 指令,并在中英文贡献指南中补充指令表与 target 表。

## Why

<!-- Why are these changes needed? Link related issues with "Fixes #123"
or "Relates to #456". -->

让贡献者直接找到需要的操作说明,维护配置和豁免细节由 agent skill 承载。

## How

<!-- How do the changes work? Describe the technical approach. -->

- 双语欢迎模板保留贡献、CI 两个可展开区域,链接到贡献指南的 CI 章节。
- `WELCOME_BOT_TOKEN` 仅用于欢迎发布;`WELCOME_BOT_LOGIN` 必须显式配置,workflow 与
action 均无账号默认值。发布前校验配置与 token 所属账号,分页去重,在默认分支加载发布代码。
- 在 #302 整理后的中英文贡献指南中新增 CI 章节,放在完整的 PR 描述示例之后、交流与反馈之前,并从创建 PR 步骤链接到 CI
章节。先解释 target 命名,再列出 target 表;表中统一使用 `workflow` / `workflow/job` 命名,补充
`/rerun ci`、`/rerun ci/pre-commit` 与 `all` 的范围示例,并明确取消只接受 workflow。
- 移除独立 CI 页面及侧栏入口;公开欢迎、帮助和贡献指南不展示 bypass 或维护配置。
- 给 agent 的 skill 入口由下一层 #396 放在模板的 HTML 注释中。

原生 gh-stack 第 4/6 层,base 为 #394。

## Testing

<!-- How were the changes tested? Include commands, test results, or
screenshots. -->

全量 pre-commit 和 actionlint 已通过。VitePress 构建、欢迎模板内容检查及 skill
参考链接检查通过;构建仅有既有旧文档链接警告。欢迎 action 冒烟检查覆盖缺失账号、账号不匹配、显式配置账号及重复评论去重。中英文
target 表已逐项核对共享配置,新命名后的 VitePress 构建通过。

未在本地运行 `pytest tests/` 或 GPU/NPU 训练:本次涉及 CI 自动化与文档。欢迎/评论指令的真实 GitHub
交互需进入默认分支后验证。

- [x] `pre-commit run --all-files` passes
- [ ] Tests pass (`pytest tests/`)
- [ ] New tests added (if applicable)
- [x] Documentation updated (if applicable)

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Refactoring (no functional changes)
- [ ] Performance improvement
- [x] CI/CD or build changes

## Screenshots / Logs

<!-- If applicable, add screenshots or log output to help explain the
changes. -->

<div align="right">
<sup>This PR is co-authored with @codex (gpt-6-astra, reasoning:
xhigh).</sup>
</div>

---------

Co-authored-by: Codex <[email protected]>
Co-authored-by: Ryan <[email protected]>
Mukayi added a commit to Mukayi/Relax that referenced this pull request Oct 4, 2026
…er-profiler

Brings in upstream/main 99a0b6a..653c43c (redai-studio#302, redai-studio#392-redai-studio#396, redai-studio#398, redai-studio#401,
redai-studio#403, redai-studio#405).

The only conflict is the guide sidebar in docs/.vitepress/config.mts:
redai-studio#398 reformatted it with oxfmt (trailing commas, long entries split), and
this branch adds the "Straggler Analysis" / "Straggler 分析" entries next
to the same lines. Resolved by taking upstream's formatting and keeping
the two straggler entries in their previous position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants