Skip to content

About

Local, self-hosted dashboard for one GitHub repository: issues, PRs, CI health, test distribution/coverage and open-source operations. Python 3 standard library only - no dependencies, no build step, read-only.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GitHub 项目状态看板

静态 GitHub Pages 看板,展示 Issue、PR、门禁、每日构建、版本验证、UT / ST / E2E、标签化测试及 Node.js / Python 覆盖率(可展开到文件)。总览优先列出需要处理的流水线问题;Issue 与 PR 可在表格和本地看板之间切换;CI、E2E 与 Coverage 可在 main 和长期开发分支之间切换查看。采集由看板仓 GitHub Actions 执行;Bot 负责接收 Webhook 和触发刷新。

用途 数据源 站点
正式 openJiuwen-ai/sciencediscovery https://sciencediscovery.github.io/github-status-board/
测试 ScienceDiscovery/sciencediscovery https://sciencediscovery.github.io/github-status-board-test/

使用

在目标仓 Actions 手动运行 Collect dashboard data,或由 Bot 触发:Issue、PR 新建、重新打开或关闭时立即触发,其余变化每 8 小时随定时刷新一次;看板仓自己每天 UTC 02:17 定时运行一次,作为 Bot 停止触发时的兜底。main 上包含 site/、.sync/ 以外文件改动的推送,也会自动派发一次采集;仅改这两个目录的采集提交不会再次派发。采集提交 site/ 后,Deploy dashboard Pages 发布站点。首次配置见 Actions 采集。

本地快速预览(Python 3.10+,凭据来自环境或已登录的 gh):

python3 publish.py --repo openJiuwen-ai/sciencediscovery
python3 server.py

此兼容命令生成有限近期快照;完整历史由 --incremental 模式基于目标仓自己的 .sync/ 续跑。两种模式不要同时写同一站点。

Coverage 页从源仓 GitHub Actions 产物中读取 node-coverage-summary-* 和 python-coverage-summary-* JSON 摘要,分语言展示整仓汇总、趋势、目录树、路径指标与最近 PR 结果;看板本身不运行测试。页面说明见页面与交互。

文档

文档目录 · 增量同步与历史 · Actions 配置 · 测试报告契约 · GitCode 同步记录 · 页面与交互 · CI 分层历史 · 标签化测试 · 分支线

看板的状态、优先级、迭代、备注与列设置保存在本浏览器,按源仓隔离;可导入/导出字段。浏览器不持有 GitHub 凭据,不连接 Bot,也不写回 GitHub。

验证

PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -v
PYTHONDONTWRITEBYTECODE=1 python3 test/journey-rerun-collection.py
node test/sync-e2e.mjs
node .e2e/node_modules/playwright/cli.js test --config test/playwright.config.cjs

修改功能时同步更新对应文档。测试使用独立临时数据,禁止将 fixture 发布为真实看板数据。

About

Local, self-hosted dashboard for one GitHub repository: issues, PRs, CI health, test distribution/coverage and open-source operations. Python 3 standard library only - no dependencies, no build step, read-only.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages