/update: the bot is refused on contributors' forks (worked on the owner's fork), and it doesn't log why
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
Start with the /update workflow code and run 39116506769 to find where the update-branch API response is handled; add failure status and message logging without secrets. Reproduce the request on a contributor fork and compare it with the successful maintainer call. Update CONTRIBUTING.md and docs/AGENT_WORKFLOW.md to describe the confirmed behavior; done when the cause is confirmed and the docs match.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to #472 (#464).
During its pre-merge test, /update could update a branch in itsskofficial/Sentient, the repo owner's own fork. On the first real use, on #407 from syedmustafan/Sentient with "Allow edits by maintainers" on, PUT /pulls/{n}/update-branch with the workflow token was refused. The fallback worked as designed: the button hint plus the needs update label. A maintainer then ran the same API call with their own credentials and it succeeded.
So the built-in GITHUB_TOKEN probably can't push to forks owned by other people. It only worked on the admin's own fork. The run log (run 39116506769) also doesn't show the status or message GitHub returned, so this can't be confirmed from the log.
To do:
- Log the update-branch response status and message (no secrets) whenever it fails.
- Confirm the cause on a contributor fork, and update CONTRIBUTING.md and docs/AGENT_WORKFLOW.md to match. The likely result is that
/updatemerges main on same-repo branches only, and on forks it offers the button and labels the PR for a maintainer. That is fine with our policy, because maintainers handle labelled PRs. - Only if the owner wants it: a GitHub App with contents:write could update fork branches. That needs a setup decision, so don't add new secrets without asking.
- 主要言語
- Python
- スター
- 702
- フォーク
- 113
- 平均マージ
- 5時間 6分
- マージ済み PR(30日)
- 172
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
existence-master/Sentient のほかの issue
-
Telegram/Discord: tapping "Local only" in the /model list should ask too, and "/model Local only no" should cancel対応中かも @bernalalexis-try が今日担当しました。 オープンarea: channels enhancement good first issue priority: P2 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
existence-master/Sentient#457 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area: desktop bug good first issue priority: P2 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
existence-master/Sentient#454 ·
メンテナーはふだん 1 日以内に返信
-
area: desktop bug priority: P2 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
existence-master/Sentient#440 ·
メンテナーはふだん 1 日以内に返信
-
area: desktop bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
existence-master/Sentient#426 ·
メンテナーはふだん 1 日以内に返信
-
area: memory bug flaky
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
existence-master/Sentient#422 ·
メンテナーはふだん 1 日以内に返信
existence-master/Sentient の issue をすべて見る
似ている issue
-
Edit tool converts CRLF files to LF対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
huggingface/tau#774 ·
メンテナーはふだん 1 日以内に返信
-
show ignores the row limit when a column or table name contains "limit"対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
eclipse-score/inc_someip_gateway#356 ·
メンテナーはふだん 2 日以内に返信