Skip to content

Generate star history on a dedicated branch - #340

Merged
sparkleMing merged 1 commit into
mainfrom
chore/star-history-action
Jul 13, 2026
Merged

sparkleMing merged 1 commit into
mainfrom
chore/star-history-action

Conversation

@sparkleMing

Copy link
Copy Markdown
Collaborator

Summary

  • replace the broken public Star History embed with a repository-hosted SVG
  • add a scheduled and manually-triggered workflow using the built-in GITHUB_TOKEN
  • publish chart updates to an isolated star-history branch only when star data changes
  • add deterministic SVG generator tests

Test plan

  • PYTHONDONTWRITEBYTECODE=1 python3 .github/scripts/test_generate_star_history.py
  • parse .github/workflows/update-star-history.yml with Ruby YAML
  • git diff --check

Flutter tests were not run because this changes only repository automation and README configuration.

@github-actions

Copy link
Copy Markdown

PR AI Review / PR AI 语义预检

中文

  • 风险等级:高风险
  • 需要人工审核:是
  • 黄金链路影响:可能
  • 置信度:high
  • Workflow run:29233928705

AI 语义预检未得到可解析结果,需要 maintainer 人工审核。

影响范围

  • unknown

黄金链路

  • none
  • 说明:Claude Code Action 未产出结构化 JSON,AI 语义预检结果不可用。

风险项

  • high AI review 结果不可用。证据:Claude Code Action structured_output was empty or invalid.。
    建议:检查 Claude Action 日志和模型网关配置后重新运行 workflow。

测试缺口

  • 未发现新的测试缺口。

English

  • Risk level: HIGH
  • Human review required: YES
  • Golden path impact: POSSIBLE
  • Confidence: high
  • Workflow run: 29233928705

AI semantic review did not return a parseable result; maintainer review is required.

Affected Areas

  • unknown

Golden Path

  • none
  • Rationale: Claude Code Action did not produce structured JSON, so the AI review result is unavailable.

Findings

  • high AI review result unavailable. Evidence: Claude Code Action structured_output was empty or invalid..
    Recommendation: Check Claude Action logs and model gateway configuration, then rerun the workflow.

Test Gaps

  • No new test gap was reported.

AI review is advisory. Maintainers should verify the result before merging.

@github-actions github-actions Bot added ai: high risk AI review classified the PR as high risk golden path impact AI review found possible impact to a core user flow needs human review AI review or policy signals require maintainer review labels Jul 13, 2026
@sparkleMing
sparkleMing merged commit 2025139 into main Jul 13, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

PR Preflight Summary / PR 预检汇总

中文

  • 统一结论:高风险:质量预检通过,但需要 maintainer 人工 review 后手动合并。
  • Policy preflight:高风险。命中 3 条高风险规则,需要 maintainer 人工确认。
  • Flutter quality:通过。Analyzer 和 test baseline 均未发现新增问题。
  • PR head:b152aa0f7590b46c50aceb4c9e372f9c19036063
  • Policy run:29233928693
  • Flutter run:29233928690

English

  • Combined result: High risk: quality passed, but maintainer review is required before manual merge.
  • Policy preflight: HIGH RISK. Found 3 high-risk policy signal(s); maintainer review is required.
  • Flutter quality: PASS. Analyzer and test baselines found no newly introduced issue.
  • PR head: b152aa0f7590b46c50aceb4c9e372f9c19036063
  • Policy run: 29233928693
  • Flutter run: 29233928690
PR Policy Preflight / PR 规则预检

PR Policy Preflight / PR 规则预检

中文

  • 判定:高风险
  • 变更文件数:5
  • 变更行数:317
  • Diff 是否截断:false

规则命中

  • 高风险 github-config .github/scripts/generate_star_history.py: GitHub 配置或 workflow 发生变化。
  • 高风险 github-config .github/scripts/test_generate_star_history.py: GitHub 配置或 workflow 发生变化。
  • 高风险 github-config .github/workflows/update-star-history.yml: GitHub 配置或 workflow 发生变化。

English

  • Decision: HIGH RISK
  • Changed files: 5
  • Changed lines: 317
  • Diff truncated: false

Findings

  • high github-config .github/scripts/generate_star_history.py: GitHub configuration or workflow changed.
  • high github-config .github/scripts/test_generate_star_history.py: GitHub configuration or workflow changed.
  • high github-config .github/workflows/update-star-history.yml: GitHub configuration or workflow changed.
PR Flutter Quality / Flutter 质量预检

PR Flutter Quality / Flutter 质量预检

中文

  • 总体:通过
  • Analyzer baseline:通过
  • Test baseline:通过

English

  • Overall: PASS
  • Analyzer baseline: PASS
  • Test baseline: PASS

Flutter Analyzer Baseline

  • Base issues: 174
  • PR issues: 174
  • New issues: 0

No new analyzer issues introduced by this PR.

Flutter Test Baseline

  • Base failures: 9
  • PR failures: 9
  • New failures: 0

No new Flutter test failures introduced by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai: high risk AI review classified the PR as high risk golden path impact AI review found possible impact to a core user flow needs human review AI review or policy signals require maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant