Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ci: merge queue runs the full main lane even for docs-only PRs (scope does not classify merge_group)

未关闭
#1,276 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, github-actions

调研方向

Look at the GitHub Actions workflow file that defines the 'scope' classification, likely in .github/workflows/. Understand how it currently checks for docs-only changes on pull_request events. Then examine the merge_group event context to see how the diff can be obtained against its base. The goal is to modify the scope logic to also classify merge_group candidates, so docs-only merges skip heavy lanes like macos-latest. Test by simulating a merge_group run or checking the queue's behavior after changes.

由索引模型根据 Issue 内容生成。

描述

area:ci found-by:critic kind:decision

Found while building the merge queue (#1264, PR #1273). It is out of that PR's scope, so it is filed here rather than folded in.

With the merge queue, every queued PR runs the FULL main lane on merge_group, including docs-only PRs. scope only classifies docs-only changes on pull_request, not on merge_group. The queue's wall time is set by macos / macos-latest running the full suite plus [99i]: about 35 min on main, against 16 on a PR (measured by the #1273 round-1 critic).

Decide: either teach scope to classify the queue candidate's diff against its base on merge_group (so docs-only merges skip the heavy lanes and still report the required checks as success), or accept the cost, since merges are a few a day. Measure the queue wall time over the first week before choosing.

Done when

  • The owner records a decision here: (a) scope classifies the queue candidate's diff against merge_group.base_sha on merge_group, or (b) the cost is accepted. The decision cites the queue wall-time measurement from gh run list -R InauguralSystems/EigenScript --event merge_group --workflow ci.yml --limit 50 --json createdAt,updatedAt. That measurement on 2026-09-27 covered 37 runs from 2026-09-23 to 09-27. The last 15 took 11–23 min, not the 35 min the issue cites: macos-15-intel moved to nightly and the [99i] audit became a grep in #1308.
  • If (a): a docs-only PR (only *.md files) goes through the queue with scope logging code=false on its merge_group run, and every check in .github/required-checks.txt reports success. The run is linked.
  • If (a), planted fault: a queue candidate that touches one non-.md file gets code=true and runs the full lane. The run or a local replay of the detect step on that diff is recorded in the PR.
  • If (b): the issue is closed with the measurement above and the one-line reason.
主要语言
C
星标
3
派生
7
平均合并
4 小时 7 分钟
30 天内合并 PR
112

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

InauguralSystems/EigenScript 的其他 Issue

查看 InauguralSystems/EigenScript 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。