Skip to content

feat: signed-in GraphQL PR size/Spearman and per-stage Work Item Aging P50/P85 bands - #47

Merged
yyeret merged 2 commits into
mainfrom
feat/stage-aging-and-signed-in-graphql
Nov 24, 2026
Merged

yyeret merged 2 commits into
mainfrom
feat/stage-aging-and-signed-in-graphql

Conversation

@yyeret

@yyeret yyeret commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Signed-in GraphQL PR collection (cloudflare_app.py): Route signed-in /api/analyze requests through GraphQL collect_dashboard_data (with repository_id visibility verification and separate graphql:v1: public cache namespace) so PR additions/deletions (PR size & Spearman correlation), reviews, commits, and timeline events populate on the web app.
  • Per-stage Work Item Aging P50/P85 (issues.py, linear_issues.py): Measure item age from active-work start (first entry into a started Linear stage, excluding Triage/Backlog/Unstarted). Compute per-stage P50 and P85 from items' cumulative active age when exiting each stage (excluding canceled and moves back to backlog/unstarted).
  • Aging Pace Bands UI (index.html, public/index.html): Render per-stage light green (< P50), light yellow (P50–P85), and light red (> P85) background bands, per-stage P50/P85 reference lines, risk-colored item markers, and enriched tooltips.

Validation

  • ruff check . passed
  • pytest --cov --cov-report=term-missing: 489 passed, 90.23% coverage
  • node --test tests/frontend/charts.test.cjs: 4 passed

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feat-stage-aging-and-signed-in-graphql-github-flow-analytics.yuval-yeret.workers.dev (commit 1b214d8)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f2f05c23-github-flow-analytics.yuval-yeret.workers.dev 1b214d8 2026-11-24T01:31:36.563Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c9d449c6-github-flow-analytics.yuval-yeret.workers.dev e6edcc8 2026-11-24T01:28:44.546Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://86257b9c-github-flow-analytics.yuval-yeret.workers.dev 3774b96 2026-11-24T00:37:54.862Z Visit the dashboard ↗

@yyeret
yyeret force-pushed the feat/stage-aging-and-signed-in-graphql branch from e6edcc8 to 1b214d8 Compare November 24, 2026 01:29
@yyeret
yyeret merged commit b974df7 into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant