Skip to content

feat: support release stream baselines#15

Merged
jasonsaayman merged 6 commits into
mainfrom
fix/ensure-correct-version-line-followed
May 18, 2026
Merged

feat: support release stream baselines#15
jasonsaayman merged 6 commits into
mainfrom
fix/ensure-correct-version-line-followed

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented May 18, 2026

Summary

  • Add optional release-stream input and config validation
  • Select npm baselines from configured major release stream while preserving latest behavior by default
  • Update report/comment metadata, docs, tests, and dist bundle

Tests

  • pnpm run lint
  • pnpm run typecheck
  • pnpm test
  • pnpm run build

Summary by cubic

Adds optional release-stream input to select baselines from a specific major stream (e.g., 1.x) instead of npm latest. Reports, PR comments, and outputs now reflect the chosen stream; default behavior is unchanged.

  • New Features

    • Add release-stream (major number). Primary baseline is newest stable in that stream; history stays within the stream. Default still uses npm latest.
    • Reports/comments/docs: JSON adds releaseStream; PR comment baseline and history labels identify the stream; action outputs/README say “selected primary release.” Errors/logs now say “primary release.”
    • Implementation: strict config validation for a non‑negative integer stream; npm resolver filters by major and fails when no matches; action wiring updated; tests added; rebuilt dist; .gitattributes marks generated and archived files; version bumped to 0.1.1.
  • Migration

    • No changes needed. To use a stream, set release-stream: '1' (compares against 1.x).

Written for commit b9469f4. Summary will update on new commits. Review in cubic

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

Bundle Size Report

Compared current build against latest npm release 7.0.0 for is-number.

File Baseline gzip Current gzip Difference Status
index.js 267 B 43 B -224 B (-83.90%) 🟢
Total 267 B 43 B -224 B (-83.90%) 🟢
Historical comparison: latest + 10 previous npm releases
Release Baseline gzip Current gzip Difference Status
7.0.0 latest 267 B 43 B -224 B (-83.90%) 🟢
6.0.0 381 B 43 B -338 B (-88.71%) 🟢
5.0.0 368 B 43 B -325 B (-88.32%) 🟢
4.0.0 336 B 43 B -293 B (-87.20%) 🟢
3.0.0 287 B 43 B -244 B (-85.02%) 🟢
2.1.0 279 B 43 B -236 B (-84.59%) 🟢
2.0.2 279 B 43 B -236 B (-84.59%) 🟢
2.0.1 270 B 43 B -227 B (-84.07%) 🟢
2.0.0 228 B 43 B -185 B (-81.14%) 🟢
1.1.2 233 B 43 B -190 B (-81.55%) 🟢
1.1.1 233 B 43 B -190 B (-81.55%) 🟢

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 21 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread tests/action.test.ts Outdated
@jasonsaayman jasonsaayman self-assigned this May 18, 2026
@jasonsaayman jasonsaayman added commit::feat The PR is related to a feature priority::medium A medium priority labels May 18, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 10 files (changes from recent commits).

Tip: Review your code locally with the cubic CLI to iterate faster.

Re-trigger cubic

Comment thread .gitattributes Outdated
@jasonsaayman jasonsaayman merged commit f15fb81 into main May 18, 2026
7 checks passed
@jasonsaayman jasonsaayman deleted the fix/ensure-correct-version-line-followed branch May 18, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::feat The PR is related to a feature priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant