[maintainer-simulation] Runs page fails with unsupported rollout-mode filter after changing the horizon

オープン 初心者向け
#19,959 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
data, frontend

調査の方向性

dashboard/site/src/data/queries/view-payload-compiler.js の592-597行付近で、compileInput がサポートされていない述語でスローする場所から始める。daily-run-counts spec の必須フォールバックを読む。すべてのモードを選択している場合は rollout-mode 述語を削除するか、部分/利用不可の開示を実装して、Runsチャートがクエリ失敗なくレンダリングされるようにする。

索引モデルが issue の本文から書いたものです。

説明

Finding from simulation, not production. Local dashboard, synthetic fixture (36 successful runs, 3 repos).

Summary

After changing the Overview time window to "Last 4 weeks", the Runs page chart shows "This view cannot be shown because its data query failed. Affected source: runs-daily-conclusions. Data query failure: Daily run counts do not support the selected "rollout-mode" filter."

Maintainer impact

Run health is unavailable after a routine horizon change, and the failure is not recoverable from the Runs page.

Affected scenarios

S09 (mobile Runs), S10 (horizon change).

Preconditions

Fresh session, 1440x1000 (also seen at 390x844), server-http local SQLite fixture.

Steps

  1. Open the dashboard and click Runs. The chart renders.
  2. Click Overview.
  3. Click the "Horizon 1 week" button.
  4. Choose "Last 4 weeks" in "Time window".
  5. Click Runs.

Expected / actual

Expected: the Runs chart renders for the new window, or discloses a partial or unavailable state. Actual: the query failure message above. Without step 4 it renders correctly.

Evidence

Artifact files: s09.png, s10-runs-failed.png, results.json.

Source

dashboard/site/src/data/queries/view-payload-compiler.js, around lines 592-597. compileInput throws for any optional predicate on daily-run-counts other than organization, repository, or workflow.

Potential minimal fixes (hypotheses)

  • The window change may leave an optional rollout-mode predicate that selects all modes. Drop it in that case.
  • Otherwise fall back to a supported scope with a partial or unavailable disclosure, as the daily-run-counts spec requires.

Run: https://github.com/githubnext/gh-cao/actions/runs/41023118970
Tested SHA: c2df4eb759ff38e211e3c5cafa849c87c69a45d2

Generated by Dashboard Maintainer Simulation · copilot · auto · ~44 AIC · ⌖ ~1 AIC · ⊞ 10.4K · ◷

  • expires on Nov 13, 2026, 8:08 AM UTC
主要言語
JavaScript
スター
8
フォーク
5
平均マージ
2時間 47分
マージ済み PR(30日)
820

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-cao のほかの issue

githubnext/gh-cao の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。