Skip to content

feat: baseline PR trend line against the base branch#195

Merged
maximn merged 1 commit into
mainfrom
maximn/review-workspace-changes-v1
Jul 7, 2026
Merged

feat: baseline PR trend line against the base branch#195
maximn merged 1 commit into
mainfrom
maximn/review-workspace-changes-v1

Conversation

@maximn

@maximn maximn commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

On pull_request builds, the trend line and the CI-summary/HTML trend blocks now baseline against the compare branch's latest run (default: the PR base branch) instead of the current branch's own rolling history, with all three metrics sharing one consistent baseline. The baseline is labeled in the output (e.g. vs `main`) so it is no longer ambiguous, and a new compare-branch input lets you override which branch to compare against. It falls back to current-branch trends when the compare branch has no history and skips self-compares; docs (README, action.yml, .agents/) are updated to match.

Test plan

  • 754 tests pass (13 new: helper unit tests, renderer label/escape tests, and PR-baseline/override/self-compare integration tests)
  • pnpm typecheck, pnpm lint, pnpm format:check, and pnpm build all green (dist/ left to CI)

On pull_request builds, the trend line and CI-summary/HTML trend blocks now
baseline against the compare branch's latest run instead of the current branch's
own rolling history, and label the baseline (e.g. `vs main`) so it is
unambiguous. All three metrics share one consistent baseline. Add a
`compare-branch` input (defaults to the PR base branch) and skip self-compares.
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

🔬 TestGlance

✅ 758 passed across 1 job — 100.0% · ⏱️ 2.4s

Job Result Pass rate Duration Health
test 758/758 · 100.0% → 2.4s ↓ 95 Run · Report
🟡 test — details

✅ 758 passed
████████████████ 100.0%
⏱️ 2.4s · 🏥 95/100
📈 vs main · Pass rate: 100.0% → (+0.0%) · Duration: 2.4s ↓ (884ms, -27.0%) · Tests: 758 (+13)

Signal Details
🔵 Duration -0.27% vs baseline (2.4s)
🔵 Health Score: 95 → 95

vs main

Metric main PR Delta
Pass rate 100.0% 100.0% +0.0%
Duration 3.3s 2.4s -27.0%

View Run → · 📄 HTML Report


Updated 2026-07-07T20:01:01.889Z

@maximn maximn merged commit 54ea4c4 into main Jul 7, 2026
7 checks passed
@maximn maximn deleted the maximn/review-workspace-changes-v1 branch July 7, 2026 20:04
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